mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-26 05:25:34 +00:00
27b71b1982
* cairo/cairo-api.xml: add the Content enum type and fix surface symbol. * gdk/gdk-sharp.dll.config.in: s/3.0/3/ on the so name. * sample/Makefile.am: enable scribble.exe build * sample/Scribble.cs: rewrite for new API, specifically replace pixmap drawing usage with cairo, and use OnDrawn in place of OnExposeEvent. Also Made it a subclass of DrawingArea instead of handling events.
11 lines
515 B
XML
11 lines
515 B
XML
<?xml version="1.0"?>
|
|
<api>
|
|
<namespace name="Cairo">
|
|
<enum cname="cairo_content_t" name="Content" type="enum" />
|
|
</namespace>
|
|
<symbol type="manual" cname="cairo_t" name="Cairo.Context"/>
|
|
<symbol type="manual" cname="cairo_font_options_t" name="Cairo.FontOptions"/>
|
|
<symbol type="manual" cname="cairo_region_t" name="Cairo.Region"/>
|
|
<symbol type="marshal" cname="cairo_surface_t" name="Cairo.Surface" marshal_type="IntPtr" call_fmt="{0}.Handle" from_fmt="Cairo.Surface.LookupSurface ({0})" />
|
|
</api>
|