[Vala] [PATCH] Add missing functions of Pango's cairo backend
- From: Mathias Hasselmann <mathias hasselmann gmx de>
- To: vala paldo org
- Subject: [Vala] [PATCH] Add missing functions of Pango's cairo backend
- Date: Wed, 21 Mar 2007 12:29:26 +0100
---
trunk/vala/vapi/pango.vala | 28 ++++++++++++++++++++++++++++
1 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/trunk/vala/vapi/pango.vala b/trunk/vala/vapi/pango.vala
index b9fea37..493c4bc 100644
--- a/trunk/vala/vapi/pango.vala
+++ b/trunk/vala/vapi/pango.vala
@@ -1413,6 +1413,34 @@ namespace Pango {
[CCode (cname = "pango_attr_weight_new")]
public static weak Pango.Attribute weight_new (Pango.Weight weight);
}
+
+ [CCode (cheader_filename = "pango/pangocairo.h")]
+ public struct Cairo
+ {
+ [CCode] public static Layout
+ create_layout (Cairo.Context cr);
+ [CCode] public static void
+ update_layout (Cairo.Context cr, Layout layout);
+
+ [CCode] public static void
+ show_glyph_string (Cairo.Context cr, Font font, GlyphString glyphs);
+ [CCode] public static void
+ show_layout_line (Cairo.Context cr, LayoutLine line);
+ [CCode] public static void
+ show_layout (Cairo.Context cr, Layout layout);
+ [CCode] public static void
+ show_error_underline (Cairo.Context cr, double x, double y, double width, double height);
+
+ [CCode] public static void
+ glyph_string_path (Cairo.Context cr, Font font, GlyphString glyphs);
+ [CCode] public static void
+ layout_line_path (Cairo.Context cr, LayoutLine line);
+ [CCode] public static void
+ layout_path (Cairo.Context cr, Layout layout);
+ [CCode] public static void
+ error_underline_path (Cairo.Context cr, double x, double y, double width, double height);
+ }
+
[ReferenceType ()]
public struct Units {
[NoArrayLength ()]
--
1.4.4.2
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]