GtkSharp/api/rsvg-api.xml
Martin Willemoes Hansen 37e2bd78e5 * api/gda-api.xml: Updated to reflect new versions of the targeted
libraries + addition of GnomePrint
        * api/gdk-api.xml: Ditto
        * api/gnome-api.xml: Ditto
        * api/gnomedb-api.xml: Ditto
        * api/gtk-api.xml: Ditto
        * api/rsvg-api.xml: Ditto
        * sources/.cvsignore: Ditto
        * sources/makefile: Ditto
        * sources/gtk-sharp.sources: Ditto
        * sources/Gda.metadata: Added a couple of new_flags
        * sources/Gdk.metadata: Fixed name filter level type, it was missed by
        the parser.
        * sources/Gtk.metadata: Added hides for the GtkHtml releations to GnomePrint,
        these hides can be removed when GtkHtml is put in its own assembly.

svn path=/trunk/gtk-sharp/; revision=18131
2003-09-16 18:07:40 +00:00

623 lines
25 KiB
XML

<?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"/>
</enum>
<enum name="Error" cname="RsvgError" type="enum">
<member cname="RSVG_ERROR_FAILED" name="Failed"/>
</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">
<field cname="bpath" type="ArtBpath*"/>
<field cname="n_bpath" type="int"/>
<field cname="n_bpath_max" type="int"/>
<field cname="moveto_idx" type="int"/>
<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 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 cname="offset" type="double"/>
<field cname="rgba" type="guint32"/>
</struct>
<struct name="GradientStops" cname="RsvgGradientStops">
<field cname="n_stop" type="int"/>
<field 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="GetPixbuf" cname="rsvg_handle_get_pixbuf">
<return-type type="GdkPixbuf*"/>
</method>
<constructor cname="rsvg_handle_new"/>
<constructor cname="rsvg_handle_new_gz"/>
<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 cname="super" type="RsvgDefVal"/>
<field cname="obj_bbox" type="gboolean"/>
<field cname="affine" array_len="6" type="double"/>
<field cname="stops" type="RsvgGradientStops*"/>
<field cname="spread" type="ArtGradientSpread"/>
<field cname="x1" type="double"/>
<field cname="y1" type="double"/>
<field cname="x2" type="double"/>
<field cname="y2" type="double"/>
</struct>
<struct name="PSCtx" cname="RsvgPSCtx">
<field cname="dummy" type="int"/>
</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 cname="super" type="RsvgDefVal"/>
<field cname="obj_bbox" type="gboolean"/>
<field cname="affine" array_len="6" type="double"/>
<field cname="stops" type="RsvgGradientStops*"/>
<field cname="spread" type="ArtGradientSpread"/>
<field cname="cx" type="double"/>
<field cname="cy" type="double"/>
<field cname="r" type="double"/>
<field cname="fx" type="double"/>
<field cname="fy" type="double"/>
</struct>
<struct name="State" cname="RsvgState">
<field cname="affine" array_len="6" type="double"/>
<field cname="opacity" type="gint"/>
<field cname="fill" type="RsvgPaintServer*"/>
<field cname="fill_opacity" type="gint"/>
<field cname="stroke" type="RsvgPaintServer*"/>
<field cname="stroke_opacity" type="gint"/>
<field cname="stroke_width" type="double"/>
<field cname="miter_limit" type="double"/>
<field cname="cap" type="ArtPathStrokeCapType"/>
<field cname="join" type="ArtPathStrokeJoinType"/>
<field cname="font_size" type="double"/>
<field cname="font_family" type="char*"/>
<field cname="font_style" type="PangoStyle"/>
<field cname="font_variant" type="PangoVariant"/>
<field cname="font_weight" type="PangoWeight"/>
<field cname="font_stretch" type="PangoStretch"/>
<field cname="font_decor" type="TextDecoration"/>
<field cname="text_offset" type="guint"/>
<field cname="stop_color" type="guint32"/>
<field cname="stop_opacity" type="gint"/>
<field cname="visible" type="gboolean"/>
<field cname="dash" type="ArtVpathDash"/>
<field 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="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="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="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="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="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>
</class>
</namespace>
</api>