Mercurial > projects > dwt-linux
annotate dwt/internal/cairo/Cairo.d @ 321:ffb904674b52
Fixes for LLVMDC
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sat, 27 Sep 2008 15:58:22 +0200 |
parents | 380bad9f6852 |
children | 174bd206cf10 |
rev | line source |
---|---|
108 | 1 /* ***** BEGIN LICENSE BLOCK ***** |
20 | 2 * Version: MPL 1.1 |
3 * | |
4 * The contents of this file are subject to the Mozilla Public License Version | |
5 * 1.1 (the "License"); you may not use this file except in compliance with | |
6 * the License. You may obtain a copy of the License at | |
7 * http://www.mozilla.org/MPL/ | |
8 * | |
9 * Software distributed under the License is distributed on an "AS IS" basis, | |
10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License | |
11 * for the specific language governing rights and limitations under the | |
12 * License. | |
13 * | |
14 * Contributor(s): | |
15 * | |
16 * IBM | |
71 | 17 * - Binding to permit interfacing between Cairo and DWT |
20 | 18 * - Copyright (C) 2005 IBM Corp. All Rights Reserved. |
19 * | |
20 * ***** END LICENSE BLOCK ***** */ | |
108 | 21 /* Port to the D programming language: |
22 * Frank Benoit <benoit@tionex.de> | |
23 */ | |
20 | 24 module dwt.internal.cairo.Cairo; |
25 | |
238 | 26 import dwt.dwthelper.utils; |
27 | |
33
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
28
diff
changeset
|
28 import dwt.internal.c.cairo; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
28
diff
changeset
|
29 import dwt.internal.c.cairo_xlib; |
91 | 30 import dwt.internal.c.cairo_ps; |
31 import dwt.internal.c.cairo_pdf; | |
33
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
28
diff
changeset
|
32 import dwt.internal.c.Xlib; |
20 | 33 import dwt.internal.Platform; |
34 | |
35 import tango.core.Traits; | |
33
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
28
diff
changeset
|
36 |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
28
diff
changeset
|
37 public alias dwt.internal.c.cairo.cairo_t cairo_t; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
28
diff
changeset
|
38 public alias dwt.internal.c.cairo.cairo_pattern_t cairo_pattern_t; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
28
diff
changeset
|
39 public alias dwt.internal.c.cairo.cairo_surface_t cairo_surface_t; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
28
diff
changeset
|
40 public alias dwt.internal.c.cairo.cairo_text_extents_t cairo_text_extents_t; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
28
diff
changeset
|
41 public alias dwt.internal.c.cairo.cairo_font_extents_t cairo_font_extents_t; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
28
diff
changeset
|
42 public alias dwt.internal.c.cairo.cairo_matrix_t cairo_matrix_t; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
28
diff
changeset
|
43 public alias dwt.internal.c.cairo.cairo_path_t cairo_path_t; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
28
diff
changeset
|
44 public alias dwt.internal.c.cairo.cairo_path_data_t cairo_path_data_t; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
28
diff
changeset
|
45 |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
28
diff
changeset
|
46 /++++ |
20 | 47 private extern(C) { |
48 cairo_surface_t * | |
28 | 49 cairo_xlib_surface_create (void *dpy, |
20 | 50 XID/*Drawable*/ drawable, |
51 Visual *visual, | |
52 int width, | |
53 int height); | |
54 } | |
33
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
28
diff
changeset
|
55 ++++/ |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
28
diff
changeset
|
56 |
24
bc06000c0816
TextLayout and GC, graphics complete
Frank Benoit <benoit@tionex.de>
parents:
21
diff
changeset
|
57 private int CAIRO_VERSION_ENCODE(int major, int minor, int micro) { |
bc06000c0816
TextLayout and GC, graphics complete
Frank Benoit <benoit@tionex.de>
parents:
21
diff
changeset
|
58 return ((major) * 10000) |
bc06000c0816
TextLayout and GC, graphics complete
Frank Benoit <benoit@tionex.de>
parents:
21
diff
changeset
|
59 + ((minor) * 100) |
bc06000c0816
TextLayout and GC, graphics complete
Frank Benoit <benoit@tionex.de>
parents:
21
diff
changeset
|
60 + ((micro) * 1); |
bc06000c0816
TextLayout and GC, graphics complete
Frank Benoit <benoit@tionex.de>
parents:
21
diff
changeset
|
61 } |
20 | 62 |
63 template NameOfFunc(alias f) { | |
64 // Note: highly dependent on the .stringof formatting | |
65 // the value begins with "& " which is why the first two chars are cut off | |
321 | 66 version( LLVMDC ){ |
67 // stringof in LLVMDC is "&foobar" | |
68 const char[] NameOfFunc = (&f).stringof[1 .. $]; | |
69 } | |
70 else{ | |
71 // stringof in DMD is "& foobar" | |
72 const char[] NameOfFunc = (&f).stringof[2 .. $]; | |
73 } | |
20 | 74 } |
75 | |
76 template ForwardGtkCairoCFunc( alias cFunc ) { | |
77 alias ParameterTupleOf!(cFunc) P; | |
78 alias ReturnTypeOf!(cFunc) R; | |
79 mixin("public static R " ~ NameOfFunc!(cFunc) ~ "( P p ){ | |
80 lock.lock(); | |
81 scope(exit) lock.unlock(); | |
82 return cFunc(p); | |
83 }"); | |
84 } | |
85 | |
86 public class Cairo : Platform { | |
87 | |
59
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
88 /** Constants */ |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
89 public static const int CAIRO_ANTIALIAS_DEFAULT = 0; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
90 public static const int CAIRO_ANTIALIAS_NONE = 1; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
91 public static const int CAIRO_ANTIALIAS_GRAY = 2; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
92 public static const int CAIRO_ANTIALIAS_SUBPIXEL = 3; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
93 public static const int CAIRO_FORMAT_ARGB32 = 0; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
94 public static const int CAIRO_FORMAT_RGB24 = 1; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
95 public static const int CAIRO_FORMAT_A8 = 2; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
96 public static const int CAIRO_FORMAT_A1 = 3; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
97 public static const int CAIRO_OPERATOR_CLEAR = 0; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
98 public static const int CAIRO_OPERATOR_SRC = 1; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
99 public static const int CAIRO_OPERATOR_DST = 2; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
100 public static const int CAIRO_OPERATOR_OVER = 3; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
101 public static const int CAIRO_OPERATOR_OVER_REVERSE = 4; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
102 public static const int CAIRO_OPERATOR_IN = 5; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
103 public static const int CAIRO_OPERATOR_IN_REVERSE = 6; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
104 public static const int CAIRO_OPERATOR_OUT = 7; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
105 public static const int CAIRO_OPERATOR_OUT_REVERSE = 8; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
106 public static const int CAIRO_OPERATOR_ATOP = 9; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
107 public static const int CAIRO_OPERATOR_ATOP_REVERSE = 10; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
108 public static const int CAIRO_OPERATOR_XOR = 11; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
109 public static const int CAIRO_OPERATOR_ADD = 12; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
110 public static const int CAIRO_OPERATOR_SATURATE = 13; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
111 public static const int CAIRO_FILL_RULE_WINDING = 0; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
112 public static const int CAIRO_FILL_RULE_EVEN_ODD = 1; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
113 public static const int CAIRO_LINE_CAP_BUTT = 0; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
114 public static const int CAIRO_LINE_CAP_ROUND = 1; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
115 public static const int CAIRO_LINE_CAP_SQUARE = 2; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
116 public static const int CAIRO_LINE_JOIN_MITER = 0; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
117 public static const int CAIRO_LINE_JOIN_ROUND = 1; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
118 public static const int CAIRO_LINE_JOIN_BEVEL = 2; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
119 public static const int CAIRO_FONT_SLANT_NORMAL = 0; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
120 public static const int CAIRO_FONT_SLANT_ITALIC = 1; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
121 public static const int CAIRO_FONT_SLANT_OBLIQUE = 2; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
122 public static const int CAIRO_FONT_WEIGHT_NORMAL = 0; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
123 public static const int CAIRO_FONT_WEIGHT_BOLD = 1; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
124 public static const int CAIRO_STATUS_SUCCESS = 0; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
125 public static const int CAIRO_STATUS_NO_MEMORY = 1; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
126 public static const int CAIRO_STATUS_INVALID_RESTORE = 2; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
127 public static const int CAIRO_STATUS_INVALID_POP_GROUP = 3; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
128 public static const int CAIRO_STATUS_NO_CURRENT_POINT = 4; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
129 public static const int CAIRO_STATUS_INVALID_MATRIX = 5; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
130 public static const int CAIRO_STATUS_NO_TARGET_SURFACE = 6; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
131 public static const int CAIRO_STATUS_NULL_POINTER =7; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
132 public static const int CAIRO_SURFACE_TYPE_IMAGE = 0; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
133 public static const int CAIRO_SURFACE_TYPE_PDF = 1; |
20 | 134 public static const int CAIRO_SURFACE_TYPE_PS = 2; |
135 public static const int CAIRO_SURFACE_TYPE_XLIB = 3; | |
136 public static const int CAIRO_SURFACE_TYPE_XCB = 4; | |
137 public static const int CAIRO_SURFACE_TYPE_GLITZ = 5; | |
138 public static const int CAIRO_SURFACE_TYPE_QUARTZ = 6; | |
139 public static const int CAIRO_SURFACE_TYPE_WIN32 = 7; | |
140 public static const int CAIRO_SURFACE_TYPE_BEOS = 8; | |
141 public static const int CAIRO_SURFACE_TYPE_DIRECTFB = 9; | |
142 public static const int CAIRO_SURFACE_TYPE_SVG = 10; | |
59
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
143 public static const int CAIRO_FILTER_FAST = 0; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
144 public static const int CAIRO_FILTER_GOOD = 1; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
145 public static const int CAIRO_FILTER_BEST = 2; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
146 public static const int CAIRO_FILTER_NEAREST = 3; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
147 public static const int CAIRO_FILTER_BILINEAR = 4; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
148 public static const int CAIRO_FILTER_GAUSSIAN = 5; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
149 public static const int CAIRO_EXTEND_NONE = 0; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
150 public static const int CAIRO_EXTEND_REPEAT = 1; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
151 public static const int CAIRO_EXTEND_REFLECT = 2; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
152 public static const int CAIRO_EXTEND_PAD = 3; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
153 public static const int CAIRO_PATH_MOVE_TO = 0; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
154 public static const int CAIRO_PATH_LINE_TO = 1; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
155 public static const int CAIRO_PATH_CURVE_TO = 2; |
8cec8f536af3
All D sources complete gvim retab (4 spaces), bug with Composite moveAbove/moveBelow fixed.
Frank Benoit <benoit@tionex.de>
parents:
33
diff
changeset
|
156 public static const int CAIRO_PATH_CLOSE_PATH = 3; |
33
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
28
diff
changeset
|
157 |
20 | 158 mixin ForwardGtkCairoCFunc!(.CAIRO_VERSION_ENCODE); |
21 | 159 mixin ForwardGtkCairoCFunc!(.cairo_append_path); |
160 mixin ForwardGtkCairoCFunc!(.cairo_arc); | |
161 mixin ForwardGtkCairoCFunc!(.cairo_arc_negative); | |
162 mixin ForwardGtkCairoCFunc!(.cairo_clip); | |
163 mixin ForwardGtkCairoCFunc!(.cairo_clip_preserve); | |
164 mixin ForwardGtkCairoCFunc!(.cairo_close_path); | |
165 mixin ForwardGtkCairoCFunc!(.cairo_copy_page); | |
166 mixin ForwardGtkCairoCFunc!(.cairo_copy_path); | |
167 mixin ForwardGtkCairoCFunc!(.cairo_copy_path_flat); | |
168 mixin ForwardGtkCairoCFunc!(.cairo_create); | |
169 mixin ForwardGtkCairoCFunc!(.cairo_curve_to); | |
170 mixin ForwardGtkCairoCFunc!(.cairo_destroy); | |
171 mixin ForwardGtkCairoCFunc!(.cairo_device_to_user); | |
172 mixin ForwardGtkCairoCFunc!(.cairo_device_to_user_distance); | |
173 mixin ForwardGtkCairoCFunc!(.cairo_fill); | |
174 mixin ForwardGtkCairoCFunc!(.cairo_fill_extents); | |
175 mixin ForwardGtkCairoCFunc!(.cairo_fill_preserve); | |
176 mixin ForwardGtkCairoCFunc!(.cairo_font_extents); | |
177 mixin ForwardGtkCairoCFunc!(.cairo_font_options_create); | |
178 mixin ForwardGtkCairoCFunc!(.cairo_font_options_destroy); | |
179 mixin ForwardGtkCairoCFunc!(.cairo_font_options_get_antialias); | |
180 mixin ForwardGtkCairoCFunc!(.cairo_font_options_set_antialias); | |
181 mixin ForwardGtkCairoCFunc!(.cairo_get_antialias); | |
182 mixin ForwardGtkCairoCFunc!(.cairo_get_current_point); | |
183 mixin ForwardGtkCairoCFunc!(.cairo_get_fill_rule); | |
184 mixin ForwardGtkCairoCFunc!(.cairo_get_font_face); | |
185 mixin ForwardGtkCairoCFunc!(.cairo_get_font_matrix); | |
186 mixin ForwardGtkCairoCFunc!(.cairo_get_font_options); | |
187 mixin ForwardGtkCairoCFunc!(.cairo_get_line_cap); | |
188 mixin ForwardGtkCairoCFunc!(.cairo_get_line_join); | |
189 mixin ForwardGtkCairoCFunc!(.cairo_get_line_width); | |
190 mixin ForwardGtkCairoCFunc!(.cairo_get_matrix); | |
191 mixin ForwardGtkCairoCFunc!(.cairo_get_miter_limit); | |
192 mixin ForwardGtkCairoCFunc!(.cairo_get_operator); | |
193 mixin ForwardGtkCairoCFunc!(.cairo_get_source); | |
194 mixin ForwardGtkCairoCFunc!(.cairo_get_target); | |
195 mixin ForwardGtkCairoCFunc!(.cairo_get_tolerance); | |
196 mixin ForwardGtkCairoCFunc!(.cairo_glyph_extents); | |
197 mixin ForwardGtkCairoCFunc!(.cairo_glyph_path); | |
198 mixin ForwardGtkCairoCFunc!(.cairo_identity_matrix); | |
199 mixin ForwardGtkCairoCFunc!(.cairo_image_surface_create); | |
20 | 200 mixin ForwardGtkCairoCFunc!(.cairo_image_surface_create_for_data); |
21 | 201 mixin ForwardGtkCairoCFunc!(.cairo_image_surface_get_height); |
202 mixin ForwardGtkCairoCFunc!(.cairo_image_surface_get_width); | |
203 mixin ForwardGtkCairoCFunc!(.cairo_in_fill); | |
204 mixin ForwardGtkCairoCFunc!(.cairo_in_stroke); | |
205 mixin ForwardGtkCairoCFunc!(.cairo_line_to); | |
206 mixin ForwardGtkCairoCFunc!(.cairo_mask); | |
207 mixin ForwardGtkCairoCFunc!(.cairo_mask_surface); | |
208 mixin ForwardGtkCairoCFunc!(.cairo_matrix_init); | |
209 mixin ForwardGtkCairoCFunc!(.cairo_matrix_init_identity); | |
210 mixin ForwardGtkCairoCFunc!(.cairo_matrix_init_rotate); | |
211 mixin ForwardGtkCairoCFunc!(.cairo_matrix_init_scale); | |
212 mixin ForwardGtkCairoCFunc!(.cairo_matrix_init_translate); | |
213 mixin ForwardGtkCairoCFunc!(.cairo_matrix_invert); | |
214 mixin ForwardGtkCairoCFunc!(.cairo_matrix_multiply); | |
215 mixin ForwardGtkCairoCFunc!(.cairo_matrix_rotate); | |
216 mixin ForwardGtkCairoCFunc!(.cairo_matrix_scale); | |
217 mixin ForwardGtkCairoCFunc!(.cairo_matrix_transform_distance); | |
218 mixin ForwardGtkCairoCFunc!(.cairo_matrix_transform_point); | |
219 mixin ForwardGtkCairoCFunc!(.cairo_matrix_translate); | |
220 mixin ForwardGtkCairoCFunc!(.cairo_move_to); | |
221 mixin ForwardGtkCairoCFunc!(.cairo_new_path); | |
222 mixin ForwardGtkCairoCFunc!(.cairo_paint); | |
223 mixin ForwardGtkCairoCFunc!(.cairo_paint_with_alpha); | |
224 mixin ForwardGtkCairoCFunc!(.cairo_path_destroy); | |
225 mixin ForwardGtkCairoCFunc!(.cairo_pattern_add_color_stop_rgb); | |
226 mixin ForwardGtkCairoCFunc!(.cairo_pattern_add_color_stop_rgba); | |
227 mixin ForwardGtkCairoCFunc!(.cairo_pattern_create_for_surface); | |
228 mixin ForwardGtkCairoCFunc!(.cairo_pattern_create_linear); | |
229 mixin ForwardGtkCairoCFunc!(.cairo_pattern_create_radial); | |
230 mixin ForwardGtkCairoCFunc!(.cairo_pattern_destroy); | |
231 mixin ForwardGtkCairoCFunc!(.cairo_pattern_get_extend); | |
232 mixin ForwardGtkCairoCFunc!(.cairo_pattern_get_filter); | |
233 mixin ForwardGtkCairoCFunc!(.cairo_pattern_get_matrix); | |
234 mixin ForwardGtkCairoCFunc!(.cairo_pattern_reference); | |
235 mixin ForwardGtkCairoCFunc!(.cairo_pattern_set_extend); | |
236 mixin ForwardGtkCairoCFunc!(.cairo_pattern_set_filter); | |
237 mixin ForwardGtkCairoCFunc!(.cairo_pattern_set_matrix); | |
91 | 238 mixin ForwardGtkCairoCFunc!(.cairo_pdf_surface_set_size); |
239 mixin ForwardGtkCairoCFunc!(.cairo_ps_surface_set_size); | |
21 | 240 mixin ForwardGtkCairoCFunc!(.cairo_rectangle); |
241 mixin ForwardGtkCairoCFunc!(.cairo_reference); | |
242 mixin ForwardGtkCairoCFunc!(.cairo_rel_curve_to); | |
243 mixin ForwardGtkCairoCFunc!(.cairo_rel_line_to); | |
244 mixin ForwardGtkCairoCFunc!(.cairo_rel_move_to); | |
245 mixin ForwardGtkCairoCFunc!(.cairo_reset_clip); | |
246 mixin ForwardGtkCairoCFunc!(.cairo_restore); | |
247 mixin ForwardGtkCairoCFunc!(.cairo_rotate); | |
248 mixin ForwardGtkCairoCFunc!(.cairo_save); | |
249 mixin ForwardGtkCairoCFunc!(.cairo_scale); | |
250 mixin ForwardGtkCairoCFunc!(.cairo_select_font_face); | |
251 mixin ForwardGtkCairoCFunc!(.cairo_set_antialias); | |
252 mixin ForwardGtkCairoCFunc!(.cairo_set_dash); | |
253 mixin ForwardGtkCairoCFunc!(.cairo_set_fill_rule); | |
254 mixin ForwardGtkCairoCFunc!(.cairo_set_font_face); | |
255 mixin ForwardGtkCairoCFunc!(.cairo_set_font_matrix); | |
256 mixin ForwardGtkCairoCFunc!(.cairo_set_font_options); | |
257 mixin ForwardGtkCairoCFunc!(.cairo_set_font_size); | |
258 mixin ForwardGtkCairoCFunc!(.cairo_set_line_cap); | |
259 mixin ForwardGtkCairoCFunc!(.cairo_set_line_join); | |
260 mixin ForwardGtkCairoCFunc!(.cairo_set_line_width); | |
261 mixin ForwardGtkCairoCFunc!(.cairo_set_matrix); | |
262 mixin ForwardGtkCairoCFunc!(.cairo_set_miter_limit); | |
263 mixin ForwardGtkCairoCFunc!(.cairo_set_operator); | |
264 mixin ForwardGtkCairoCFunc!(.cairo_set_source); | |
265 mixin ForwardGtkCairoCFunc!(.cairo_set_source_rgb); | |
266 mixin ForwardGtkCairoCFunc!(.cairo_set_source_rgba); | |
267 mixin ForwardGtkCairoCFunc!(.cairo_set_source_surface); | |
268 mixin ForwardGtkCairoCFunc!(.cairo_set_tolerance); | |
269 mixin ForwardGtkCairoCFunc!(.cairo_show_glyphs); | |
270 mixin ForwardGtkCairoCFunc!(.cairo_show_page); | |
271 mixin ForwardGtkCairoCFunc!(.cairo_show_text); | |
272 mixin ForwardGtkCairoCFunc!(.cairo_status); | |
273 mixin ForwardGtkCairoCFunc!(.cairo_status_to_string); | |
274 mixin ForwardGtkCairoCFunc!(.cairo_stroke); | |
275 mixin ForwardGtkCairoCFunc!(.cairo_stroke_extents); | |
276 mixin ForwardGtkCairoCFunc!(.cairo_stroke_preserve); | |
277 mixin ForwardGtkCairoCFunc!(.cairo_surface_create_similar); | |
20 | 278 mixin ForwardGtkCairoCFunc!(.cairo_surface_destroy); |
21 | 279 mixin ForwardGtkCairoCFunc!(.cairo_surface_finish); |
280 mixin ForwardGtkCairoCFunc!(.cairo_surface_get_type); | |
281 mixin ForwardGtkCairoCFunc!(.cairo_surface_get_user_data); | |
282 mixin ForwardGtkCairoCFunc!(.cairo_surface_reference); | |
283 mixin ForwardGtkCairoCFunc!(.cairo_surface_set_device_offset); | |
284 mixin ForwardGtkCairoCFunc!(.cairo_surface_set_fallback_resolution); | |
285 mixin ForwardGtkCairoCFunc!(.cairo_surface_set_user_data); | |
286 mixin ForwardGtkCairoCFunc!(.cairo_text_extents); | |
287 mixin ForwardGtkCairoCFunc!(.cairo_text_path); | |
288 mixin ForwardGtkCairoCFunc!(.cairo_transform); | |
289 mixin ForwardGtkCairoCFunc!(.cairo_translate); | |
290 mixin ForwardGtkCairoCFunc!(.cairo_user_to_device); | |
291 mixin ForwardGtkCairoCFunc!(.cairo_user_to_device_distance); | |
20 | 292 mixin ForwardGtkCairoCFunc!(.cairo_version); |
293 mixin ForwardGtkCairoCFunc!(.cairo_xlib_surface_create); | |
33
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
28
diff
changeset
|
294 /++/ |
21 | 295 mixin ForwardGtkCairoCFunc!(.cairo_xlib_surface_create_for_bitmap); |
296 mixin ForwardGtkCairoCFunc!(.cairo_xlib_surface_set_size); | |
33
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
28
diff
changeset
|
297 /++/ |
20 | 298 } |