Commit 2ca2462e authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter

add pangocairo bindings

2007-11-03  Juerg Billeter  <j@bitron.ch>

	* vapi/packages/pango/, vapi/packages/pangocairo/, vapi/pangocairo.deps,
	  vapi/pangocairo.vapi, vapi/Makefile.am: add pangocairo bindings

	* vapi/packages/gdk-2.0/gdk-2.0.deps, vapi/gdk-2.0.deps: add pangocairo
	  as dependency

svn path=/trunk/; revision=674
parent a8443a6a
2007-11-03 Jürg Billeter <j@bitron.ch>
* vapi/packages/pango/, vapi/packages/pangocairo/, vapi/pangocairo.deps,
vapi/pangocairo.vapi, vapi/Makefile.am: add pangocairo bindings
* vapi/packages/gdk-2.0/gdk-2.0.deps, vapi/gdk-2.0.deps: add pangocairo
as dependency
2007-11-01 Jürg Billeter <j@bitron.ch>
* vala/valareport.vala: mark Report class as static, fixes bug 492107
......
......@@ -46,6 +46,8 @@ dist_vapi_DATA = \
libxml-2.0.vapi \
pango.deps \
pango.vapi \
pangocairo.deps \
pangocairo.vapi \
poppler-glib.deps \
poppler-glib.vapi \
sqlite3.vapi \
......
This diff is collapsed.
This diff is collapsed.
include/pango-1.0/pango/pangocairo.h
lib/libpangocairo-1.0.so
<?xml version="1.0"?>
<api version="1.0">
<namespace name="Pango">
<function name="cairo_context_get_font_options" symbol="pango_cairo_context_get_font_options">
<return-type type="cairo_font_options_t*"/>
<parameters>
<parameter name="context" type="PangoContext*"/>
</parameters>
</function>
<function name="cairo_context_get_resolution" symbol="pango_cairo_context_get_resolution">
<return-type type="double"/>
<parameters>
<parameter name="context" type="PangoContext*"/>
</parameters>
</function>
<function name="cairo_context_get_shape_renderer" symbol="pango_cairo_context_get_shape_renderer">
<return-type type="PangoCairoShapeRendererFunc"/>
<parameters>
<parameter name="context" type="PangoContext*"/>
<parameter name="data" type="gpointer*"/>
</parameters>
</function>
<function name="cairo_context_set_font_options" symbol="pango_cairo_context_set_font_options">
<return-type type="void"/>
<parameters>
<parameter name="context" type="PangoContext*"/>
<parameter name="options" type="cairo_font_options_t*"/>
</parameters>
</function>
<function name="cairo_context_set_resolution" symbol="pango_cairo_context_set_resolution">
<return-type type="void"/>
<parameters>
<parameter name="context" type="PangoContext*"/>
<parameter name="dpi" type="double"/>
</parameters>
</function>
<function name="cairo_context_set_shape_renderer" symbol="pango_cairo_context_set_shape_renderer">
<return-type type="void"/>
<parameters>
<parameter name="context" type="PangoContext*"/>
<parameter name="func" type="PangoCairoShapeRendererFunc"/>
<parameter name="data" type="gpointer"/>
<parameter name="dnotify" type="GDestroyNotify"/>
</parameters>
</function>
<function name="cairo_create_layout" symbol="pango_cairo_create_layout">
<return-type type="PangoLayout*"/>
<parameters>
<parameter name="cr" type="cairo_t*"/>
</parameters>
</function>
<function name="cairo_error_underline_path" symbol="pango_cairo_error_underline_path">
<return-type type="void"/>
<parameters>
<parameter name="cr" type="cairo_t*"/>
<parameter name="x" type="double"/>
<parameter name="y" type="double"/>
<parameter name="width" type="double"/>
<parameter name="height" type="double"/>
</parameters>
</function>
<function name="cairo_glyph_string_path" symbol="pango_cairo_glyph_string_path">
<return-type type="void"/>
<parameters>
<parameter name="cr" type="cairo_t*"/>
<parameter name="font" type="PangoFont*"/>
<parameter name="glyphs" type="PangoGlyphString*"/>
</parameters>
</function>
<function name="cairo_layout_line_path" symbol="pango_cairo_layout_line_path">
<return-type type="void"/>
<parameters>
<parameter name="cr" type="cairo_t*"/>
<parameter name="line" type="PangoLayoutLine*"/>
</parameters>
</function>
<function name="cairo_layout_path" symbol="pango_cairo_layout_path">
<return-type type="void"/>
<parameters>
<parameter name="cr" type="cairo_t*"/>
<parameter name="layout" type="PangoLayout*"/>
</parameters>
</function>
<function name="cairo_show_error_underline" symbol="pango_cairo_show_error_underline">
<return-type type="void"/>
<parameters>
<parameter name="cr" type="cairo_t*"/>
<parameter name="x" type="double"/>
<parameter name="y" type="double"/>
<parameter name="width" type="double"/>
<parameter name="height" type="double"/>
</parameters>
</function>
<function name="cairo_show_glyph_string" symbol="pango_cairo_show_glyph_string">
<return-type type="void"/>
<parameters>
<parameter name="cr" type="cairo_t*"/>
<parameter name="font" type="PangoFont*"/>
<parameter name="glyphs" type="PangoGlyphString*"/>
</parameters>
</function>
<function name="cairo_show_layout" symbol="pango_cairo_show_layout">
<return-type type="void"/>
<parameters>
<parameter name="cr" type="cairo_t*"/>
<parameter name="layout" type="PangoLayout*"/>
</parameters>
</function>
<function name="cairo_show_layout_line" symbol="pango_cairo_show_layout_line">
<return-type type="void"/>
<parameters>
<parameter name="cr" type="cairo_t*"/>
<parameter name="line" type="PangoLayoutLine*"/>
</parameters>
</function>
<function name="cairo_update_context" symbol="pango_cairo_update_context">
<return-type type="void"/>
<parameters>
<parameter name="cr" type="cairo_t*"/>
<parameter name="context" type="PangoContext*"/>
</parameters>
</function>
<function name="cairo_update_layout" symbol="pango_cairo_update_layout">
<return-type type="void"/>
<parameters>
<parameter name="cr" type="cairo_t*"/>
<parameter name="layout" type="PangoLayout*"/>
</parameters>
</function>
<callback name="PangoCairoShapeRendererFunc">
<return-type type="void"/>
<parameters>
<parameter name="cr" type="cairo_t*"/>
<parameter name="attr" type="PangoAttrShape*"/>
<parameter name="do_path" type="gboolean"/>
<parameter name="data" type="gpointer"/>
</parameters>
</callback>
<interface name="PangoCairoFont" type-name="PangoCairoFont" get-type="pango_cairo_font_get_type">
<requires>
<interface name="PangoFont"/>
</requires>
<method name="get_scaled_font" symbol="pango_cairo_font_get_scaled_font">
<return-type type="cairo_scaled_font_t*"/>
<parameters>
<parameter name="font" type="PangoCairoFont*"/>
</parameters>
</method>
</interface>
<interface name="PangoCairoFontMap" type-name="PangoCairoFontMap" get-type="pango_cairo_font_map_get_type">
<requires>
<interface name="PangoFontMap"/>
</requires>
<method name="create_context" symbol="pango_cairo_font_map_create_context">
<return-type type="PangoContext*"/>
<parameters>
<parameter name="fontmap" type="PangoCairoFontMap*"/>
</parameters>
</method>
<method name="get_default" symbol="pango_cairo_font_map_get_default">
<return-type type="PangoFontMap*"/>
</method>
<method name="get_font_type" symbol="pango_cairo_font_map_get_font_type">
<return-type type="cairo_font_type_t"/>
<parameters>
<parameter name="fontmap" type="PangoCairoFontMap*"/>
</parameters>
</method>
<method name="get_resolution" symbol="pango_cairo_font_map_get_resolution">
<return-type type="double"/>
<parameters>
<parameter name="fontmap" type="PangoCairoFontMap*"/>
</parameters>
</method>
<method name="new" symbol="pango_cairo_font_map_new">
<return-type type="PangoFontMap*"/>
</method>
<method name="new_for_font_type" symbol="pango_cairo_font_map_new_for_font_type">
<return-type type="PangoFontMap*"/>
<parameters>
<parameter name="fonttype" type="cairo_font_type_t"/>
</parameters>
</method>
<method name="set_resolution" symbol="pango_cairo_font_map_set_resolution">
<return-type type="void"/>
<parameters>
<parameter name="fontmap" type="PangoCairoFontMap*"/>
<parameter name="dpi" type="double"/>
</parameters>
</method>
</interface>
</namespace>
</api>
Pango cheader_filename="pango/pangocairo.h"
/* pangocairo.vapi generated by lt-vapigen, do not modify. */
[CCode (cprefix = "Pango", lower_case_cprefix = "pango_")]
namespace Pango {
[CCode (cheader_filename = "pango/pangocairo.h")]
public interface CairoFont : Pango.Font {
public weak Cairo.ScaledFont get_scaled_font ();
}
[CCode (cheader_filename = "pango/pangocairo.h")]
public interface CairoFontMap : Pango.FontMap {
public weak Pango.Context create_context ();
public static weak Pango.FontMap get_default ();
public Cairo.FontType get_font_type ();
public double get_resolution ();
public static weak Pango.FontMap @new ();
public static weak Pango.FontMap new_for_font_type (Cairo.FontType fonttype);
public void set_resolution (double dpi);
}
public static delegate void CairoShapeRendererFunc (Cairo.Context cr, Pango.AttrShape attr, bool do_path, pointer data);
public static weak Cairo.FontOptions cairo_context_get_font_options (Pango.Context context);
public static double cairo_context_get_resolution (Pango.Context context);
public static Pango.CairoShapeRendererFunc cairo_context_get_shape_renderer (Pango.Context context, pointer data);
public static void cairo_context_set_font_options (Pango.Context context, Cairo.FontOptions options);
public static void cairo_context_set_resolution (Pango.Context context, double dpi);
public static void cairo_context_set_shape_renderer (Pango.Context context, Pango.CairoShapeRendererFunc func, pointer data, GLib.DestroyNotify dnotify);
public static weak Pango.Layout cairo_create_layout (Cairo.Context cr);
public static void cairo_error_underline_path (Cairo.Context cr, double x, double y, double width, double height);
public static void cairo_glyph_string_path (Cairo.Context cr, Pango.Font font, Pango.GlyphString glyphs);
public static void cairo_layout_line_path (Cairo.Context cr, Pango.LayoutLine line);
public static void cairo_layout_path (Cairo.Context cr, Pango.Layout layout);
public static void cairo_show_error_underline (Cairo.Context cr, double x, double y, double width, double height);
public static void cairo_show_glyph_string (Cairo.Context cr, Pango.Font font, Pango.GlyphString glyphs);
public static void cairo_show_layout (Cairo.Context cr, Pango.Layout layout);
public static void cairo_show_layout_line (Cairo.Context cr, Pango.LayoutLine line);
public static void cairo_update_context (Cairo.Context cr, Pango.Context context);
public static void cairo_update_layout (Cairo.Context cr, Pango.Layout layout);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment