Class LinuxUtils.CairoNative
Contains P/Invoke signatures for the native Cairo graphics library used on Linux.
public static class LinuxUtils.CairoNative
- Inheritance
-
LinuxUtils.CairoNative
Fields
- CAIROFORMATARGB32
Represents the native constant
CAIRO_FORMAT_ARGB32(value 0).
Methods
- cairo_create(nint)
Creates a new
cairo_tdrawing context for the given target surface.
- cairo_destroy(nint)
Destroys a Cairo drawing context (
cairo_t) and frees associated resources.
- cairo_get_target(nint)
Returns the target surface associated with the given Cairo drawing context.
- cairo_image_surface_create_for_data(nint, int, int, int, int)
Creates an image surface that uses the provided pixel buffer as its backing store.
- cairo_image_surface_get_height(nint)
Gets the height, in pixels, of the specified Cairo image surface.
- cairo_image_surface_get_width(nint)
Gets the width, in pixels, of the specified Cairo image surface.
- cairo_paint(nint)
Paints the current source everywhere within the current clip region of the given Cairo context.
- cairo_set_source_surface(nint, nint, double, double)
Sets the specified surface as the source pattern for the given Cairo context at (x, y).
- cairo_surface_destroy(nint)
Destroys a Cairo surface and frees associated resources.
- cairo_surface_flush(nint)
Flushes any pending drawing operations for the specified surface and synchronizes the surface contents with its memory buffer.
- cairo_version()
Retrieves the version number of the Cairo graphics library.