mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-25 15:45:40 +00:00
622c360576
a constructor or a ref, unref, or destroy method, then it must be a reference type, so mark it "opaque" but then also mark all of its fields public and writable. * */*-api*.raw: Regen * generator/Parser.cs (ParseNamespace): make the opaque attribute check actually look at the value of the attribute rather than just checking if it's there, so that you can change a struct's opaque attribute from "true" to "false" via metadata and have that work. * generator/BoxedGen.cs (Generate): do not generate the boxed's "Free" method (since it's guaranteed to crash when we pass it a stack pointer). If "Copy" is marked deprecated, create a deprecated no-op for it, otherwise just skip it (since otherwise it will just leak memory when we copy its result onto the stack). * pango/Pango.metadata: deprecate Pango.Color.Copy and Pango.Matrix.Copy. Hide some array fields in Pango.GlyphString that we've never generated correctly. Tweak Pango.LayoutLine fields to be the same as they used to be. * pango/GlyphItem.custom (glyphs, item): * pango/GlyphString.custom (Zero, New): * pango/Item.custom (Zero, New): * pango/LayoutRun.custom (glyphs, item): add deprecated API compat * gdk/Gdk.metadata: undo the parser's new opaquification of Gdk.Font; it's been deprecated since pre-gtk# times, and no one should be using it, so there's no point in fixing it now. Fix up a few other things to match how they used to be. Fix RgbCmap's constructor args. * gdk/RgbCmap.custom (Zero, New): deprecated API compat * gdk/PangoAttrEmbossed.custom: * gdk/PangoAttrStipple.custom (Zero, New, Attr): deprecated API compat (explicit operator ...): allow casting back and forth between Pango.Attribute. (We can't usefully make them real subclasses of Pango.Attribute, because there's no way for Pango.Attribute.GetAttribute() to be able to dtrt with them.) * gtk/Gtk.metadata: deprecate Gtk.Requisition.Copy, Gtk.TextIter.Copy, and Gtk.TreeIter.Copy. Mark the return value of TextView.DefaultAttributes as "owned". Mark TargetList's fields private so it stays how it used to be. * gtk/TextAttributes.custom (Zero, New): deprecated API compat * gnomevfs/Gnomevfs.metadata: remove a bunch of opaque declarations that the parser figures out on its own now. * art/Art.metadata: * glade/Glade.metadata: * rsvg/Rsvg.metadata: un-mark everything the parser marked opaque in these libraries, because all of the structs in question would still be unusably broken, so the API churn would be pointless. svn path=/trunk/gtk-sharp/; revision=48387
687 lines
29 KiB
Plaintext
687 lines
29 KiB
Plaintext
<?xml version="1.0"?>
|
|
<api>
|
|
<!--
|
|
|
|
This file was automatically generated.
|
|
Please DO NOT MODIFY THIS FILE, modify .metadata files instead.
|
|
|
|
-->
|
|
<namespace name="Rsvg" library="rsvg-2">
|
|
<enum name="DefType" cname="RsvgDefType" type="enum">
|
|
<member cname="RSVG_DEF_LINGRAD" name="Lingrad" />
|
|
<member cname="RSVG_DEF_RADGRAD" name="Radgrad" />
|
|
<member cname="RSVG_DEF_PATTERN" name="Pattern" />
|
|
<member cname="RSVG_DEF_PATH" name="Path" />
|
|
</enum>
|
|
<enum name="Error" cname="RsvgError" type="enum">
|
|
<member cname="RSVG_ERROR_FAILED" name="Failed" />
|
|
</enum>
|
|
<enum name="TextAnchor" cname="TextAnchor" type="enum">
|
|
<member cname="TEXT_ANCHOR_START" name="Start" />
|
|
<member cname="TEXT_ANCHOR_MIDDLE" name="Middle" />
|
|
<member cname="TEXT_ANCHOR_END" name="End" />
|
|
</enum>
|
|
<callback name="SizeFunc" cname="RsvgSizeFunc">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="gint*" name="width" />
|
|
<parameter type="gint*" name="height" />
|
|
<parameter type="gpointer" name="user_data" />
|
|
</parameters>
|
|
</callback>
|
|
<struct name="BpathDef" cname="RsvgBpathDef" opaque="true">
|
|
<field name="Bpath" cname="bpath" type="ArtBpath*" access="public" writeable="true" />
|
|
<field name="NBpath" cname="n_bpath" type="int" access="public" writeable="true" />
|
|
<field name="NBpathMax" cname="n_bpath_max" type="int" access="public" writeable="true" />
|
|
<field name="MovetoIdx" cname="moveto_idx" type="int" access="public" writeable="true" />
|
|
<method name="ArtFinish" cname="rsvg_bpath_def_art_finish">
|
|
<return-type type="void" />
|
|
</method>
|
|
<method name="Closepath" cname="rsvg_bpath_def_closepath">
|
|
<return-type type="void" />
|
|
</method>
|
|
<method name="Curveto" cname="rsvg_bpath_def_curveto">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="double" name="x1" />
|
|
<parameter type="double" name="y1" />
|
|
<parameter type="double" name="x2" />
|
|
<parameter type="double" name="y2" />
|
|
<parameter type="double" name="x3" />
|
|
<parameter type="double" name="y3" />
|
|
</parameters>
|
|
</method>
|
|
<method name="Free" cname="rsvg_bpath_def_free">
|
|
<return-type type="void" />
|
|
</method>
|
|
<method name="Lineto" cname="rsvg_bpath_def_lineto">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="double" name="x" />
|
|
<parameter type="double" name="y" />
|
|
</parameters>
|
|
</method>
|
|
<method name="Moveto" cname="rsvg_bpath_def_moveto">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="double" name="x" />
|
|
<parameter type="double" name="y" />
|
|
</parameters>
|
|
</method>
|
|
<constructor cname="rsvg_bpath_def_new" />
|
|
<constructor cname="rsvg_bpath_def_new_from">
|
|
<parameters>
|
|
<parameter type="ArtBpath*" name="bpath" />
|
|
</parameters>
|
|
</constructor>
|
|
</struct>
|
|
<struct name="DefVal" cname="RsvgDefVal">
|
|
<field name="Type" cname="type" type="RsvgDefType" />
|
|
<callback cname="free">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="RsvgDefVal*" name="self" />
|
|
</parameters>
|
|
</callback>
|
|
</struct>
|
|
<struct name="Defs" cname="RsvgDefs" opaque="true">
|
|
<method name="Free" cname="rsvg_defs_free">
|
|
<return-type type="void" />
|
|
</method>
|
|
<method name="Lookup" cname="rsvg_defs_lookup">
|
|
<return-type type="RsvgDefVal*" />
|
|
<parameters>
|
|
<parameter type="const-char*" name="name" />
|
|
</parameters>
|
|
</method>
|
|
<constructor cname="rsvg_defs_new" />
|
|
<method name="Set" cname="rsvg_defs_set">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="const-char*" name="name" />
|
|
<parameter type="RsvgDefVal*" name="val" />
|
|
</parameters>
|
|
</method>
|
|
</struct>
|
|
<struct name="GradientStop" cname="RsvgGradientStop">
|
|
<field name="Offset" cname="offset" type="double" />
|
|
<field name="Rgba" cname="rgba" type="guint32" />
|
|
</struct>
|
|
<struct name="GradientStops" cname="RsvgGradientStops">
|
|
<field name="NStop" cname="n_stop" type="int" />
|
|
<field name="Stop" cname="stop" type="RsvgGradientStop*" />
|
|
</struct>
|
|
<struct name="Handle" cname="RsvgHandle" opaque="true">
|
|
<method name="Close" cname="rsvg_handle_close">
|
|
<return-type type="gboolean" />
|
|
<parameters>
|
|
<parameter type="GError**" name="error" />
|
|
</parameters>
|
|
</method>
|
|
<method name="Free" cname="rsvg_handle_free">
|
|
<return-type type="void" />
|
|
</method>
|
|
<method name="GetDesc" cname="rsvg_handle_get_desc">
|
|
<return-type type="const-char*" />
|
|
</method>
|
|
<method name="GetPixbuf" cname="rsvg_handle_get_pixbuf">
|
|
<return-type type="GdkPixbuf*" />
|
|
</method>
|
|
<method name="GetTitle" cname="rsvg_handle_get_title">
|
|
<return-type type="const-char*" />
|
|
</method>
|
|
<constructor cname="rsvg_handle_new" />
|
|
<constructor cname="rsvg_handle_new_gz" />
|
|
<method name="Path" cname="rsvg_handle_path">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="const-char*" name="d" />
|
|
<parameter type="const-char*" name="id" />
|
|
</parameters>
|
|
</method>
|
|
<method name="SetDpi" cname="rsvg_handle_set_dpi">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="double" name="dpi" />
|
|
</parameters>
|
|
</method>
|
|
<method name="SetSizeCallback" cname="rsvg_handle_set_size_callback">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="RsvgSizeFunc" name="size_func" />
|
|
<parameter type="gpointer" name="user_data" />
|
|
<parameter type="GDestroyNotify" name="user_data_destroy" />
|
|
</parameters>
|
|
</method>
|
|
<method name="Write" cname="rsvg_handle_write">
|
|
<return-type type="gboolean" />
|
|
<parameters>
|
|
<parameter type="const-guchar*" name="buf" />
|
|
<parameter type="gsize" name="count" />
|
|
<parameter type="GError**" name="error" />
|
|
</parameters>
|
|
</method>
|
|
</struct>
|
|
<struct name="LinearGradient" cname="RsvgLinearGradient">
|
|
<field name="Super" cname="super" type="RsvgDefVal" />
|
|
<field name="ObjBbox" cname="obj_bbox" type="gboolean" />
|
|
<field name="Affine" cname="affine" array_len="6" type="double" />
|
|
<field name="Stops" cname="stops" type="RsvgGradientStops*" />
|
|
<field name="Spread" cname="spread" type="ArtGradientSpread" />
|
|
<field name="X1" cname="x1" type="double" />
|
|
<field name="Y1" cname="y1" type="double" />
|
|
<field name="X2" cname="x2" type="double" />
|
|
<field name="Y2" cname="y2" type="double" />
|
|
</struct>
|
|
<struct name="PSCtx" cname="RsvgPSCtx">
|
|
<field name="X0" cname="x0" type="int" />
|
|
<field name="Y0" cname="y0" type="int" />
|
|
<field name="X1" cname="x1" type="int" />
|
|
<field name="Y1" cname="y1" type="int" />
|
|
<field name="Affine" cname="affine" array_len="6" type="double" />
|
|
</struct>
|
|
<struct name="PaintServer" cname="RsvgPaintServer" opaque="true">
|
|
<method name="Parse" cname="rsvg_paint_server_parse" shared="true">
|
|
<return-type type="RsvgPaintServer*" />
|
|
<parameters>
|
|
<parameter type="const-RsvgDefs*" name="defs" />
|
|
<parameter type="const-char*" name="str" />
|
|
</parameters>
|
|
</method>
|
|
<method name="Ref" cname="rsvg_paint_server_ref">
|
|
<return-type type="void" />
|
|
</method>
|
|
<method name="Unref" cname="rsvg_paint_server_unref">
|
|
<return-type type="void" />
|
|
</method>
|
|
</struct>
|
|
<struct name="RadialGradient" cname="RsvgRadialGradient">
|
|
<field name="Super" cname="super" type="RsvgDefVal" />
|
|
<field name="ObjBbox" cname="obj_bbox" type="gboolean" />
|
|
<field name="Affine" cname="affine" array_len="6" type="double" />
|
|
<field name="Stops" cname="stops" type="RsvgGradientStops*" />
|
|
<field name="Spread" cname="spread" type="ArtGradientSpread" />
|
|
<field name="Cx" cname="cx" type="double" />
|
|
<field name="Cy" cname="cy" type="double" />
|
|
<field name="R" cname="r" type="double" />
|
|
<field name="Fx" cname="fx" type="double" />
|
|
<field name="Fy" cname="fy" type="double" />
|
|
</struct>
|
|
<struct name="State" cname="RsvgState">
|
|
<field name="Affine" cname="affine" array_len="6" type="double" />
|
|
<field name="Opacity" cname="opacity" type="gint" />
|
|
<field name="Fill" cname="fill" type="RsvgPaintServer*" />
|
|
<field name="FillOpacity" cname="fill_opacity" type="gint" />
|
|
<field name="FillRule" cname="fill_rule" type="gint" />
|
|
<field name="Stroke" cname="stroke" type="RsvgPaintServer*" />
|
|
<field name="StrokeOpacity" cname="stroke_opacity" type="gint" />
|
|
<field name="StrokeWidth" cname="stroke_width" type="double" />
|
|
<field name="MiterLimit" cname="miter_limit" type="double" />
|
|
<field name="Cap" cname="cap" type="ArtPathStrokeCapType" />
|
|
<field name="Join" cname="join" type="ArtPathStrokeJoinType" />
|
|
<field name="FontSize" cname="font_size" type="double" />
|
|
<field name="FontFamily" cname="font_family" type="char*" />
|
|
<field name="Lang" cname="lang" type="char*" />
|
|
<field name="FontStyle" cname="font_style" type="PangoStyle" />
|
|
<field name="FontVariant" cname="font_variant" type="PangoVariant" />
|
|
<field name="FontWeight" cname="font_weight" type="PangoWeight" />
|
|
<field name="FontStretch" cname="font_stretch" type="PangoStretch" />
|
|
<field name="FontDecor" cname="font_decor" type="TextDecoration" />
|
|
<field name="TextDir" cname="text_dir" type="PangoDirection" />
|
|
<field name="TextAnchor" cname="text_anchor" type="TextAnchor" />
|
|
<field name="TextOffset" cname="text_offset" type="guint" />
|
|
<field name="StopColor" cname="stop_color" type="guint32" />
|
|
<field name="StopOpacity" cname="stop_opacity" type="gint" />
|
|
<field name="Visible" cname="visible" type="gboolean" />
|
|
<field name="Dash" cname="dash" type="ArtVpathDash" />
|
|
<field name="SavePixbuf" cname="save_pixbuf" type="GdkPixbuf*" />
|
|
<method name="Clone" cname="rsvg_state_clone">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="const-RsvgState*" name="src" />
|
|
</parameters>
|
|
</method>
|
|
<method name="Current" cname="rsvg_state_current" shared="true">
|
|
<return-type type="RsvgState*" />
|
|
<parameters>
|
|
<parameter type="RsvgHandle*" name="ctx" />
|
|
</parameters>
|
|
</method>
|
|
<method name="Finalize" cname="rsvg_state_finalize">
|
|
<return-type type="void" />
|
|
</method>
|
|
<method name="Init" cname="rsvg_state_init">
|
|
<return-type type="void" />
|
|
</method>
|
|
</struct>
|
|
<alias name="TextDecoration" cname="TextDecoration" type="int" />
|
|
<class name="Clone" cname="RsvgClone_">
|
|
<method name="LinearGradient" cname="rsvg_clone_linear_gradient" shared="true">
|
|
<return-type type="RsvgLinearGradient*" />
|
|
<parameters>
|
|
<parameter type="const-RsvgLinearGradient*" name="grad" />
|
|
<parameter type="gboolean*" name="shallow_cloned" />
|
|
</parameters>
|
|
</method>
|
|
<method name="RadialGradient" cname="rsvg_clone_radial_gradient" shared="true">
|
|
<return-type type="RsvgRadialGradient*" />
|
|
<parameters>
|
|
<parameter type="const-RsvgRadialGradient*" name="grad" />
|
|
<parameter type="gboolean*" name="shallow_cloned" />
|
|
</parameters>
|
|
</method>
|
|
</class>
|
|
<class name="Css" cname="RsvgCss_">
|
|
<method name="ParamArgOffset" cname="rsvg_css_param_arg_offset" shared="true">
|
|
<return-type type="int" />
|
|
<parameters>
|
|
<parameter type="const-char*" name="str" />
|
|
</parameters>
|
|
</method>
|
|
<method name="ParamMatch" cname="rsvg_css_param_match" shared="true">
|
|
<return-type type="gboolean" />
|
|
<parameters>
|
|
<parameter type="const-char*" name="str" />
|
|
<parameter type="const-char*" name="param_name" />
|
|
</parameters>
|
|
</method>
|
|
<method name="ParseAngle" cname="rsvg_css_parse_angle" shared="true">
|
|
<return-type type="double" />
|
|
<parameters>
|
|
<parameter type="const-char*" name="str" />
|
|
</parameters>
|
|
</method>
|
|
<method name="ParseColor" cname="rsvg_css_parse_color" shared="true">
|
|
<return-type type="guint32" />
|
|
<parameters>
|
|
<parameter type="const-char*" name="str" />
|
|
</parameters>
|
|
</method>
|
|
<method name="ParseFontFamily" cname="rsvg_css_parse_font_family" shared="true">
|
|
<return-type type="const-char*" />
|
|
<parameters>
|
|
<parameter type="const-char*" name="str" />
|
|
<parameter type="const-char*" name="inherit" />
|
|
</parameters>
|
|
</method>
|
|
<method name="ParseFontStretch" cname="rsvg_css_parse_font_stretch" shared="true">
|
|
<return-type type="PangoStretch" />
|
|
<parameters>
|
|
<parameter type="const-char*" name="str" />
|
|
<parameter type="PangoStretch" name="inherit" />
|
|
</parameters>
|
|
</method>
|
|
<method name="ParseFontStyle" cname="rsvg_css_parse_font_style" shared="true">
|
|
<return-type type="PangoStyle" />
|
|
<parameters>
|
|
<parameter type="const-char*" name="str" />
|
|
<parameter type="PangoStyle" name="inherit" />
|
|
</parameters>
|
|
</method>
|
|
<method name="ParseFontVariant" cname="rsvg_css_parse_font_variant" shared="true">
|
|
<return-type type="PangoVariant" />
|
|
<parameters>
|
|
<parameter type="const-char*" name="str" />
|
|
<parameter type="PangoVariant" name="inherit" />
|
|
</parameters>
|
|
</method>
|
|
<method name="ParseFontWeight" cname="rsvg_css_parse_font_weight" shared="true">
|
|
<return-type type="PangoWeight" />
|
|
<parameters>
|
|
<parameter type="const-char*" name="str" />
|
|
<parameter type="PangoWeight" name="inherit" />
|
|
</parameters>
|
|
</method>
|
|
<method name="ParseFrequency" cname="rsvg_css_parse_frequency" shared="true">
|
|
<return-type type="double" />
|
|
<parameters>
|
|
<parameter type="const-char*" name="str" />
|
|
</parameters>
|
|
</method>
|
|
<method name="ParseLength" cname="rsvg_css_parse_length" shared="true">
|
|
<return-type type="double" />
|
|
<parameters>
|
|
<parameter type="const-char*" name="str" />
|
|
<parameter type="gdouble" name="pixels_per_inch" />
|
|
<parameter type="gint*" name="percent" />
|
|
<parameter type="gint*" name="em" />
|
|
<parameter type="gint*" name="ex" />
|
|
</parameters>
|
|
</method>
|
|
<method name="ParseList" cname="rsvg_css_parse_list" shared="true">
|
|
<return-type type="gchar**" />
|
|
<parameters>
|
|
<parameter type="const-char*" name="in_str" />
|
|
<parameter type="guint*" name="out_list_len" />
|
|
</parameters>
|
|
</method>
|
|
<method name="ParseNormalizedLength" cname="rsvg_css_parse_normalized_length" shared="true">
|
|
<return-type type="double" />
|
|
<parameters>
|
|
<parameter type="const-char*" name="str" />
|
|
<parameter type="gdouble" name="pixels_per_inch" />
|
|
<parameter type="gdouble" name="width_or_height" />
|
|
<parameter type="gdouble" name="font_size" />
|
|
</parameters>
|
|
</method>
|
|
<method name="ParseNumberOptionalNumber" cname="rsvg_css_parse_number_optional_number" shared="true">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="const-char*" name="str" />
|
|
<parameter type="double*" name="x" />
|
|
<parameter type="double*" name="y" />
|
|
</parameters>
|
|
</method>
|
|
<method name="ParseOpacity" cname="rsvg_css_parse_opacity" shared="true">
|
|
<return-type type="guint" />
|
|
<parameters>
|
|
<parameter type="const-char*" name="str" />
|
|
</parameters>
|
|
</method>
|
|
<method name="ParseTime" cname="rsvg_css_parse_time" shared="true">
|
|
<return-type type="double" />
|
|
<parameters>
|
|
<parameter type="const-char*" name="str" />
|
|
</parameters>
|
|
</method>
|
|
<method name="ParseVbox" cname="rsvg_css_parse_vbox" shared="true">
|
|
<return-type type="gboolean" />
|
|
<parameters>
|
|
<parameter type="const-char*" name="vbox" />
|
|
<parameter type="double*" name="x" />
|
|
<parameter type="double*" name="y" />
|
|
<parameter type="double*" name="w" />
|
|
<parameter type="double*" name="h" />
|
|
</parameters>
|
|
</method>
|
|
</class>
|
|
<class name="Global" cname="RsvgGlobal">
|
|
<method name="ErrorQuark" cname="rsvg_error_quark" shared="true">
|
|
<return-type type="GQuark" />
|
|
</method>
|
|
<method name="IsStyleArg" cname="rsvg_is_style_arg" shared="true">
|
|
<return-type type="gboolean" />
|
|
<parameters>
|
|
<parameter type="const-char*" name="str" />
|
|
</parameters>
|
|
</method>
|
|
<method name="ParseCssbuffer" cname="rsvg_parse_cssbuffer" shared="true">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="RsvgHandle*" name="ctx" />
|
|
<parameter type="const-char*" name="buff" />
|
|
<parameter type="size_t" name="buflen" />
|
|
</parameters>
|
|
</method>
|
|
<method name="ParsePath" cname="rsvg_parse_path" shared="true">
|
|
<return-type type="RsvgBpathDef*" />
|
|
<parameters>
|
|
<parameter type="const-char*" name="path_str" />
|
|
</parameters>
|
|
</method>
|
|
<method name="ParseStyle" cname="rsvg_parse_style" shared="true">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="RsvgHandle*" name="ctx" />
|
|
<parameter type="RsvgState*" name="state" />
|
|
<parameter type="const-char*" name="str" />
|
|
</parameters>
|
|
</method>
|
|
<method name="ParseStyleAttrs" cname="rsvg_parse_style_attrs" shared="true">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="RsvgHandle*" name="ctx" />
|
|
<parameter type="RsvgState*" name="state" />
|
|
<parameter type="const-char*" name="tag" />
|
|
<parameter type="const-char*" name="klazz" />
|
|
<parameter type="const-char*" name="id" />
|
|
<parameter type="const-xmlChar**" name="atts" />
|
|
</parameters>
|
|
</method>
|
|
<method name="ParseStylePair" cname="rsvg_parse_style_pair" shared="true">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="RsvgHandle*" name="ctx" />
|
|
<parameter type="RsvgState*" name="state" />
|
|
<parameter type="const-char*" name="key" />
|
|
<parameter type="const-char*" name="val" />
|
|
</parameters>
|
|
</method>
|
|
<method name="ParseTransform" cname="rsvg_parse_transform" shared="true">
|
|
<return-type type="gboolean" />
|
|
<parameters>
|
|
<parameter type="double" array="true" name="dst" />
|
|
<parameter type="const-char*" name="src" />
|
|
</parameters>
|
|
</method>
|
|
<method name="PopOpacityGroup" cname="rsvg_pop_opacity_group" shared="true">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="RsvgHandle*" name="ctx" />
|
|
<parameter type="int" name="opacity" />
|
|
</parameters>
|
|
</method>
|
|
<method name="PushOpacityGroup" cname="rsvg_push_opacity_group" shared="true">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="RsvgHandle*" name="ctx" />
|
|
</parameters>
|
|
</method>
|
|
<method name="SetDefaultDpi" cname="rsvg_set_default_dpi" shared="true">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="double" name="dpi" />
|
|
</parameters>
|
|
</method>
|
|
<method name="TextRenderText" cname="rsvg_text_render_text" shared="true">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="RsvgHandle*" name="ctx" />
|
|
<parameter type="RsvgState*" name="state" />
|
|
<parameter type="const-char*" name="text" />
|
|
<parameter type="const-char*" name="id" />
|
|
</parameters>
|
|
</method>
|
|
<method name="ViewportPercentage" cname="rsvg_viewport_percentage" shared="true">
|
|
<return-type type="gdouble" />
|
|
<parameters>
|
|
<parameter type="gdouble" name="width" />
|
|
<parameter type="gdouble" name="height" />
|
|
</parameters>
|
|
</method>
|
|
</class>
|
|
<class name="Pixbuf" cname="RsvgPixbuf_">
|
|
<method name="FromFile" cname="rsvg_pixbuf_from_file" shared="true">
|
|
<return-type type="GdkPixbuf*" />
|
|
<parameters>
|
|
<parameter type="const-gchar*" name="file_name" />
|
|
<parameter type="GError**" name="error" />
|
|
</parameters>
|
|
</method>
|
|
<method name="FromFileAtMaxSize" cname="rsvg_pixbuf_from_file_at_max_size" shared="true">
|
|
<return-type type="GdkPixbuf*" />
|
|
<parameters>
|
|
<parameter type="const-gchar*" name="file_name" />
|
|
<parameter type="gint" name="max_width" />
|
|
<parameter type="gint" name="max_height" />
|
|
<parameter type="GError**" name="error" />
|
|
</parameters>
|
|
</method>
|
|
<method name="FromFileAtMaxSizeEx" cname="rsvg_pixbuf_from_file_at_max_size_ex" shared="true">
|
|
<return-type type="GdkPixbuf*" />
|
|
<parameters>
|
|
<parameter type="RsvgHandle*" name="handle" />
|
|
<parameter type="const-gchar*" name="file_name" />
|
|
<parameter type="gint" name="max_width" />
|
|
<parameter type="gint" name="max_height" />
|
|
<parameter type="GError**" name="error" />
|
|
</parameters>
|
|
</method>
|
|
<method name="FromFileAtSize" cname="rsvg_pixbuf_from_file_at_size" shared="true">
|
|
<return-type type="GdkPixbuf*" />
|
|
<parameters>
|
|
<parameter type="const-gchar*" name="file_name" />
|
|
<parameter type="gint" name="width" />
|
|
<parameter type="gint" name="height" />
|
|
<parameter type="GError**" name="error" />
|
|
</parameters>
|
|
</method>
|
|
<method name="FromFileAtSizeEx" cname="rsvg_pixbuf_from_file_at_size_ex" shared="true">
|
|
<return-type type="GdkPixbuf*" />
|
|
<parameters>
|
|
<parameter type="RsvgHandle*" name="handle" />
|
|
<parameter type="const-gchar*" name="file_name" />
|
|
<parameter type="gint" name="width" />
|
|
<parameter type="gint" name="height" />
|
|
<parameter type="GError**" name="error" />
|
|
</parameters>
|
|
</method>
|
|
<method name="FromFileAtZoom" cname="rsvg_pixbuf_from_file_at_zoom" shared="true">
|
|
<return-type type="GdkPixbuf*" />
|
|
<parameters>
|
|
<parameter type="const-gchar*" name="file_name" />
|
|
<parameter type="double" name="x_zoom" />
|
|
<parameter type="double" name="y_zoom" />
|
|
<parameter type="GError**" name="error" />
|
|
</parameters>
|
|
</method>
|
|
<method name="FromFileAtZoomEx" cname="rsvg_pixbuf_from_file_at_zoom_ex" shared="true">
|
|
<return-type type="GdkPixbuf*" />
|
|
<parameters>
|
|
<parameter type="RsvgHandle*" name="handle" />
|
|
<parameter type="const-gchar*" name="file_name" />
|
|
<parameter type="double" name="x_zoom" />
|
|
<parameter type="double" name="y_zoom" />
|
|
<parameter type="GError**" name="error" />
|
|
</parameters>
|
|
</method>
|
|
<method name="FromFileAtZoomWithMax" cname="rsvg_pixbuf_from_file_at_zoom_with_max" shared="true">
|
|
<return-type type="GdkPixbuf*" />
|
|
<parameters>
|
|
<parameter type="const-gchar*" name="file_name" />
|
|
<parameter type="double" name="x_zoom" />
|
|
<parameter type="double" name="y_zoom" />
|
|
<parameter type="gint" name="max_width" />
|
|
<parameter type="gint" name="max_height" />
|
|
<parameter type="GError**" name="error" />
|
|
</parameters>
|
|
</method>
|
|
<method name="FromFileAtZoomWithMaxEx" cname="rsvg_pixbuf_from_file_at_zoom_with_max_ex" shared="true">
|
|
<return-type type="GdkPixbuf*" />
|
|
<parameters>
|
|
<parameter type="RsvgHandle*" name="handle" />
|
|
<parameter type="const-gchar*" name="file_name" />
|
|
<parameter type="double" name="x_zoom" />
|
|
<parameter type="double" name="y_zoom" />
|
|
<parameter type="gint" name="max_width" />
|
|
<parameter type="gint" name="max_height" />
|
|
<parameter type="GError**" name="error" />
|
|
</parameters>
|
|
</method>
|
|
<method name="FromFileEx" cname="rsvg_pixbuf_from_file_ex" shared="true">
|
|
<return-type type="GdkPixbuf*" />
|
|
<parameters>
|
|
<parameter type="RsvgHandle*" name="handle" />
|
|
<parameter type="const-gchar*" name="file_name" />
|
|
<parameter type="GError**" name="error" />
|
|
</parameters>
|
|
</method>
|
|
</class>
|
|
<class name="Render" cname="RsvgRender_">
|
|
<method name="PaintServer" cname="rsvg_render_paint_server" shared="true">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="ArtRender*" name="ar" />
|
|
<parameter type="RsvgPaintServer*" name="ps" />
|
|
<parameter type="const-RsvgPSCtx*" name="ctx" />
|
|
</parameters>
|
|
</method>
|
|
<method name="Path" cname="rsvg_render_path" shared="true">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="RsvgHandle*" name="ctx" />
|
|
<parameter type="const-char*" name="d" />
|
|
</parameters>
|
|
</method>
|
|
</class>
|
|
<class name="Start" cname="RsvgStart_">
|
|
<method name="Circle" cname="rsvg_start_circle" shared="true">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="RsvgHandle*" name="ctx" />
|
|
<parameter type="const-xmlChar**" name="atts" />
|
|
</parameters>
|
|
</method>
|
|
<method name="Ellipse" cname="rsvg_start_ellipse" shared="true">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="RsvgHandle*" name="ctx" />
|
|
<parameter type="const-xmlChar**" name="atts" />
|
|
</parameters>
|
|
</method>
|
|
<method name="Image" cname="rsvg_start_image" shared="true">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="RsvgHandle*" name="ctx" />
|
|
<parameter type="const-xmlChar**" name="atts" />
|
|
</parameters>
|
|
</method>
|
|
<method name="Line" cname="rsvg_start_line" shared="true">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="RsvgHandle*" name="ctx" />
|
|
<parameter type="const-xmlChar**" name="atts" />
|
|
</parameters>
|
|
</method>
|
|
<method name="Path" cname="rsvg_start_path" shared="true">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="RsvgHandle*" name="ctx" />
|
|
<parameter type="const-xmlChar**" name="atts" />
|
|
</parameters>
|
|
</method>
|
|
<method name="Polygon" cname="rsvg_start_polygon" shared="true">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="RsvgHandle*" name="ctx" />
|
|
<parameter type="const-xmlChar**" name="atts" />
|
|
</parameters>
|
|
</method>
|
|
<method name="Polyline" cname="rsvg_start_polyline" shared="true">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="RsvgHandle*" name="ctx" />
|
|
<parameter type="const-xmlChar**" name="atts" />
|
|
</parameters>
|
|
</method>
|
|
<method name="Rect" cname="rsvg_start_rect" shared="true">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="RsvgHandle*" name="ctx" />
|
|
<parameter type="const-xmlChar**" name="atts" />
|
|
</parameters>
|
|
</method>
|
|
<method name="Text" cname="rsvg_start_text" shared="true">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="RsvgHandle*" name="ctx" />
|
|
<parameter type="const-xmlChar**" name="atts" />
|
|
</parameters>
|
|
</method>
|
|
<method name="Tspan" cname="rsvg_start_tspan" shared="true">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="RsvgHandle*" name="ctx" />
|
|
<parameter type="const-xmlChar**" name="atts" />
|
|
</parameters>
|
|
</method>
|
|
<method name="Use" cname="rsvg_start_use" shared="true">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="RsvgHandle*" name="ctx" />
|
|
<parameter type="const-xmlChar**" name="atts" />
|
|
</parameters>
|
|
</method>
|
|
</class>
|
|
</namespace>
|
|
</api> |