
The Document or the Pages can then be exported to a standard file format using the VectSharp “output layers”: for example, VectSharp.PDF can be used to produce PDF documents, or VectSharp.SVG to create SVG images.

The VectSharp NuGet package contains these classes, as well as methods that make it possible to draw on this abstract Graphics surface. Each Page object has a Size, and a Graphics surface that on which the contents of the page are drawn. The “top-level” unit in VectSharp is the Document object, which is simply a collection of Page objects. You can find the source code for VectSharp in the VectSharp GitHub repository. You can also access the detailed API documentation from here, or download it as a PDF file. This website contains a number of examples and tutorials to help you get started using VectSharp. VectSharp is a library to create vector graphics (including text) in C#, without too many dependencies. Among these there is an open source one named Clutter for GUI design and used in serious game design there is scaleform (Not Open Source).VectSharp: a light library for C# vector graphics There are way higher level libraries which integrate APIs for vector graphics. But for some platforms only commercial solutions will be available.

Mesa 3D also seems to have an OpenVG implementation. There are multiple ports of OpenVG over software OpenGL and OpenGL ES renderers. Not a high level API - and I'm not sure what are the odds it will suit you - but there is the standard OpenVG. Lower level you'll find Libxmi and Libart from the gnome project. OpenFrameworks has support for vector graphics.Ī very big library which has some vector graphics support - and a language dedicated to it - is ImageMagick. So you might find something of interest within the ones that are cross platform like QT.Īn equivalent of cairo would be AntiGrain You might want to compare the performance. Didn't find anything that suited me really at the time.īut a few pointers from what I remember: each GUI system has some form of drawing API. I had a constraint as I needed the engine to run on iOS and Android. I was looking into the subject a few months ago.

I fear the subject is quite tricky, few multi platform solutions seem to have launched, and even fewer seem to have survived on their own.
