Extensions for cairo Graphics Library -- .NET 8+ wrapper
$ dotnet add package gfoidl.CairoSharp.ExtensionsProvides some common extensions like drawing shapes, and other helpful1 stuff for CairoSharp.
Loading of FreeType fonts either from
| Type | Font |
|---|---|
SansSerif | Helvetica |
Serif | DejaVu Serif |
MonoSpace | Inconsolata |
These fonts are available in regular, bold, italic, and bold+italic.
Support for PangoLayout is given, but not the whole Pango API is implemented.
See ReadMe in Pango for further information.
PDF, and SVG can be parsed and the drawing loading into a cairo context, for further use.
See ReadMe in loading for further details.
Extension methods for ImageSurface to allow easy and fast operation on the pixel data.
The following color spaces are available:
Color struct as used in cairo)There are also methods to convert between these color spaces. See Colors for further information.
Are based on the color in System.Drawing which are equal to the web named colors (and they are equal to the SVG named colors). See known_colors.svg for an image that uses all these colors.
See Color maps for information.
at least for me :wink: ↩