89 lines
3.3 KiB
INI
89 lines
3.3 KiB
INI
|
<?xml version="1.0"?>
|
||
|
<def format="2">
|
||
|
<!-- cairo Library Configuration https://www.cairographics.org/ -->
|
||
|
<!-- The cairo library is typically included by "#include <cairo.h>" -->
|
||
|
<!-- ########## cairo Types ########## -->
|
||
|
<define name="cairo_bool_t" value="int"/>
|
||
|
<!-- TODO: Configure cairo_status_t as an enum when this is implemented in Cppcheck -->
|
||
|
<podtype name="cairo_status_t"/>
|
||
|
<!-- ########## cairo Macros / Defines ########## -->
|
||
|
<define name="CAIRO_HAS_MIME_SURFACE" value="1"/>
|
||
|
<define name="CAIRO_MIME_TYPE_CCITT_FAX" value=""image/g3fax""/>
|
||
|
<define name="CAIRO_MIME_TYPE_CCITT_FAX_PARAMS" value=""application/x-cairo.ccitt.params""/>
|
||
|
<define name="CAIRO_MIME_TYPE_EPS" value=""application/postscript""/>
|
||
|
<define name="CAIRO_MIME_TYPE_EPS_PARAMS" value=""application/x-cairo.eps.params""/>
|
||
|
<define name="CAIRO_MIME_TYPE_JBIG2" value=""application/x-cairo.jbig2""/>
|
||
|
<define name="CAIRO_MIME_TYPE_JBIG2_GLOBAL" value=""application/x-cairo.jbig2-global""/>
|
||
|
<define name="CAIRO_MIME_TYPE_JBIG2_GLOBAL_ID" value=""application/x-cairo.jbig2-global-id""/>
|
||
|
<define name="CAIRO_MIME_TYPE_JP2" value=""image/jp2""/>
|
||
|
<define name="CAIRO_MIME_TYPE_JPEG" value=""image/jpeg""/>
|
||
|
<define name="CAIRO_MIME_TYPE_PNG" value=""image/png""/>
|
||
|
<define name="CAIRO_MIME_TYPE_URI" value=""text/x-uri""/>
|
||
|
<define name="CAIRO_MIME_TYPE_UNIQUE_ID" value=""application/x-cairo.uuid""/>
|
||
|
<!-- ########## cairo Allocation / Deallocation ########## -->
|
||
|
<!-- ########## cairo Functions ########## -->
|
||
|
<!-- cairo_t * cairo_create (cairo_surface_t *target); -->
|
||
|
<function name="cairo_create">
|
||
|
<noreturn>false</noreturn>
|
||
|
<returnValue type="cairo_t *"/>
|
||
|
<use-retval/>
|
||
|
<arg nr="1">
|
||
|
<not-uninit/>
|
||
|
<not-bool/>
|
||
|
</arg>
|
||
|
</function>
|
||
|
<!-- void cairo_destroy (cairo_t *cr); -->
|
||
|
<function name="cairo_destroy">
|
||
|
<noreturn>false</noreturn>
|
||
|
<returnValue type="void"/>
|
||
|
<arg nr="1">
|
||
|
<not-uninit/>
|
||
|
<not-bool/>
|
||
|
</arg>
|
||
|
</function>
|
||
|
<!-- void cairo_line_to (cairo_t *cr, double x, double y); -->
|
||
|
<!-- void cairo_move_to (cairo_t *cr, double x, double y); -->
|
||
|
<function name="cairo_line_to,cairo_move_to">
|
||
|
<noreturn>false</noreturn>
|
||
|
<returnValue type="void"/>
|
||
|
<leak-ignore/>
|
||
|
<arg nr="1">
|
||
|
<not-uninit/>
|
||
|
</arg>
|
||
|
<arg nr="2" direction="in">
|
||
|
<not-uninit/>
|
||
|
</arg>
|
||
|
<arg nr="3" direction="in">
|
||
|
<not-uninit/>
|
||
|
</arg>
|
||
|
</function>
|
||
|
<!-- cairo_status_t cairo_status (cairo_t *cr); -->
|
||
|
<function name="cairo_status">
|
||
|
<noreturn>false</noreturn>
|
||
|
<returnValue type="cairo_status_t"/>
|
||
|
<use-retval/>
|
||
|
<arg nr="1">
|
||
|
<not-uninit/>
|
||
|
</arg>
|
||
|
</function>
|
||
|
<!-- const char * cairo_status_to_string (cairo_status_t status); -->
|
||
|
<function name="cairo_status_to_string">
|
||
|
<noreturn>false</noreturn>
|
||
|
<returnValue type="const char *"/>
|
||
|
<use-retval/>
|
||
|
<arg nr="1" direction="in">
|
||
|
<not-uninit/>
|
||
|
<not-bool/>
|
||
|
</arg>
|
||
|
</function>
|
||
|
<!-- void cairo_stroke (cairo_t *cr); -->
|
||
|
<function name="cairo_stroke">
|
||
|
<noreturn>false</noreturn>
|
||
|
<returnValue type="void"/>
|
||
|
<leak-ignore/>
|
||
|
<arg nr="1">
|
||
|
<not-uninit/>
|
||
|
</arg>
|
||
|
</function>
|
||
|
</def>
|