1 /* 2 * This file is part of gtkD. 3 * 4 * gtkD is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU Lesser General Public License 6 * as published by the Free Software Foundation; either version 3 7 * of the License, or (at your option) any later version, with 8 * some exceptions, please read the COPYING file. 9 * 10 * gtkD is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU Lesser General Public License for more details. 14 * 15 * You should have received a copy of the GNU Lesser General Public License 16 * along with gtkD; if not, write to the Free Software 17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA 18 */ 19 20 // generated automatically - do not change 21 // find conversion definition on APILookup.txt 22 // implement new conversion functionalities on the wrap.utils pakage 23 24 25 module gtkc.cairo; 26 27 version(Tango) 28 private import tango.stdc.stdio; 29 else 30 private import std.stdio; 31 32 private import gtkc.cairotypes; 33 private import gtkc.Loader; 34 private import gtkc.paths; 35 36 mixin( _shared ~ "static this() 37 { 38 // cairo.Context 39 40 Linker.link(cairo_create, \"cairo_create\", LIBRARY.CAIRO); 41 Linker.link(cairo_reference, \"cairo_reference\", LIBRARY.CAIRO); 42 Linker.link(cairo_destroy, \"cairo_destroy\", LIBRARY.CAIRO); 43 Linker.link(cairo_status, \"cairo_status\", LIBRARY.CAIRO); 44 Linker.link(cairo_save, \"cairo_save\", LIBRARY.CAIRO); 45 Linker.link(cairo_restore, \"cairo_restore\", LIBRARY.CAIRO); 46 Linker.link(cairo_get_target, \"cairo_get_target\", LIBRARY.CAIRO); 47 Linker.link(cairo_push_group, \"cairo_push_group\", LIBRARY.CAIRO); 48 Linker.link(cairo_push_group_with_content, \"cairo_push_group_with_content\", LIBRARY.CAIRO); 49 Linker.link(cairo_pop_group, \"cairo_pop_group\", LIBRARY.CAIRO); 50 Linker.link(cairo_pop_group_to_source, \"cairo_pop_group_to_source\", LIBRARY.CAIRO); 51 Linker.link(cairo_get_group_target, \"cairo_get_group_target\", LIBRARY.CAIRO); 52 Linker.link(cairo_set_source_rgb, \"cairo_set_source_rgb\", LIBRARY.CAIRO); 53 Linker.link(cairo_set_source_rgba, \"cairo_set_source_rgba\", LIBRARY.CAIRO); 54 Linker.link(cairo_set_source, \"cairo_set_source\", LIBRARY.CAIRO); 55 Linker.link(cairo_set_source_surface, \"cairo_set_source_surface\", LIBRARY.CAIRO); 56 Linker.link(cairo_get_source, \"cairo_get_source\", LIBRARY.CAIRO); 57 Linker.link(cairo_set_antialias, \"cairo_set_antialias\", LIBRARY.CAIRO); 58 Linker.link(cairo_get_antialias, \"cairo_get_antialias\", LIBRARY.CAIRO); 59 Linker.link(cairo_set_dash, \"cairo_set_dash\", LIBRARY.CAIRO); 60 Linker.link(cairo_get_dash_count, \"cairo_get_dash_count\", LIBRARY.CAIRO); 61 Linker.link(cairo_get_dash, \"cairo_get_dash\", LIBRARY.CAIRO); 62 Linker.link(cairo_set_fill_rule, \"cairo_set_fill_rule\", LIBRARY.CAIRO); 63 Linker.link(cairo_get_fill_rule, \"cairo_get_fill_rule\", LIBRARY.CAIRO); 64 Linker.link(cairo_set_line_cap, \"cairo_set_line_cap\", LIBRARY.CAIRO); 65 Linker.link(cairo_get_line_cap, \"cairo_get_line_cap\", LIBRARY.CAIRO); 66 Linker.link(cairo_set_line_join, \"cairo_set_line_join\", LIBRARY.CAIRO); 67 Linker.link(cairo_get_line_join, \"cairo_get_line_join\", LIBRARY.CAIRO); 68 Linker.link(cairo_set_line_width, \"cairo_set_line_width\", LIBRARY.CAIRO); 69 Linker.link(cairo_get_line_width, \"cairo_get_line_width\", LIBRARY.CAIRO); 70 Linker.link(cairo_set_miter_limit, \"cairo_set_miter_limit\", LIBRARY.CAIRO); 71 Linker.link(cairo_get_miter_limit, \"cairo_get_miter_limit\", LIBRARY.CAIRO); 72 Linker.link(cairo_set_operator, \"cairo_set_operator\", LIBRARY.CAIRO); 73 Linker.link(cairo_get_operator, \"cairo_get_operator\", LIBRARY.CAIRO); 74 Linker.link(cairo_set_tolerance, \"cairo_set_tolerance\", LIBRARY.CAIRO); 75 Linker.link(cairo_get_tolerance, \"cairo_get_tolerance\", LIBRARY.CAIRO); 76 Linker.link(cairo_clip, \"cairo_clip\", LIBRARY.CAIRO); 77 Linker.link(cairo_clip_preserve, \"cairo_clip_preserve\", LIBRARY.CAIRO); 78 Linker.link(cairo_clip_extents, \"cairo_clip_extents\", LIBRARY.CAIRO); 79 Linker.link(cairo_in_clip, \"cairo_in_clip\", LIBRARY.CAIRO); 80 Linker.link(cairo_reset_clip, \"cairo_reset_clip\", LIBRARY.CAIRO); 81 Linker.link(cairo_rectangle_list_destroy, \"cairo_rectangle_list_destroy\", LIBRARY.CAIRO); 82 Linker.link(cairo_copy_clip_rectangle_list, \"cairo_copy_clip_rectangle_list\", LIBRARY.CAIRO); 83 Linker.link(cairo_fill, \"cairo_fill\", LIBRARY.CAIRO); 84 Linker.link(cairo_fill_preserve, \"cairo_fill_preserve\", LIBRARY.CAIRO); 85 Linker.link(cairo_fill_extents, \"cairo_fill_extents\", LIBRARY.CAIRO); 86 Linker.link(cairo_in_fill, \"cairo_in_fill\", LIBRARY.CAIRO); 87 Linker.link(cairo_mask, \"cairo_mask\", LIBRARY.CAIRO); 88 Linker.link(cairo_mask_surface, \"cairo_mask_surface\", LIBRARY.CAIRO); 89 Linker.link(cairo_paint, \"cairo_paint\", LIBRARY.CAIRO); 90 Linker.link(cairo_paint_with_alpha, \"cairo_paint_with_alpha\", LIBRARY.CAIRO); 91 Linker.link(cairo_stroke, \"cairo_stroke\", LIBRARY.CAIRO); 92 Linker.link(cairo_stroke_preserve, \"cairo_stroke_preserve\", LIBRARY.CAIRO); 93 Linker.link(cairo_stroke_extents, \"cairo_stroke_extents\", LIBRARY.CAIRO); 94 Linker.link(cairo_in_stroke, \"cairo_in_stroke\", LIBRARY.CAIRO); 95 Linker.link(cairo_copy_page, \"cairo_copy_page\", LIBRARY.CAIRO); 96 Linker.link(cairo_show_page, \"cairo_show_page\", LIBRARY.CAIRO); 97 Linker.link(cairo_get_reference_count, \"cairo_get_reference_count\", LIBRARY.CAIRO); 98 Linker.link(cairo_set_user_data, \"cairo_set_user_data\", LIBRARY.CAIRO); 99 Linker.link(cairo_get_user_data, \"cairo_get_user_data\", LIBRARY.CAIRO); 100 Linker.link(cairo_copy_path, \"cairo_copy_path\", LIBRARY.CAIRO); 101 Linker.link(cairo_copy_path_flat, \"cairo_copy_path_flat\", LIBRARY.CAIRO); 102 Linker.link(cairo_path_destroy, \"cairo_path_destroy\", LIBRARY.CAIRO); 103 Linker.link(cairo_append_path, \"cairo_append_path\", LIBRARY.CAIRO); 104 Linker.link(cairo_has_current_point, \"cairo_has_current_point\", LIBRARY.CAIRO); 105 Linker.link(cairo_get_current_point, \"cairo_get_current_point\", LIBRARY.CAIRO); 106 Linker.link(cairo_new_path, \"cairo_new_path\", LIBRARY.CAIRO); 107 Linker.link(cairo_new_sub_path, \"cairo_new_sub_path\", LIBRARY.CAIRO); 108 Linker.link(cairo_close_path, \"cairo_close_path\", LIBRARY.CAIRO); 109 Linker.link(cairo_arc, \"cairo_arc\", LIBRARY.CAIRO); 110 Linker.link(cairo_arc_negative, \"cairo_arc_negative\", LIBRARY.CAIRO); 111 Linker.link(cairo_curve_to, \"cairo_curve_to\", LIBRARY.CAIRO); 112 Linker.link(cairo_line_to, \"cairo_line_to\", LIBRARY.CAIRO); 113 Linker.link(cairo_move_to, \"cairo_move_to\", LIBRARY.CAIRO); 114 Linker.link(cairo_rectangle, \"cairo_rectangle\", LIBRARY.CAIRO); 115 Linker.link(cairo_glyph_path, \"cairo_glyph_path\", LIBRARY.CAIRO); 116 Linker.link(cairo_text_path, \"cairo_text_path\", LIBRARY.CAIRO); 117 Linker.link(cairo_rel_curve_to, \"cairo_rel_curve_to\", LIBRARY.CAIRO); 118 Linker.link(cairo_rel_line_to, \"cairo_rel_line_to\", LIBRARY.CAIRO); 119 Linker.link(cairo_rel_move_to, \"cairo_rel_move_to\", LIBRARY.CAIRO); 120 Linker.link(cairo_path_extents, \"cairo_path_extents\", LIBRARY.CAIRO); 121 Linker.link(cairo_translate, \"cairo_translate\", LIBRARY.CAIRO); 122 Linker.link(cairo_scale, \"cairo_scale\", LIBRARY.CAIRO); 123 Linker.link(cairo_rotate, \"cairo_rotate\", LIBRARY.CAIRO); 124 Linker.link(cairo_transform, \"cairo_transform\", LIBRARY.CAIRO); 125 Linker.link(cairo_set_matrix, \"cairo_set_matrix\", LIBRARY.CAIRO); 126 Linker.link(cairo_get_matrix, \"cairo_get_matrix\", LIBRARY.CAIRO); 127 Linker.link(cairo_identity_matrix, \"cairo_identity_matrix\", LIBRARY.CAIRO); 128 Linker.link(cairo_user_to_device, \"cairo_user_to_device\", LIBRARY.CAIRO); 129 Linker.link(cairo_user_to_device_distance, \"cairo_user_to_device_distance\", LIBRARY.CAIRO); 130 Linker.link(cairo_device_to_user, \"cairo_device_to_user\", LIBRARY.CAIRO); 131 Linker.link(cairo_device_to_user_distance, \"cairo_device_to_user_distance\", LIBRARY.CAIRO); 132 Linker.link(cairo_select_font_face, \"cairo_select_font_face\", LIBRARY.CAIRO); 133 Linker.link(cairo_set_font_size, \"cairo_set_font_size\", LIBRARY.CAIRO); 134 Linker.link(cairo_set_font_matrix, \"cairo_set_font_matrix\", LIBRARY.CAIRO); 135 Linker.link(cairo_get_font_matrix, \"cairo_get_font_matrix\", LIBRARY.CAIRO); 136 Linker.link(cairo_set_font_options, \"cairo_set_font_options\", LIBRARY.CAIRO); 137 Linker.link(cairo_get_font_options, \"cairo_get_font_options\", LIBRARY.CAIRO); 138 Linker.link(cairo_set_font_face, \"cairo_set_font_face\", LIBRARY.CAIRO); 139 Linker.link(cairo_get_font_face, \"cairo_get_font_face\", LIBRARY.CAIRO); 140 Linker.link(cairo_set_scaled_font, \"cairo_set_scaled_font\", LIBRARY.CAIRO); 141 Linker.link(cairo_get_scaled_font, \"cairo_get_scaled_font\", LIBRARY.CAIRO); 142 Linker.link(cairo_show_text, \"cairo_show_text\", LIBRARY.CAIRO); 143 Linker.link(cairo_show_glyphs, \"cairo_show_glyphs\", LIBRARY.CAIRO); 144 Linker.link(cairo_show_text_glyphs, \"cairo_show_text_glyphs\", LIBRARY.CAIRO); 145 Linker.link(cairo_font_extents, \"cairo_font_extents\", LIBRARY.CAIRO); 146 Linker.link(cairo_text_extents, \"cairo_text_extents\", LIBRARY.CAIRO); 147 Linker.link(cairo_glyph_extents, \"cairo_glyph_extents\", LIBRARY.CAIRO); 148 Linker.link(cairo_toy_font_face_create, \"cairo_toy_font_face_create\", LIBRARY.CAIRO); 149 Linker.link(cairo_toy_font_face_get_family, \"cairo_toy_font_face_get_family\", LIBRARY.CAIRO); 150 Linker.link(cairo_toy_font_face_get_slant, \"cairo_toy_font_face_get_slant\", LIBRARY.CAIRO); 151 Linker.link(cairo_toy_font_face_get_weight, \"cairo_toy_font_face_get_weight\", LIBRARY.CAIRO); 152 Linker.link(cairo_glyph_allocate, \"cairo_glyph_allocate\", LIBRARY.CAIRO); 153 Linker.link(cairo_glyph_free, \"cairo_glyph_free\", LIBRARY.CAIRO); 154 Linker.link(cairo_text_cluster_allocate, \"cairo_text_cluster_allocate\", LIBRARY.CAIRO); 155 Linker.link(cairo_text_cluster_free, \"cairo_text_cluster_free\", LIBRARY.CAIRO); 156 157 // cairo.Pattern 158 159 Linker.link(cairo_pattern_add_color_stop_rgb, \"cairo_pattern_add_color_stop_rgb\", LIBRARY.CAIRO); 160 Linker.link(cairo_pattern_add_color_stop_rgba, \"cairo_pattern_add_color_stop_rgba\", LIBRARY.CAIRO); 161 Linker.link(cairo_pattern_get_color_stop_count, \"cairo_pattern_get_color_stop_count\", LIBRARY.CAIRO); 162 Linker.link(cairo_pattern_get_color_stop_rgba, \"cairo_pattern_get_color_stop_rgba\", LIBRARY.CAIRO); 163 Linker.link(cairo_pattern_create_rgb, \"cairo_pattern_create_rgb\", LIBRARY.CAIRO); 164 Linker.link(cairo_pattern_create_rgba, \"cairo_pattern_create_rgba\", LIBRARY.CAIRO); 165 Linker.link(cairo_pattern_get_rgba, \"cairo_pattern_get_rgba\", LIBRARY.CAIRO); 166 Linker.link(cairo_pattern_create_for_surface, \"cairo_pattern_create_for_surface\", LIBRARY.CAIRO); 167 Linker.link(cairo_pattern_get_surface, \"cairo_pattern_get_surface\", LIBRARY.CAIRO); 168 Linker.link(cairo_pattern_create_linear, \"cairo_pattern_create_linear\", LIBRARY.CAIRO); 169 Linker.link(cairo_pattern_get_linear_points, \"cairo_pattern_get_linear_points\", LIBRARY.CAIRO); 170 Linker.link(cairo_pattern_create_radial, \"cairo_pattern_create_radial\", LIBRARY.CAIRO); 171 Linker.link(cairo_pattern_get_radial_circles, \"cairo_pattern_get_radial_circles\", LIBRARY.CAIRO); 172 Linker.link(cairo_pattern_create_mesh, \"cairo_pattern_create_mesh\", LIBRARY.CAIRO); 173 Linker.link(cairo_pattern_reference, \"cairo_pattern_reference\", LIBRARY.CAIRO); 174 Linker.link(cairo_pattern_destroy, \"cairo_pattern_destroy\", LIBRARY.CAIRO); 175 Linker.link(cairo_pattern_status, \"cairo_pattern_status\", LIBRARY.CAIRO); 176 Linker.link(cairo_pattern_set_extend, \"cairo_pattern_set_extend\", LIBRARY.CAIRO); 177 Linker.link(cairo_pattern_get_extend, \"cairo_pattern_get_extend\", LIBRARY.CAIRO); 178 Linker.link(cairo_pattern_set_filter, \"cairo_pattern_set_filter\", LIBRARY.CAIRO); 179 Linker.link(cairo_pattern_get_filter, \"cairo_pattern_get_filter\", LIBRARY.CAIRO); 180 Linker.link(cairo_pattern_set_matrix, \"cairo_pattern_set_matrix\", LIBRARY.CAIRO); 181 Linker.link(cairo_pattern_get_matrix, \"cairo_pattern_get_matrix\", LIBRARY.CAIRO); 182 Linker.link(cairo_pattern_get_type, \"cairo_pattern_get_type\", LIBRARY.CAIRO); 183 Linker.link(cairo_pattern_get_reference_count, \"cairo_pattern_get_reference_count\", LIBRARY.CAIRO); 184 Linker.link(cairo_pattern_set_user_data, \"cairo_pattern_set_user_data\", LIBRARY.CAIRO); 185 Linker.link(cairo_pattern_get_user_data, \"cairo_pattern_get_user_data\", LIBRARY.CAIRO); 186 187 // cairo.MeshPattern 188 189 Linker.link(cairo_mesh_pattern_begin_patch, \"cairo_mesh_pattern_begin_patch\", LIBRARY.CAIRO); 190 Linker.link(cairo_mesh_pattern_end_patch, \"cairo_mesh_pattern_end_patch\", LIBRARY.CAIRO); 191 Linker.link(cairo_mesh_pattern_move_to, \"cairo_mesh_pattern_move_to\", LIBRARY.CAIRO); 192 Linker.link(cairo_mesh_pattern_line_to, \"cairo_mesh_pattern_line_to\", LIBRARY.CAIRO); 193 Linker.link(cairo_mesh_pattern_curve_to, \"cairo_mesh_pattern_curve_to\", LIBRARY.CAIRO); 194 Linker.link(cairo_mesh_pattern_set_control_point, \"cairo_mesh_pattern_set_control_point\", LIBRARY.CAIRO); 195 Linker.link(cairo_mesh_pattern_set_corner_color_rgb, \"cairo_mesh_pattern_set_corner_color_rgb\", LIBRARY.CAIRO); 196 Linker.link(cairo_mesh_pattern_set_corner_color_rgba, \"cairo_mesh_pattern_set_corner_color_rgba\", LIBRARY.CAIRO); 197 Linker.link(cairo_mesh_pattern_get_patch_count, \"cairo_mesh_pattern_get_patch_count\", LIBRARY.CAIRO); 198 Linker.link(cairo_mesh_pattern_get_path, \"cairo_mesh_pattern_get_path\", LIBRARY.CAIRO); 199 Linker.link(cairo_mesh_pattern_get_control_point, \"cairo_mesh_pattern_get_control_point\", LIBRARY.CAIRO); 200 Linker.link(cairo_mesh_pattern_get_corner_color_rgba, \"cairo_mesh_pattern_get_corner_color_rgba\", LIBRARY.CAIRO); 201 202 // cairo.Region 203 204 Linker.link(cairo_region_create, \"cairo_region_create\", LIBRARY.CAIRO); 205 Linker.link(cairo_region_create_rectangle, \"cairo_region_create_rectangle\", LIBRARY.CAIRO); 206 Linker.link(cairo_region_create_rectangles, \"cairo_region_create_rectangles\", LIBRARY.CAIRO); 207 Linker.link(cairo_region_copy, \"cairo_region_copy\", LIBRARY.CAIRO); 208 Linker.link(cairo_region_reference, \"cairo_region_reference\", LIBRARY.CAIRO); 209 Linker.link(cairo_region_destroy, \"cairo_region_destroy\", LIBRARY.CAIRO); 210 Linker.link(cairo_region_status, \"cairo_region_status\", LIBRARY.CAIRO); 211 Linker.link(cairo_region_get_extents, \"cairo_region_get_extents\", LIBRARY.CAIRO); 212 Linker.link(cairo_region_num_rectangles, \"cairo_region_num_rectangles\", LIBRARY.CAIRO); 213 Linker.link(cairo_region_get_rectangle, \"cairo_region_get_rectangle\", LIBRARY.CAIRO); 214 Linker.link(cairo_region_is_empty, \"cairo_region_is_empty\", LIBRARY.CAIRO); 215 Linker.link(cairo_region_contains_point, \"cairo_region_contains_point\", LIBRARY.CAIRO); 216 Linker.link(cairo_region_contains_rectangle, \"cairo_region_contains_rectangle\", LIBRARY.CAIRO); 217 Linker.link(cairo_region_equal, \"cairo_region_equal\", LIBRARY.CAIRO); 218 Linker.link(cairo_region_translate, \"cairo_region_translate\", LIBRARY.CAIRO); 219 Linker.link(cairo_region_intersect, \"cairo_region_intersect\", LIBRARY.CAIRO); 220 Linker.link(cairo_region_intersect_rectangle, \"cairo_region_intersect_rectangle\", LIBRARY.CAIRO); 221 Linker.link(cairo_region_subtract, \"cairo_region_subtract\", LIBRARY.CAIRO); 222 Linker.link(cairo_region_subtract_rectangle, \"cairo_region_subtract_rectangle\", LIBRARY.CAIRO); 223 Linker.link(cairo_region_union, \"cairo_region_union\", LIBRARY.CAIRO); 224 Linker.link(cairo_region_union_rectangle, \"cairo_region_union_rectangle\", LIBRARY.CAIRO); 225 Linker.link(cairo_region_xor, \"cairo_region_xor\", LIBRARY.CAIRO); 226 Linker.link(cairo_region_xor_rectangle, \"cairo_region_xor_rectangle\", LIBRARY.CAIRO); 227 228 // cairo.RasterSource 229 230 Linker.link(cairo_pattern_create_raster_source, \"cairo_pattern_create_raster_source\", LIBRARY.CAIRO); 231 Linker.link(cairo_raster_source_pattern_set_callback_data, \"cairo_raster_source_pattern_set_callback_data\", LIBRARY.CAIRO); 232 Linker.link(cairo_raster_source_pattern_get_callback_data, \"cairo_raster_source_pattern_get_callback_data\", LIBRARY.CAIRO); 233 Linker.link(cairo_raster_source_pattern_set_acquire, \"cairo_raster_source_pattern_set_acquire\", LIBRARY.CAIRO); 234 Linker.link(cairo_raster_source_pattern_get_acquire, \"cairo_raster_source_pattern_get_acquire\", LIBRARY.CAIRO); 235 Linker.link(cairo_raster_source_pattern_set_snapshot, \"cairo_raster_source_pattern_set_snapshot\", LIBRARY.CAIRO); 236 Linker.link(cairo_raster_source_pattern_get_snapshot, \"cairo_raster_source_pattern_get_snapshot\", LIBRARY.CAIRO); 237 Linker.link(cairo_raster_source_pattern_set_copy, \"cairo_raster_source_pattern_set_copy\", LIBRARY.CAIRO); 238 Linker.link(cairo_raster_source_pattern_get_copy, \"cairo_raster_source_pattern_get_copy\", LIBRARY.CAIRO); 239 Linker.link(cairo_raster_source_pattern_set_finish, \"cairo_raster_source_pattern_set_finish\", LIBRARY.CAIRO); 240 Linker.link(cairo_raster_source_pattern_get_finish, \"cairo_raster_source_pattern_get_finish\", LIBRARY.CAIRO); 241 242 // cairo.FontFace 243 244 Linker.link(cairo_font_face_reference, \"cairo_font_face_reference\", LIBRARY.CAIRO); 245 Linker.link(cairo_font_face_destroy, \"cairo_font_face_destroy\", LIBRARY.CAIRO); 246 Linker.link(cairo_font_face_status, \"cairo_font_face_status\", LIBRARY.CAIRO); 247 Linker.link(cairo_font_face_get_type, \"cairo_font_face_get_type\", LIBRARY.CAIRO); 248 Linker.link(cairo_font_face_get_reference_count, \"cairo_font_face_get_reference_count\", LIBRARY.CAIRO); 249 Linker.link(cairo_font_face_set_user_data, \"cairo_font_face_set_user_data\", LIBRARY.CAIRO); 250 Linker.link(cairo_font_face_get_user_data, \"cairo_font_face_get_user_data\", LIBRARY.CAIRO); 251 252 // cairo.ScaledFont 253 254 Linker.link(cairo_scaled_font_create, \"cairo_scaled_font_create\", LIBRARY.CAIRO); 255 Linker.link(cairo_scaled_font_reference, \"cairo_scaled_font_reference\", LIBRARY.CAIRO); 256 Linker.link(cairo_scaled_font_destroy, \"cairo_scaled_font_destroy\", LIBRARY.CAIRO); 257 Linker.link(cairo_scaled_font_status, \"cairo_scaled_font_status\", LIBRARY.CAIRO); 258 Linker.link(cairo_scaled_font_extents, \"cairo_scaled_font_extents\", LIBRARY.CAIRO); 259 Linker.link(cairo_scaled_font_text_extents, \"cairo_scaled_font_text_extents\", LIBRARY.CAIRO); 260 Linker.link(cairo_scaled_font_glyph_extents, \"cairo_scaled_font_glyph_extents\", LIBRARY.CAIRO); 261 Linker.link(cairo_scaled_font_text_to_glyphs, \"cairo_scaled_font_text_to_glyphs\", LIBRARY.CAIRO); 262 Linker.link(cairo_scaled_font_get_font_face, \"cairo_scaled_font_get_font_face\", LIBRARY.CAIRO); 263 Linker.link(cairo_scaled_font_get_font_options, \"cairo_scaled_font_get_font_options\", LIBRARY.CAIRO); 264 Linker.link(cairo_scaled_font_get_font_matrix, \"cairo_scaled_font_get_font_matrix\", LIBRARY.CAIRO); 265 Linker.link(cairo_scaled_font_get_ctm, \"cairo_scaled_font_get_ctm\", LIBRARY.CAIRO); 266 Linker.link(cairo_scaled_font_get_scale_matrix, \"cairo_scaled_font_get_scale_matrix\", LIBRARY.CAIRO); 267 Linker.link(cairo_scaled_font_get_type, \"cairo_scaled_font_get_type\", LIBRARY.CAIRO); 268 Linker.link(cairo_scaled_font_get_reference_count, \"cairo_scaled_font_get_reference_count\", LIBRARY.CAIRO); 269 Linker.link(cairo_scaled_font_set_user_data, \"cairo_scaled_font_set_user_data\", LIBRARY.CAIRO); 270 Linker.link(cairo_scaled_font_get_user_data, \"cairo_scaled_font_get_user_data\", LIBRARY.CAIRO); 271 272 // cairo.FontOption 273 274 Linker.link(cairo_font_options_create, \"cairo_font_options_create\", LIBRARY.CAIRO); 275 Linker.link(cairo_font_options_copy, \"cairo_font_options_copy\", LIBRARY.CAIRO); 276 Linker.link(cairo_font_options_destroy, \"cairo_font_options_destroy\", LIBRARY.CAIRO); 277 Linker.link(cairo_font_options_status, \"cairo_font_options_status\", LIBRARY.CAIRO); 278 Linker.link(cairo_font_options_merge, \"cairo_font_options_merge\", LIBRARY.CAIRO); 279 Linker.link(cairo_font_options_hash, \"cairo_font_options_hash\", LIBRARY.CAIRO); 280 Linker.link(cairo_font_options_equal, \"cairo_font_options_equal\", LIBRARY.CAIRO); 281 Linker.link(cairo_font_options_set_antialias, \"cairo_font_options_set_antialias\", LIBRARY.CAIRO); 282 Linker.link(cairo_font_options_get_antialias, \"cairo_font_options_get_antialias\", LIBRARY.CAIRO); 283 Linker.link(cairo_font_options_set_subpixel_order, \"cairo_font_options_set_subpixel_order\", LIBRARY.CAIRO); 284 Linker.link(cairo_font_options_get_subpixel_order, \"cairo_font_options_get_subpixel_order\", LIBRARY.CAIRO); 285 Linker.link(cairo_font_options_set_hint_style, \"cairo_font_options_set_hint_style\", LIBRARY.CAIRO); 286 Linker.link(cairo_font_options_get_hint_style, \"cairo_font_options_get_hint_style\", LIBRARY.CAIRO); 287 Linker.link(cairo_font_options_set_hint_metrics, \"cairo_font_options_set_hint_metrics\", LIBRARY.CAIRO); 288 Linker.link(cairo_font_options_get_hint_metrics, \"cairo_font_options_get_hint_metrics\", LIBRARY.CAIRO); 289 290 // cairo.UserFontFace 291 292 Linker.link(cairo_user_font_face_create, \"cairo_user_font_face_create\", LIBRARY.CAIRO); 293 Linker.link(cairo_user_font_face_set_init_func, \"cairo_user_font_face_set_init_func\", LIBRARY.CAIRO); 294 Linker.link(cairo_user_font_face_get_init_func, \"cairo_user_font_face_get_init_func\", LIBRARY.CAIRO); 295 Linker.link(cairo_user_font_face_set_render_glyph_func, \"cairo_user_font_face_set_render_glyph_func\", LIBRARY.CAIRO); 296 Linker.link(cairo_user_font_face_get_render_glyph_func, \"cairo_user_font_face_get_render_glyph_func\", LIBRARY.CAIRO); 297 Linker.link(cairo_user_font_face_set_unicode_to_glyph_func, \"cairo_user_font_face_set_unicode_to_glyph_func\", LIBRARY.CAIRO); 298 Linker.link(cairo_user_font_face_get_unicode_to_glyph_func, \"cairo_user_font_face_get_unicode_to_glyph_func\", LIBRARY.CAIRO); 299 Linker.link(cairo_user_font_face_set_text_to_glyphs_func, \"cairo_user_font_face_set_text_to_glyphs_func\", LIBRARY.CAIRO); 300 Linker.link(cairo_user_font_face_get_text_to_glyphs_func, \"cairo_user_font_face_get_text_to_glyphs_func\", LIBRARY.CAIRO); 301 302 // cairo.Device 303 304 Linker.link(cairo_device_reference, \"cairo_device_reference\", LIBRARY.CAIRO); 305 Linker.link(cairo_device_destroy, \"cairo_device_destroy\", LIBRARY.CAIRO); 306 Linker.link(cairo_device_status, \"cairo_device_status\", LIBRARY.CAIRO); 307 Linker.link(cairo_device_finish, \"cairo_device_finish\", LIBRARY.CAIRO); 308 Linker.link(cairo_device_flush, \"cairo_device_flush\", LIBRARY.CAIRO); 309 Linker.link(cairo_device_get_type, \"cairo_device_get_type\", LIBRARY.CAIRO); 310 Linker.link(cairo_device_get_reference_count, \"cairo_device_get_reference_count\", LIBRARY.CAIRO); 311 Linker.link(cairo_device_set_user_data, \"cairo_device_set_user_data\", LIBRARY.CAIRO); 312 Linker.link(cairo_device_get_user_data, \"cairo_device_get_user_data\", LIBRARY.CAIRO); 313 Linker.link(cairo_device_acquire, \"cairo_device_acquire\", LIBRARY.CAIRO); 314 Linker.link(cairo_device_release, \"cairo_device_release\", LIBRARY.CAIRO); 315 316 // cairo.Surface 317 318 Linker.link(cairo_surface_create_similar, \"cairo_surface_create_similar\", LIBRARY.CAIRO); 319 Linker.link(cairo_surface_create_similar_image, \"cairo_surface_create_similar_image\", LIBRARY.CAIRO); 320 Linker.link(cairo_surface_create_for_rectangle, \"cairo_surface_create_for_rectangle\", LIBRARY.CAIRO); 321 Linker.link(cairo_surface_reference, \"cairo_surface_reference\", LIBRARY.CAIRO); 322 Linker.link(cairo_surface_destroy, \"cairo_surface_destroy\", LIBRARY.CAIRO); 323 Linker.link(cairo_surface_status, \"cairo_surface_status\", LIBRARY.CAIRO); 324 Linker.link(cairo_surface_finish, \"cairo_surface_finish\", LIBRARY.CAIRO); 325 Linker.link(cairo_surface_flush, \"cairo_surface_flush\", LIBRARY.CAIRO); 326 Linker.link(cairo_surface_get_device, \"cairo_surface_get_device\", LIBRARY.CAIRO); 327 Linker.link(cairo_surface_get_font_options, \"cairo_surface_get_font_options\", LIBRARY.CAIRO); 328 Linker.link(cairo_surface_get_content, \"cairo_surface_get_content\", LIBRARY.CAIRO); 329 Linker.link(cairo_surface_mark_dirty, \"cairo_surface_mark_dirty\", LIBRARY.CAIRO); 330 Linker.link(cairo_surface_mark_dirty_rectangle, \"cairo_surface_mark_dirty_rectangle\", LIBRARY.CAIRO); 331 Linker.link(cairo_surface_set_device_offset, \"cairo_surface_set_device_offset\", LIBRARY.CAIRO); 332 Linker.link(cairo_surface_get_device_offset, \"cairo_surface_get_device_offset\", LIBRARY.CAIRO); 333 Linker.link(cairo_surface_set_fallback_resolution, \"cairo_surface_set_fallback_resolution\", LIBRARY.CAIRO); 334 Linker.link(cairo_surface_get_fallback_resolution, \"cairo_surface_get_fallback_resolution\", LIBRARY.CAIRO); 335 Linker.link(cairo_surface_get_type, \"cairo_surface_get_type\", LIBRARY.CAIRO); 336 Linker.link(cairo_surface_get_reference_count, \"cairo_surface_get_reference_count\", LIBRARY.CAIRO); 337 Linker.link(cairo_surface_set_user_data, \"cairo_surface_set_user_data\", LIBRARY.CAIRO); 338 Linker.link(cairo_surface_get_user_data, \"cairo_surface_get_user_data\", LIBRARY.CAIRO); 339 Linker.link(cairo_surface_copy_page, \"cairo_surface_copy_page\", LIBRARY.CAIRO); 340 Linker.link(cairo_surface_show_page, \"cairo_surface_show_page\", LIBRARY.CAIRO); 341 Linker.link(cairo_surface_has_show_text_glyphs, \"cairo_surface_has_show_text_glyphs\", LIBRARY.CAIRO); 342 Linker.link(cairo_surface_set_mime_data, \"cairo_surface_set_mime_data\", LIBRARY.CAIRO); 343 Linker.link(cairo_surface_get_mime_data, \"cairo_surface_get_mime_data\", LIBRARY.CAIRO); 344 Linker.link(cairo_surface_supports_mime_type, \"cairo_surface_supports_mime_type\", LIBRARY.CAIRO); 345 Linker.link(cairo_surface_map_to_image, \"cairo_surface_map_to_image\", LIBRARY.CAIRO); 346 Linker.link(cairo_surface_unmap_image, \"cairo_surface_unmap_image\", LIBRARY.CAIRO); 347 348 // cairo.ImageSurface 349 350 Linker.link(cairo_format_stride_for_width, \"cairo_format_stride_for_width\", LIBRARY.CAIRO); 351 Linker.link(cairo_image_surface_create, \"cairo_image_surface_create\", LIBRARY.CAIRO); 352 Linker.link(cairo_image_surface_create_for_data, \"cairo_image_surface_create_for_data\", LIBRARY.CAIRO); 353 Linker.link(cairo_image_surface_get_data, \"cairo_image_surface_get_data\", LIBRARY.CAIRO); 354 Linker.link(cairo_image_surface_get_format, \"cairo_image_surface_get_format\", LIBRARY.CAIRO); 355 Linker.link(cairo_image_surface_get_width, \"cairo_image_surface_get_width\", LIBRARY.CAIRO); 356 Linker.link(cairo_image_surface_get_height, \"cairo_image_surface_get_height\", LIBRARY.CAIRO); 357 Linker.link(cairo_image_surface_get_stride, \"cairo_image_surface_get_stride\", LIBRARY.CAIRO); 358 Linker.link(cairo_image_surface_create_from_png, \"cairo_image_surface_create_from_png\", LIBRARY.CAIRO); 359 Linker.link(cairo_image_surface_create_from_png_stream, \"cairo_image_surface_create_from_png_stream\", LIBRARY.CAIRO); 360 Linker.link(cairo_surface_write_to_png, \"cairo_surface_write_to_png\", LIBRARY.CAIRO); 361 Linker.link(cairo_surface_write_to_png_stream, \"cairo_surface_write_to_png_stream\", LIBRARY.CAIRO); 362 363 // cairo.PdfSurface 364 365 Linker.link(cairo_pdf_surface_create, \"cairo_pdf_surface_create\", LIBRARY.CAIRO); 366 Linker.link(cairo_pdf_surface_create_for_stream, \"cairo_pdf_surface_create_for_stream\", LIBRARY.CAIRO); 367 Linker.link(cairo_pdf_surface_restrict_to_version, \"cairo_pdf_surface_restrict_to_version\", LIBRARY.CAIRO); 368 Linker.link(cairo_pdf_get_versions, \"cairo_pdf_get_versions\", LIBRARY.CAIRO); 369 Linker.link(cairo_pdf_version_to_string, \"cairo_pdf_version_to_string\", LIBRARY.CAIRO); 370 Linker.link(cairo_pdf_surface_set_size, \"cairo_pdf_surface_set_size\", LIBRARY.CAIRO); 371 372 // cairo.PostScriptSurface 373 374 Linker.link(cairo_ps_surface_create, \"cairo_ps_surface_create\", LIBRARY.CAIRO); 375 Linker.link(cairo_ps_surface_create_for_stream, \"cairo_ps_surface_create_for_stream\", LIBRARY.CAIRO); 376 Linker.link(cairo_ps_surface_restrict_to_level, \"cairo_ps_surface_restrict_to_level\", LIBRARY.CAIRO); 377 Linker.link(cairo_ps_get_levels, \"cairo_ps_get_levels\", LIBRARY.CAIRO); 378 Linker.link(cairo_ps_level_to_string, \"cairo_ps_level_to_string\", LIBRARY.CAIRO); 379 Linker.link(cairo_ps_surface_set_eps, \"cairo_ps_surface_set_eps\", LIBRARY.CAIRO); 380 Linker.link(cairo_ps_surface_get_eps, \"cairo_ps_surface_get_eps\", LIBRARY.CAIRO); 381 Linker.link(cairo_ps_surface_set_size, \"cairo_ps_surface_set_size\", LIBRARY.CAIRO); 382 Linker.link(cairo_ps_surface_dsc_begin_setup, \"cairo_ps_surface_dsc_begin_setup\", LIBRARY.CAIRO); 383 Linker.link(cairo_ps_surface_dsc_begin_page_setup, \"cairo_ps_surface_dsc_begin_page_setup\", LIBRARY.CAIRO); 384 Linker.link(cairo_ps_surface_dsc_comment, \"cairo_ps_surface_dsc_comment\", LIBRARY.CAIRO); 385 386 // cairo.RecordingSurface 387 388 Linker.link(cairo_recording_surface_create, \"cairo_recording_surface_create\", LIBRARY.CAIRO); 389 Linker.link(cairo_recording_surface_ink_extents, \"cairo_recording_surface_ink_extents\", LIBRARY.CAIRO); 390 Linker.link(cairo_recording_surface_get_extents, \"cairo_recording_surface_get_extents\", LIBRARY.CAIRO); 391 392 // cairo.SvgSurface 393 394 Linker.link(cairo_svg_surface_create, \"cairo_svg_surface_create\", LIBRARY.CAIRO); 395 Linker.link(cairo_svg_surface_create_for_stream, \"cairo_svg_surface_create_for_stream\", LIBRARY.CAIRO); 396 Linker.link(cairo_svg_surface_restrict_to_version, \"cairo_svg_surface_restrict_to_version\", LIBRARY.CAIRO); 397 Linker.link(cairo_svg_get_versions, \"cairo_svg_get_versions\", LIBRARY.CAIRO); 398 Linker.link(cairo_svg_version_to_string, \"cairo_svg_version_to_string\", LIBRARY.CAIRO); 399 400 // cairo.Script 401 402 Linker.link(cairo_script_create, \"cairo_script_create\", LIBRARY.CAIRO); 403 Linker.link(cairo_script_create_for_stream, \"cairo_script_create_for_stream\", LIBRARY.CAIRO); 404 Linker.link(cairo_script_from_recording_surface, \"cairo_script_from_recording_surface\", LIBRARY.CAIRO); 405 Linker.link(cairo_script_get_mode, \"cairo_script_get_mode\", LIBRARY.CAIRO); 406 Linker.link(cairo_script_set_mode, \"cairo_script_set_mode\", LIBRARY.CAIRO); 407 Linker.link(cairo_script_write_comment, \"cairo_script_write_comment\", LIBRARY.CAIRO); 408 409 // cairo.ScriptSurface 410 411 Linker.link(cairo_script_surface_create, \"cairo_script_surface_create\", LIBRARY.CAIRO); 412 Linker.link(cairo_script_surface_create_for_target, \"cairo_script_surface_create_for_target\", LIBRARY.CAIRO); 413 414 // cairo.Matrix 415 416 Linker.link(cairo_matrix_init, \"cairo_matrix_init\", LIBRARY.CAIRO); 417 Linker.link(cairo_matrix_init_identity, \"cairo_matrix_init_identity\", LIBRARY.CAIRO); 418 Linker.link(cairo_matrix_init_translate, \"cairo_matrix_init_translate\", LIBRARY.CAIRO); 419 Linker.link(cairo_matrix_init_scale, \"cairo_matrix_init_scale\", LIBRARY.CAIRO); 420 Linker.link(cairo_matrix_init_rotate, \"cairo_matrix_init_rotate\", LIBRARY.CAIRO); 421 Linker.link(cairo_matrix_translate, \"cairo_matrix_translate\", LIBRARY.CAIRO); 422 Linker.link(cairo_matrix_scale, \"cairo_matrix_scale\", LIBRARY.CAIRO); 423 Linker.link(cairo_matrix_rotate, \"cairo_matrix_rotate\", LIBRARY.CAIRO); 424 Linker.link(cairo_matrix_invert, \"cairo_matrix_invert\", LIBRARY.CAIRO); 425 Linker.link(cairo_matrix_multiply, \"cairo_matrix_multiply\", LIBRARY.CAIRO); 426 Linker.link(cairo_matrix_transform_distance, \"cairo_matrix_transform_distance\", LIBRARY.CAIRO); 427 Linker.link(cairo_matrix_transform_point, \"cairo_matrix_transform_point\", LIBRARY.CAIRO); 428 429 // cairo.Status 430 431 Linker.link(cairo_status_to_string, \"cairo_status_to_string\", LIBRARY.CAIRO); 432 Linker.link(cairo_debug_reset_static_data, \"cairo_debug_reset_static_data\", LIBRARY.CAIRO); 433 434 // cairo.Version 435 436 Linker.link(cairo_version, \"cairo_version\", LIBRARY.CAIRO); 437 Linker.link(cairo_version_string, \"cairo_version_string\", LIBRARY.CAIRO); 438 439 // cairo. 440 441 }"); 442 443 mixin( gshared ~"extern(C) 444 { 445 // cairo.Context 446 447 cairo_t* function(cairo_surface_t* target) c_cairo_create; 448 cairo_t* function(cairo_t* cr) c_cairo_reference; 449 void function(cairo_t* cr) c_cairo_destroy; 450 cairo_status_t function(cairo_t* cr) c_cairo_status; 451 void function(cairo_t* cr) c_cairo_save; 452 void function(cairo_t* cr) c_cairo_restore; 453 cairo_surface_t* function(cairo_t* cr) c_cairo_get_target; 454 void function(cairo_t* cr) c_cairo_push_group; 455 void function(cairo_t* cr, cairo_content_t content) c_cairo_push_group_with_content; 456 cairo_pattern_t* function(cairo_t* cr) c_cairo_pop_group; 457 void function(cairo_t* cr) c_cairo_pop_group_to_source; 458 cairo_surface_t* function(cairo_t* cr) c_cairo_get_group_target; 459 void function(cairo_t* cr, double red, double green, double blue) c_cairo_set_source_rgb; 460 void function(cairo_t* cr, double red, double green, double blue, double alpha) c_cairo_set_source_rgba; 461 void function(cairo_t* cr, cairo_pattern_t* source) c_cairo_set_source; 462 void function(cairo_t* cr, cairo_surface_t* surface, double x, double y) c_cairo_set_source_surface; 463 cairo_pattern_t* function(cairo_t* cr) c_cairo_get_source; 464 void function(cairo_t* cr, cairo_antialias_t antialias) c_cairo_set_antialias; 465 cairo_antialias_t function(cairo_t* cr) c_cairo_get_antialias; 466 void function(cairo_t* cr, double* dashes, int numDashes, double offset) c_cairo_set_dash; 467 int function(cairo_t* cr) c_cairo_get_dash_count; 468 void function(cairo_t* cr, double* dashes, double* offset) c_cairo_get_dash; 469 void function(cairo_t* cr, cairo_fill_rule_t fillRule) c_cairo_set_fill_rule; 470 cairo_fill_rule_t function(cairo_t* cr) c_cairo_get_fill_rule; 471 void function(cairo_t* cr, cairo_line_cap_t lineCap) c_cairo_set_line_cap; 472 cairo_line_cap_t function(cairo_t* cr) c_cairo_get_line_cap; 473 void function(cairo_t* cr, cairo_line_join_t lineJoin) c_cairo_set_line_join; 474 cairo_line_join_t function(cairo_t* cr) c_cairo_get_line_join; 475 void function(cairo_t* cr, double width) c_cairo_set_line_width; 476 double function(cairo_t* cr) c_cairo_get_line_width; 477 void function(cairo_t* cr, double limit) c_cairo_set_miter_limit; 478 double function(cairo_t* cr) c_cairo_get_miter_limit; 479 void function(cairo_t* cr, cairo_operator_t op) c_cairo_set_operator; 480 cairo_operator_t function(cairo_t* cr) c_cairo_get_operator; 481 void function(cairo_t* cr, double tolerance) c_cairo_set_tolerance; 482 double function(cairo_t* cr) c_cairo_get_tolerance; 483 void function(cairo_t* cr) c_cairo_clip; 484 void function(cairo_t* cr) c_cairo_clip_preserve; 485 void function(cairo_t* cr, double* x1, double* y1, double* x2, double* y2) c_cairo_clip_extents; 486 cairo_bool_t function(cairo_t* cr, double x, double y) c_cairo_in_clip; 487 void function(cairo_t* cr) c_cairo_reset_clip; 488 void function(cairo_rectangle_list_t* rectangleList) c_cairo_rectangle_list_destroy; 489 cairo_rectangle_list_t* function(cairo_t* cr) c_cairo_copy_clip_rectangle_list; 490 void function(cairo_t* cr) c_cairo_fill; 491 void function(cairo_t* cr) c_cairo_fill_preserve; 492 void function(cairo_t* cr, double* x1, double* y1, double* x2, double* y2) c_cairo_fill_extents; 493 cairo_bool_t function(cairo_t* cr, double x, double y) c_cairo_in_fill; 494 void function(cairo_t* cr, cairo_pattern_t* pattern) c_cairo_mask; 495 void function(cairo_t* cr, cairo_surface_t* surface, double surfaceX, double surfaceY) c_cairo_mask_surface; 496 void function(cairo_t* cr) c_cairo_paint; 497 void function(cairo_t* cr, double alpha) c_cairo_paint_with_alpha; 498 void function(cairo_t* cr) c_cairo_stroke; 499 void function(cairo_t* cr) c_cairo_stroke_preserve; 500 void function(cairo_t* cr, double* x1, double* y1, double* x2, double* y2) c_cairo_stroke_extents; 501 cairo_bool_t function(cairo_t* cr, double x, double y) c_cairo_in_stroke; 502 void function(cairo_t* cr) c_cairo_copy_page; 503 void function(cairo_t* cr) c_cairo_show_page; 504 uint function(cairo_t* cr) c_cairo_get_reference_count; 505 cairo_status_t function(cairo_t* cr, cairo_user_data_key_t* key, void* userData, cairo_destroy_func_t destroy) c_cairo_set_user_data; 506 void* function(cairo_t* cr, cairo_user_data_key_t* key) c_cairo_get_user_data; 507 cairo_path_t* function(cairo_t* cr) c_cairo_copy_path; 508 cairo_path_t* function(cairo_t* cr) c_cairo_copy_path_flat; 509 void function(cairo_path_t* path) c_cairo_path_destroy; 510 void function(cairo_t* cr, cairo_path_t* path) c_cairo_append_path; 511 cairo_bool_t function(cairo_t* cr) c_cairo_has_current_point; 512 void function(cairo_t* cr, double* x, double* y) c_cairo_get_current_point; 513 void function(cairo_t* cr) c_cairo_new_path; 514 void function(cairo_t* cr) c_cairo_new_sub_path; 515 void function(cairo_t* cr) c_cairo_close_path; 516 void function(cairo_t* cr, double xc, double yc, double radius, double angle1, double angle2) c_cairo_arc; 517 void function(cairo_t* cr, double xc, double yc, double radius, double angle1, double angle2) c_cairo_arc_negative; 518 void function(cairo_t* cr, double x1, double y1, double x2, double y2, double x3, double y3) c_cairo_curve_to; 519 void function(cairo_t* cr, double x, double y) c_cairo_line_to; 520 void function(cairo_t* cr, double x, double y) c_cairo_move_to; 521 void function(cairo_t* cr, double x, double y, double width, double height) c_cairo_rectangle; 522 void function(cairo_t* cr, cairo_glyph_t* glyphs, int numGlyphs) c_cairo_glyph_path; 523 void function(cairo_t* cr, char* utf8) c_cairo_text_path; 524 void function(cairo_t* cr, double dx1, double dy1, double dx2, double dy2, double dx3, double dy3) c_cairo_rel_curve_to; 525 void function(cairo_t* cr, double dx, double dy) c_cairo_rel_line_to; 526 void function(cairo_t* cr, double dx, double dy) c_cairo_rel_move_to; 527 void function(cairo_t* cr, double* x1, double* y1, double* x2, double* y2) c_cairo_path_extents; 528 void function(cairo_t* cr, double tx, double ty) c_cairo_translate; 529 void function(cairo_t* cr, double sx, double sy) c_cairo_scale; 530 void function(cairo_t* cr, double angle) c_cairo_rotate; 531 void function(cairo_t* cr, cairo_matrix_t* matrix) c_cairo_transform; 532 void function(cairo_t* cr, cairo_matrix_t* matrix) c_cairo_set_matrix; 533 void function(cairo_t* cr, cairo_matrix_t* matrix) c_cairo_get_matrix; 534 void function(cairo_t* cr) c_cairo_identity_matrix; 535 void function(cairo_t* cr, double* x, double* y) c_cairo_user_to_device; 536 void function(cairo_t* cr, double* dx, double* dy) c_cairo_user_to_device_distance; 537 void function(cairo_t* cr, double* x, double* y) c_cairo_device_to_user; 538 void function(cairo_t* cr, double* dx, double* dy) c_cairo_device_to_user_distance; 539 void function(cairo_t* cr, char* family, cairo_font_slant_t slant, cairo_font_weight_t weight) c_cairo_select_font_face; 540 void function(cairo_t* cr, double size) c_cairo_set_font_size; 541 void function(cairo_t* cr, cairo_matrix_t* matrix) c_cairo_set_font_matrix; 542 void function(cairo_t* cr, cairo_matrix_t* matrix) c_cairo_get_font_matrix; 543 void function(cairo_t* cr, cairo_font_options_t* options) c_cairo_set_font_options; 544 void function(cairo_t* cr, cairo_font_options_t* options) c_cairo_get_font_options; 545 void function(cairo_t* cr, cairo_font_face_t* fontFace) c_cairo_set_font_face; 546 cairo_font_face_t* function(cairo_t* cr) c_cairo_get_font_face; 547 void function(cairo_t* cr, cairo_scaled_font_t* scaledFont) c_cairo_set_scaled_font; 548 cairo_scaled_font_t* function(cairo_t* cr) c_cairo_get_scaled_font; 549 void function(cairo_t* cr, char* utf8) c_cairo_show_text; 550 void function(cairo_t* cr, cairo_glyph_t* glyphs, int numGlyphs) c_cairo_show_glyphs; 551 void function(cairo_t* cr, char* utf8, int utf8_Len, cairo_glyph_t* glyphs, int numGlyphs, cairo_text_cluster_t* clusters, int numClusters, cairo_text_cluster_flags_t clusterFlags) c_cairo_show_text_glyphs; 552 void function(cairo_t* cr, cairo_font_extents_t* extents) c_cairo_font_extents; 553 void function(cairo_t* cr, char* utf8, cairo_text_extents_t* extents) c_cairo_text_extents; 554 void function(cairo_t* cr, cairo_glyph_t* glyphs, int numGlyphs, cairo_text_extents_t* extents) c_cairo_glyph_extents; 555 cairo_font_face_t* function(char* family, cairo_font_slant_t slant, cairo_font_weight_t weight) c_cairo_toy_font_face_create; 556 char* function(cairo_font_face_t* fontFace) c_cairo_toy_font_face_get_family; 557 cairo_font_slant_t function(cairo_font_face_t* fontFace) c_cairo_toy_font_face_get_slant; 558 cairo_font_weight_t function(cairo_font_face_t* fontFace) c_cairo_toy_font_face_get_weight; 559 cairo_glyph_t* function(int numGlyphs) c_cairo_glyph_allocate; 560 void function(cairo_glyph_t* glyphs) c_cairo_glyph_free; 561 cairo_text_cluster_t* function(int numClusters) c_cairo_text_cluster_allocate; 562 void function(cairo_text_cluster_t* clusters) c_cairo_text_cluster_free; 563 564 // cairo.Pattern 565 566 void function(cairo_pattern_t* pattern, double offset, double red, double green, double blue) c_cairo_pattern_add_color_stop_rgb; 567 void function(cairo_pattern_t* pattern, double offset, double red, double green, double blue, double alpha) c_cairo_pattern_add_color_stop_rgba; 568 cairo_status_t function(cairo_pattern_t* pattern, int* count) c_cairo_pattern_get_color_stop_count; 569 cairo_status_t function(cairo_pattern_t* pattern, int index, double* offset, double* red, double* green, double* blue, double* alpha) c_cairo_pattern_get_color_stop_rgba; 570 cairo_pattern_t* function(double red, double green, double blue) c_cairo_pattern_create_rgb; 571 cairo_pattern_t* function(double red, double green, double blue, double alpha) c_cairo_pattern_create_rgba; 572 cairo_status_t function(cairo_pattern_t* pattern, double* red, double* green, double* blue, double* alpha) c_cairo_pattern_get_rgba; 573 cairo_pattern_t* function(cairo_surface_t* surface) c_cairo_pattern_create_for_surface; 574 cairo_status_t function(cairo_pattern_t* pattern, cairo_surface_t** surface) c_cairo_pattern_get_surface; 575 cairo_pattern_t* function(double x0, double y0, double x1, double y1) c_cairo_pattern_create_linear; 576 cairo_status_t function(cairo_pattern_t* pattern, double* x0, double* y0, double* x1, double* y1) c_cairo_pattern_get_linear_points; 577 cairo_pattern_t* function(double cx0, double cy0, double radius0, double cx1, double cy1, double radius1) c_cairo_pattern_create_radial; 578 cairo_status_t function(cairo_pattern_t* pattern, double* x0, double* y0, double* r0, double* x1, double* y1, double* r1) c_cairo_pattern_get_radial_circles; 579 cairo_pattern_t* function() c_cairo_pattern_create_mesh; 580 cairo_pattern_t* function(cairo_pattern_t* pattern) c_cairo_pattern_reference; 581 void function(cairo_pattern_t* pattern) c_cairo_pattern_destroy; 582 cairo_status_t function(cairo_pattern_t* pattern) c_cairo_pattern_status; 583 void function(cairo_pattern_t* pattern, cairo_extend_t extend) c_cairo_pattern_set_extend; 584 cairo_extend_t function(cairo_pattern_t* pattern) c_cairo_pattern_get_extend; 585 void function(cairo_pattern_t* pattern, cairo_filter_t filter) c_cairo_pattern_set_filter; 586 cairo_filter_t function(cairo_pattern_t* pattern) c_cairo_pattern_get_filter; 587 void function(cairo_pattern_t* pattern, cairo_matrix_t* matrix) c_cairo_pattern_set_matrix; 588 void function(cairo_pattern_t* pattern, cairo_matrix_t* matrix) c_cairo_pattern_get_matrix; 589 cairo_pattern_type_t function(cairo_pattern_t* pattern) c_cairo_pattern_get_type; 590 uint function(cairo_pattern_t* pattern) c_cairo_pattern_get_reference_count; 591 cairo_status_t function(cairo_pattern_t* pattern, cairo_user_data_key_t* key, void* userData, cairo_destroy_func_t destroy) c_cairo_pattern_set_user_data; 592 void* function(cairo_pattern_t* pattern, cairo_user_data_key_t* key) c_cairo_pattern_get_user_data; 593 594 // cairo.MeshPattern 595 596 void function(cairo_pattern_t* pattern) c_cairo_mesh_pattern_begin_patch; 597 void function(cairo_pattern_t* pattern) c_cairo_mesh_pattern_end_patch; 598 void function(cairo_pattern_t* pattern, double x, double y) c_cairo_mesh_pattern_move_to; 599 void function(cairo_pattern_t* pattern, double x, double y) c_cairo_mesh_pattern_line_to; 600 void function(cairo_pattern_t* pattern, double x1, double y1, double x2, double y2, double x3, double y3) c_cairo_mesh_pattern_curve_to; 601 void function(cairo_pattern_t* pattern, uint pointNum, double x, double y) c_cairo_mesh_pattern_set_control_point; 602 void function(cairo_pattern_t* pattern, uint cornerNum, double red, double green, double blue) c_cairo_mesh_pattern_set_corner_color_rgb; 603 void function(cairo_pattern_t* pattern, uint cornerNum, double red, double green, double blue, double alpha) c_cairo_mesh_pattern_set_corner_color_rgba; 604 cairo_status_t function(cairo_pattern_t* pattern, uint* count) c_cairo_mesh_pattern_get_patch_count; 605 cairo_path_t* function(cairo_pattern_t* pattern, uint patchNum) c_cairo_mesh_pattern_get_path; 606 cairo_status_t function(cairo_pattern_t* pattern, uint patchNum, uint pointNum, double* x, double* y) c_cairo_mesh_pattern_get_control_point; 607 cairo_status_t function(cairo_pattern_t* pattern, uint patchNum, uint cornerNum, double* red, double* green, double* blue, double* alpha) c_cairo_mesh_pattern_get_corner_color_rgba; 608 609 // cairo.Region 610 611 cairo_region_t* function() c_cairo_region_create; 612 cairo_region_t* function(cairo_rectangle_int_t* rectangle) c_cairo_region_create_rectangle; 613 cairo_region_t* function(cairo_rectangle_int_t* rects, int count) c_cairo_region_create_rectangles; 614 cairo_region_t* function(cairo_region_t* original) c_cairo_region_copy; 615 cairo_region_t* function(cairo_region_t* region) c_cairo_region_reference; 616 void function(cairo_region_t* region) c_cairo_region_destroy; 617 cairo_status_t function(cairo_region_t* region) c_cairo_region_status; 618 void function(cairo_region_t* region, cairo_rectangle_int_t* extents) c_cairo_region_get_extents; 619 int function(cairo_region_t* region) c_cairo_region_num_rectangles; 620 void function(cairo_region_t* region, int nth, cairo_rectangle_int_t* rectangle) c_cairo_region_get_rectangle; 621 cairo_bool_t function(cairo_region_t* region) c_cairo_region_is_empty; 622 cairo_bool_t function(cairo_region_t* region, int x, int y) c_cairo_region_contains_point; 623 cairo_region_overlap_t function(cairo_region_t* region, cairo_rectangle_int_t* rectangle) c_cairo_region_contains_rectangle; 624 cairo_bool_t function(cairo_region_t* a, cairo_region_t* b) c_cairo_region_equal; 625 void function(cairo_region_t* region, int dx, int dy) c_cairo_region_translate; 626 cairo_status_t function(cairo_region_t* dst, cairo_region_t* other) c_cairo_region_intersect; 627 cairo_status_t function(cairo_region_t* dst, cairo_rectangle_int_t* rectangle) c_cairo_region_intersect_rectangle; 628 cairo_status_t function(cairo_region_t* dst, cairo_region_t* other) c_cairo_region_subtract; 629 cairo_status_t function(cairo_region_t* dst, cairo_rectangle_int_t* rectangle) c_cairo_region_subtract_rectangle; 630 cairo_status_t function(cairo_region_t* dst, cairo_region_t* other) c_cairo_region_union; 631 cairo_status_t function(cairo_region_t* dst, cairo_rectangle_int_t* rectangle) c_cairo_region_union_rectangle; 632 cairo_status_t function(cairo_region_t* dst, cairo_region_t* other) c_cairo_region_xor; 633 cairo_status_t function(cairo_region_t* dst, cairo_rectangle_int_t* rectangle) c_cairo_region_xor_rectangle; 634 635 // cairo.RasterSource 636 637 cairo_pattern_t* function(void* userData, cairo_content_t content, int width, int height) c_cairo_pattern_create_raster_source; 638 void function(cairo_pattern_t* pattern, void* data) c_cairo_raster_source_pattern_set_callback_data; 639 void* function(cairo_pattern_t* pattern) c_cairo_raster_source_pattern_get_callback_data; 640 void function(cairo_pattern_t* pattern, cairo_raster_source_acquire_func_t acquire, cairo_raster_source_release_func_t release) c_cairo_raster_source_pattern_set_acquire; 641 void function(cairo_pattern_t* pattern, cairo_raster_source_acquire_func_t* acquire, cairo_raster_source_release_func_t* release) c_cairo_raster_source_pattern_get_acquire; 642 void function(cairo_pattern_t* pattern, cairo_raster_source_snapshot_func_t snapshot) c_cairo_raster_source_pattern_set_snapshot; 643 cairo_raster_source_snapshot_func_t function(cairo_pattern_t* pattern) c_cairo_raster_source_pattern_get_snapshot; 644 void function(cairo_pattern_t* pattern, cairo_raster_source_copy_func_t copy) c_cairo_raster_source_pattern_set_copy; 645 cairo_raster_source_copy_func_t function(cairo_pattern_t* pattern) c_cairo_raster_source_pattern_get_copy; 646 void function(cairo_pattern_t* pattern, cairo_raster_source_finish_func_t finish) c_cairo_raster_source_pattern_set_finish; 647 cairo_raster_source_finish_func_t function(cairo_pattern_t* pattern) c_cairo_raster_source_pattern_get_finish; 648 649 // cairo.FontFace 650 651 cairo_font_face_t* function(cairo_font_face_t* fontFace) c_cairo_font_face_reference; 652 void function(cairo_font_face_t* fontFace) c_cairo_font_face_destroy; 653 cairo_status_t function(cairo_font_face_t* fontFace) c_cairo_font_face_status; 654 cairo_font_type_t function(cairo_font_face_t* fontFace) c_cairo_font_face_get_type; 655 uint function(cairo_font_face_t* fontFace) c_cairo_font_face_get_reference_count; 656 cairo_status_t function(cairo_font_face_t* fontFace, cairo_user_data_key_t* key, void* userData, cairo_destroy_func_t destroy) c_cairo_font_face_set_user_data; 657 void* function(cairo_font_face_t* fontFace, cairo_user_data_key_t* key) c_cairo_font_face_get_user_data; 658 659 // cairo.ScaledFont 660 661 cairo_scaled_font_t* function(cairo_font_face_t* fontFace, cairo_matrix_t* fontMatrix, cairo_matrix_t* ctm, cairo_font_options_t* options) c_cairo_scaled_font_create; 662 cairo_scaled_font_t* function(cairo_scaled_font_t* scaledFont) c_cairo_scaled_font_reference; 663 void function(cairo_scaled_font_t* scaledFont) c_cairo_scaled_font_destroy; 664 cairo_status_t function(cairo_scaled_font_t* scaledFont) c_cairo_scaled_font_status; 665 void function(cairo_scaled_font_t* scaledFont, cairo_font_extents_t* extents) c_cairo_scaled_font_extents; 666 void function(cairo_scaled_font_t* scaledFont, char* utf8, cairo_text_extents_t* extents) c_cairo_scaled_font_text_extents; 667 void function(cairo_scaled_font_t* scaledFont, cairo_glyph_t* glyphs, int numGlyphs, cairo_text_extents_t* extents) c_cairo_scaled_font_glyph_extents; 668 cairo_status_t function(cairo_scaled_font_t* scaledFont, double x, double y, char* utf8, int utf8_Len, cairo_glyph_t** glyphs, int* numGlyphs, cairo_text_cluster_t** clusters, int* numClusters, cairo_text_cluster_flags_t* clusterFlags) c_cairo_scaled_font_text_to_glyphs; 669 cairo_font_face_t* function(cairo_scaled_font_t* scaledFont) c_cairo_scaled_font_get_font_face; 670 void function(cairo_scaled_font_t* scaledFont, cairo_font_options_t* options) c_cairo_scaled_font_get_font_options; 671 void function(cairo_scaled_font_t* scaledFont, cairo_matrix_t* fontMatrix) c_cairo_scaled_font_get_font_matrix; 672 void function(cairo_scaled_font_t* scaledFont, cairo_matrix_t* ctm) c_cairo_scaled_font_get_ctm; 673 void function(cairo_scaled_font_t* scaledFont, cairo_matrix_t* scaleMatrix) c_cairo_scaled_font_get_scale_matrix; 674 cairo_font_type_t function(cairo_scaled_font_t* scaledFont) c_cairo_scaled_font_get_type; 675 uint function(cairo_scaled_font_t* scaledFont) c_cairo_scaled_font_get_reference_count; 676 cairo_status_t function(cairo_scaled_font_t* scaledFont, cairo_user_data_key_t* key, void* userData, cairo_destroy_func_t destroy) c_cairo_scaled_font_set_user_data; 677 void* function(cairo_scaled_font_t* scaledFont, cairo_user_data_key_t* key) c_cairo_scaled_font_get_user_data; 678 679 // cairo.FontOption 680 681 cairo_font_options_t* function() c_cairo_font_options_create; 682 cairo_font_options_t* function(cairo_font_options_t* original) c_cairo_font_options_copy; 683 void function(cairo_font_options_t* options) c_cairo_font_options_destroy; 684 cairo_status_t function(cairo_font_options_t* options) c_cairo_font_options_status; 685 void function(cairo_font_options_t* options, cairo_font_options_t* other) c_cairo_font_options_merge; 686 ulong function(cairo_font_options_t* options) c_cairo_font_options_hash; 687 cairo_bool_t function(cairo_font_options_t* options, cairo_font_options_t* other) c_cairo_font_options_equal; 688 void function(cairo_font_options_t* options, cairo_antialias_t antialias) c_cairo_font_options_set_antialias; 689 cairo_antialias_t function(cairo_font_options_t* options) c_cairo_font_options_get_antialias; 690 void function(cairo_font_options_t* options, cairo_subpixel_order_t subpixelOrder) c_cairo_font_options_set_subpixel_order; 691 cairo_subpixel_order_t function(cairo_font_options_t* options) c_cairo_font_options_get_subpixel_order; 692 void function(cairo_font_options_t* options, cairo_hint_style_t hintStyle) c_cairo_font_options_set_hint_style; 693 cairo_hint_style_t function(cairo_font_options_t* options) c_cairo_font_options_get_hint_style; 694 void function(cairo_font_options_t* options, cairo_hint_metrics_t hintMetrics) c_cairo_font_options_set_hint_metrics; 695 cairo_hint_metrics_t function(cairo_font_options_t* options) c_cairo_font_options_get_hint_metrics; 696 697 // cairo.UserFontFace 698 699 cairo_font_face_t* function() c_cairo_user_font_face_create; 700 void function(cairo_font_face_t* fontFace, cairo_user_scaled_font_init_func_t initFunc) c_cairo_user_font_face_set_init_func; 701 cairo_user_scaled_font_init_func_t function(cairo_font_face_t* fontFace) c_cairo_user_font_face_get_init_func; 702 void function(cairo_font_face_t* fontFace, cairo_user_scaled_font_render_glyph_func_t renderGlyphFunc) c_cairo_user_font_face_set_render_glyph_func; 703 cairo_user_scaled_font_render_glyph_func_t function(cairo_font_face_t* fontFace) c_cairo_user_font_face_get_render_glyph_func; 704 void function(cairo_font_face_t* fontFace, cairo_user_scaled_font_unicode_to_glyph_func_t unicodeToGlyphFunc) c_cairo_user_font_face_set_unicode_to_glyph_func; 705 cairo_user_scaled_font_unicode_to_glyph_func_t function(cairo_font_face_t* fontFace) c_cairo_user_font_face_get_unicode_to_glyph_func; 706 void function(cairo_font_face_t* fontFace, cairo_user_scaled_font_text_to_glyphs_func_t textToGlyphsFunc) c_cairo_user_font_face_set_text_to_glyphs_func; 707 cairo_user_scaled_font_text_to_glyphs_func_t function(cairo_font_face_t* fontFace) c_cairo_user_font_face_get_text_to_glyphs_func; 708 709 // cairo.Device 710 711 cairo_device_t* function(cairo_device_t* device) c_cairo_device_reference; 712 void function(cairo_device_t* device) c_cairo_device_destroy; 713 cairo_status_t function(cairo_device_t* device) c_cairo_device_status; 714 void function(cairo_device_t* device) c_cairo_device_finish; 715 void function(cairo_device_t* device) c_cairo_device_flush; 716 cairo_device_type_t function(cairo_device_t* device) c_cairo_device_get_type; 717 uint function(cairo_device_t* device) c_cairo_device_get_reference_count; 718 cairo_status_t function(cairo_device_t* device, cairo_user_data_key_t* key, void* userData, cairo_destroy_func_t destroy) c_cairo_device_set_user_data; 719 void* function(cairo_device_t* device, cairo_user_data_key_t* key) c_cairo_device_get_user_data; 720 cairo_status_t function(cairo_device_t* device) c_cairo_device_acquire; 721 void function(cairo_device_t* device) c_cairo_device_release; 722 723 // cairo.Surface 724 725 cairo_surface_t* function(cairo_surface_t* other, cairo_content_t content, int width, int height) c_cairo_surface_create_similar; 726 cairo_surface_t* function(cairo_surface_t* other, cairo_format_t format, int width, int height) c_cairo_surface_create_similar_image; 727 cairo_surface_t* function(cairo_surface_t* target, double x, double y, double width, double height) c_cairo_surface_create_for_rectangle; 728 cairo_surface_t* function(cairo_surface_t* surface) c_cairo_surface_reference; 729 void function(cairo_surface_t* surface) c_cairo_surface_destroy; 730 cairo_status_t function(cairo_surface_t* surface) c_cairo_surface_status; 731 void function(cairo_surface_t* surface) c_cairo_surface_finish; 732 void function(cairo_surface_t* surface) c_cairo_surface_flush; 733 cairo_device_t* function(cairo_surface_t* surface) c_cairo_surface_get_device; 734 void function(cairo_surface_t* surface, cairo_font_options_t* options) c_cairo_surface_get_font_options; 735 cairo_content_t function(cairo_surface_t* surface) c_cairo_surface_get_content; 736 void function(cairo_surface_t* surface) c_cairo_surface_mark_dirty; 737 void function(cairo_surface_t* surface, int x, int y, int width, int height) c_cairo_surface_mark_dirty_rectangle; 738 void function(cairo_surface_t* surface, double xOffset, double yOffset) c_cairo_surface_set_device_offset; 739 void function(cairo_surface_t* surface, double* xOffset, double* yOffset) c_cairo_surface_get_device_offset; 740 void function(cairo_surface_t* surface, double xPixelsPerInch, double yPixelsPerInch) c_cairo_surface_set_fallback_resolution; 741 void function(cairo_surface_t* surface, double* xPixelsPerInch, double* yPixelsPerInch) c_cairo_surface_get_fallback_resolution; 742 cairo_surface_type_t function(cairo_surface_t* surface) c_cairo_surface_get_type; 743 uint function(cairo_surface_t* surface) c_cairo_surface_get_reference_count; 744 cairo_status_t function(cairo_surface_t* surface, cairo_user_data_key_t* key, void* userData, cairo_destroy_func_t destroy) c_cairo_surface_set_user_data; 745 void* function(cairo_surface_t* surface, cairo_user_data_key_t* key) c_cairo_surface_get_user_data; 746 void function(cairo_surface_t* surface) c_cairo_surface_copy_page; 747 void function(cairo_surface_t* surface) c_cairo_surface_show_page; 748 cairo_bool_t function(cairo_surface_t* surface) c_cairo_surface_has_show_text_glyphs; 749 cairo_status_t function(cairo_surface_t* surface, char* mimeType, uchar* data, ulong length, cairo_destroy_func_t destroy, void* closure) c_cairo_surface_set_mime_data; 750 void function(cairo_surface_t* surface, char* mimeType, uchar** data, ulong* length) c_cairo_surface_get_mime_data; 751 cairo_bool_t function(cairo_surface_t* surface, char* mimeType) c_cairo_surface_supports_mime_type; 752 cairo_surface_t* function(cairo_surface_t* surface, cairo_rectangle_int_t* extents) c_cairo_surface_map_to_image; 753 void function(cairo_surface_t* surface, cairo_surface_t* image) c_cairo_surface_unmap_image; 754 755 // cairo.ImageSurface 756 757 int function(cairo_format_t format, int width) c_cairo_format_stride_for_width; 758 cairo_surface_t* function(cairo_format_t format, int width, int height) c_cairo_image_surface_create; 759 cairo_surface_t* function(uchar* data, cairo_format_t format, int width, int height, int stride) c_cairo_image_surface_create_for_data; 760 uchar* function(cairo_surface_t* surface) c_cairo_image_surface_get_data; 761 cairo_format_t function(cairo_surface_t* surface) c_cairo_image_surface_get_format; 762 int function(cairo_surface_t* surface) c_cairo_image_surface_get_width; 763 int function(cairo_surface_t* surface) c_cairo_image_surface_get_height; 764 int function(cairo_surface_t* surface) c_cairo_image_surface_get_stride; 765 cairo_surface_t* function(char* filename) c_cairo_image_surface_create_from_png; 766 cairo_surface_t* function(cairo_read_func_t readFunc, void* closure) c_cairo_image_surface_create_from_png_stream; 767 cairo_status_t function(cairo_surface_t* surface, char* filename) c_cairo_surface_write_to_png; 768 cairo_status_t function(cairo_surface_t* surface, cairo_write_func_t writeFunc, void* closure) c_cairo_surface_write_to_png_stream; 769 770 // cairo.PdfSurface 771 772 cairo_surface_t* function(char* filename, double widthInPoints, double heightInPoints) c_cairo_pdf_surface_create; 773 cairo_surface_t* function(cairo_write_func_t writeFunc, void* closure, double widthInPoints, double heightInPoints) c_cairo_pdf_surface_create_for_stream; 774 void function(cairo_surface_t* surface, cairo_pdf_version_t versio) c_cairo_pdf_surface_restrict_to_version; 775 void function(cairo_pdf_version_t** versions, int* numVersions) c_cairo_pdf_get_versions; 776 char* function(cairo_pdf_version_t versio) c_cairo_pdf_version_to_string; 777 void function(cairo_surface_t* surface, double widthInPoints, double heightInPoints) c_cairo_pdf_surface_set_size; 778 779 // cairo.PostScriptSurface 780 781 cairo_surface_t* function(char* filename, double widthInPoints, double heightInPoints) c_cairo_ps_surface_create; 782 cairo_surface_t* function(cairo_write_func_t writeFunc, void* closure, double widthInPoints, double heightInPoints) c_cairo_ps_surface_create_for_stream; 783 void function(cairo_surface_t* surface, cairo_ps_level_t level) c_cairo_ps_surface_restrict_to_level; 784 void function(cairo_ps_level_t** levels, int* numLevels) c_cairo_ps_get_levels; 785 char* function(cairo_ps_level_t level) c_cairo_ps_level_to_string; 786 void function(cairo_surface_t* surface, cairo_bool_t eps) c_cairo_ps_surface_set_eps; 787 cairo_bool_t function(cairo_surface_t* surface) c_cairo_ps_surface_get_eps; 788 void function(cairo_surface_t* surface, double widthInPoints, double heightInPoints) c_cairo_ps_surface_set_size; 789 void function(cairo_surface_t* surface) c_cairo_ps_surface_dsc_begin_setup; 790 void function(cairo_surface_t* surface) c_cairo_ps_surface_dsc_begin_page_setup; 791 void function(cairo_surface_t* surface, char* comment) c_cairo_ps_surface_dsc_comment; 792 793 // cairo.RecordingSurface 794 795 cairo_surface_t* function(cairo_content_t content, cairo_rectangle_t* extents) c_cairo_recording_surface_create; 796 void function(cairo_surface_t* surface, double* x0, double* y0, double* width, double* height) c_cairo_recording_surface_ink_extents; 797 cairo_bool_t function(cairo_surface_t* surface, cairo_rectangle_t* extents) c_cairo_recording_surface_get_extents; 798 799 // cairo.SvgSurface 800 801 cairo_surface_t* function(char* filename, double widthInPoints, double heightInPoints) c_cairo_svg_surface_create; 802 cairo_surface_t* function(cairo_write_func_t writeFunc, void* closure, double widthInPoints, double heightInPoints) c_cairo_svg_surface_create_for_stream; 803 void function(cairo_surface_t* surface, cairo_svg_version_t versio) c_cairo_svg_surface_restrict_to_version; 804 void function(cairo_svg_version_t** versions, int* numVersions) c_cairo_svg_get_versions; 805 char* function(cairo_svg_version_t versio) c_cairo_svg_version_to_string; 806 807 // cairo.Script 808 809 cairo_device_t* function(char* filename) c_cairo_script_create; 810 cairo_device_t* function(cairo_write_func_t writeFunc, void* closure) c_cairo_script_create_for_stream; 811 cairo_status_t function(cairo_device_t* script, cairo_surface_t* recordingSurface) c_cairo_script_from_recording_surface; 812 cairo_script_mode_t function(cairo_device_t* script) c_cairo_script_get_mode; 813 void function(cairo_device_t* script, cairo_script_mode_t mode) c_cairo_script_set_mode; 814 void function(cairo_device_t* script, char* comment, int len) c_cairo_script_write_comment; 815 816 // cairo.ScriptSurface 817 818 cairo_surface_t* function(cairo_device_t* script, cairo_content_t content, double width, double height) c_cairo_script_surface_create; 819 cairo_surface_t* function(cairo_device_t* script, cairo_surface_t* target) c_cairo_script_surface_create_for_target; 820 821 // cairo.Matrix 822 823 void function(cairo_matrix_t* matrix, double xx, double yx, double xy, double yy, double x0, double y0) c_cairo_matrix_init; 824 void function(cairo_matrix_t* matrix) c_cairo_matrix_init_identity; 825 void function(cairo_matrix_t* matrix, double tx, double ty) c_cairo_matrix_init_translate; 826 void function(cairo_matrix_t* matrix, double sx, double sy) c_cairo_matrix_init_scale; 827 void function(cairo_matrix_t* matrix, double radians) c_cairo_matrix_init_rotate; 828 void function(cairo_matrix_t* matrix, double tx, double ty) c_cairo_matrix_translate; 829 void function(cairo_matrix_t* matrix, double sx, double sy) c_cairo_matrix_scale; 830 void function(cairo_matrix_t* matrix, double radians) c_cairo_matrix_rotate; 831 cairo_status_t function(cairo_matrix_t* matrix) c_cairo_matrix_invert; 832 void function(cairo_matrix_t* result, cairo_matrix_t* a, cairo_matrix_t* b) c_cairo_matrix_multiply; 833 void function(cairo_matrix_t* matrix, double* dx, double* dy) c_cairo_matrix_transform_distance; 834 void function(cairo_matrix_t* matrix, double* x, double* y) c_cairo_matrix_transform_point; 835 836 // cairo.Status 837 838 char* function(cairo_status_t status) c_cairo_status_to_string; 839 void function() c_cairo_debug_reset_static_data; 840 841 // cairo.Version 842 843 int function() c_cairo_version; 844 char* function() c_cairo_version_string; 845 846 // cairo. 847 848 }"); 849 850 // cairo.Context 851 852 alias c_cairo_create cairo_create; 853 alias c_cairo_reference cairo_reference; 854 alias c_cairo_destroy cairo_destroy; 855 alias c_cairo_status cairo_status; 856 alias c_cairo_save cairo_save; 857 alias c_cairo_restore cairo_restore; 858 alias c_cairo_get_target cairo_get_target; 859 alias c_cairo_push_group cairo_push_group; 860 alias c_cairo_push_group_with_content cairo_push_group_with_content; 861 alias c_cairo_pop_group cairo_pop_group; 862 alias c_cairo_pop_group_to_source cairo_pop_group_to_source; 863 alias c_cairo_get_group_target cairo_get_group_target; 864 alias c_cairo_set_source_rgb cairo_set_source_rgb; 865 alias c_cairo_set_source_rgba cairo_set_source_rgba; 866 alias c_cairo_set_source cairo_set_source; 867 alias c_cairo_set_source_surface cairo_set_source_surface; 868 alias c_cairo_get_source cairo_get_source; 869 alias c_cairo_set_antialias cairo_set_antialias; 870 alias c_cairo_get_antialias cairo_get_antialias; 871 alias c_cairo_set_dash cairo_set_dash; 872 alias c_cairo_get_dash_count cairo_get_dash_count; 873 alias c_cairo_get_dash cairo_get_dash; 874 alias c_cairo_set_fill_rule cairo_set_fill_rule; 875 alias c_cairo_get_fill_rule cairo_get_fill_rule; 876 alias c_cairo_set_line_cap cairo_set_line_cap; 877 alias c_cairo_get_line_cap cairo_get_line_cap; 878 alias c_cairo_set_line_join cairo_set_line_join; 879 alias c_cairo_get_line_join cairo_get_line_join; 880 alias c_cairo_set_line_width cairo_set_line_width; 881 alias c_cairo_get_line_width cairo_get_line_width; 882 alias c_cairo_set_miter_limit cairo_set_miter_limit; 883 alias c_cairo_get_miter_limit cairo_get_miter_limit; 884 alias c_cairo_set_operator cairo_set_operator; 885 alias c_cairo_get_operator cairo_get_operator; 886 alias c_cairo_set_tolerance cairo_set_tolerance; 887 alias c_cairo_get_tolerance cairo_get_tolerance; 888 alias c_cairo_clip cairo_clip; 889 alias c_cairo_clip_preserve cairo_clip_preserve; 890 alias c_cairo_clip_extents cairo_clip_extents; 891 alias c_cairo_in_clip cairo_in_clip; 892 alias c_cairo_reset_clip cairo_reset_clip; 893 alias c_cairo_rectangle_list_destroy cairo_rectangle_list_destroy; 894 alias c_cairo_copy_clip_rectangle_list cairo_copy_clip_rectangle_list; 895 alias c_cairo_fill cairo_fill; 896 alias c_cairo_fill_preserve cairo_fill_preserve; 897 alias c_cairo_fill_extents cairo_fill_extents; 898 alias c_cairo_in_fill cairo_in_fill; 899 alias c_cairo_mask cairo_mask; 900 alias c_cairo_mask_surface cairo_mask_surface; 901 alias c_cairo_paint cairo_paint; 902 alias c_cairo_paint_with_alpha cairo_paint_with_alpha; 903 alias c_cairo_stroke cairo_stroke; 904 alias c_cairo_stroke_preserve cairo_stroke_preserve; 905 alias c_cairo_stroke_extents cairo_stroke_extents; 906 alias c_cairo_in_stroke cairo_in_stroke; 907 alias c_cairo_copy_page cairo_copy_page; 908 alias c_cairo_show_page cairo_show_page; 909 alias c_cairo_get_reference_count cairo_get_reference_count; 910 alias c_cairo_set_user_data cairo_set_user_data; 911 alias c_cairo_get_user_data cairo_get_user_data; 912 alias c_cairo_copy_path cairo_copy_path; 913 alias c_cairo_copy_path_flat cairo_copy_path_flat; 914 alias c_cairo_path_destroy cairo_path_destroy; 915 alias c_cairo_append_path cairo_append_path; 916 alias c_cairo_has_current_point cairo_has_current_point; 917 alias c_cairo_get_current_point cairo_get_current_point; 918 alias c_cairo_new_path cairo_new_path; 919 alias c_cairo_new_sub_path cairo_new_sub_path; 920 alias c_cairo_close_path cairo_close_path; 921 alias c_cairo_arc cairo_arc; 922 alias c_cairo_arc_negative cairo_arc_negative; 923 alias c_cairo_curve_to cairo_curve_to; 924 alias c_cairo_line_to cairo_line_to; 925 alias c_cairo_move_to cairo_move_to; 926 alias c_cairo_rectangle cairo_rectangle; 927 alias c_cairo_glyph_path cairo_glyph_path; 928 alias c_cairo_text_path cairo_text_path; 929 alias c_cairo_rel_curve_to cairo_rel_curve_to; 930 alias c_cairo_rel_line_to cairo_rel_line_to; 931 alias c_cairo_rel_move_to cairo_rel_move_to; 932 alias c_cairo_path_extents cairo_path_extents; 933 alias c_cairo_translate cairo_translate; 934 alias c_cairo_scale cairo_scale; 935 alias c_cairo_rotate cairo_rotate; 936 alias c_cairo_transform cairo_transform; 937 alias c_cairo_set_matrix cairo_set_matrix; 938 alias c_cairo_get_matrix cairo_get_matrix; 939 alias c_cairo_identity_matrix cairo_identity_matrix; 940 alias c_cairo_user_to_device cairo_user_to_device; 941 alias c_cairo_user_to_device_distance cairo_user_to_device_distance; 942 alias c_cairo_device_to_user cairo_device_to_user; 943 alias c_cairo_device_to_user_distance cairo_device_to_user_distance; 944 alias c_cairo_select_font_face cairo_select_font_face; 945 alias c_cairo_set_font_size cairo_set_font_size; 946 alias c_cairo_set_font_matrix cairo_set_font_matrix; 947 alias c_cairo_get_font_matrix cairo_get_font_matrix; 948 alias c_cairo_set_font_options cairo_set_font_options; 949 alias c_cairo_get_font_options cairo_get_font_options; 950 alias c_cairo_set_font_face cairo_set_font_face; 951 alias c_cairo_get_font_face cairo_get_font_face; 952 alias c_cairo_set_scaled_font cairo_set_scaled_font; 953 alias c_cairo_get_scaled_font cairo_get_scaled_font; 954 alias c_cairo_show_text cairo_show_text; 955 alias c_cairo_show_glyphs cairo_show_glyphs; 956 alias c_cairo_show_text_glyphs cairo_show_text_glyphs; 957 alias c_cairo_font_extents cairo_font_extents; 958 alias c_cairo_text_extents cairo_text_extents; 959 alias c_cairo_glyph_extents cairo_glyph_extents; 960 alias c_cairo_toy_font_face_create cairo_toy_font_face_create; 961 alias c_cairo_toy_font_face_get_family cairo_toy_font_face_get_family; 962 alias c_cairo_toy_font_face_get_slant cairo_toy_font_face_get_slant; 963 alias c_cairo_toy_font_face_get_weight cairo_toy_font_face_get_weight; 964 alias c_cairo_glyph_allocate cairo_glyph_allocate; 965 alias c_cairo_glyph_free cairo_glyph_free; 966 alias c_cairo_text_cluster_allocate cairo_text_cluster_allocate; 967 alias c_cairo_text_cluster_free cairo_text_cluster_free; 968 969 // cairo.Pattern 970 971 alias c_cairo_pattern_add_color_stop_rgb cairo_pattern_add_color_stop_rgb; 972 alias c_cairo_pattern_add_color_stop_rgba cairo_pattern_add_color_stop_rgba; 973 alias c_cairo_pattern_get_color_stop_count cairo_pattern_get_color_stop_count; 974 alias c_cairo_pattern_get_color_stop_rgba cairo_pattern_get_color_stop_rgba; 975 alias c_cairo_pattern_create_rgb cairo_pattern_create_rgb; 976 alias c_cairo_pattern_create_rgba cairo_pattern_create_rgba; 977 alias c_cairo_pattern_get_rgba cairo_pattern_get_rgba; 978 alias c_cairo_pattern_create_for_surface cairo_pattern_create_for_surface; 979 alias c_cairo_pattern_get_surface cairo_pattern_get_surface; 980 alias c_cairo_pattern_create_linear cairo_pattern_create_linear; 981 alias c_cairo_pattern_get_linear_points cairo_pattern_get_linear_points; 982 alias c_cairo_pattern_create_radial cairo_pattern_create_radial; 983 alias c_cairo_pattern_get_radial_circles cairo_pattern_get_radial_circles; 984 alias c_cairo_pattern_create_mesh cairo_pattern_create_mesh; 985 alias c_cairo_pattern_reference cairo_pattern_reference; 986 alias c_cairo_pattern_destroy cairo_pattern_destroy; 987 alias c_cairo_pattern_status cairo_pattern_status; 988 alias c_cairo_pattern_set_extend cairo_pattern_set_extend; 989 alias c_cairo_pattern_get_extend cairo_pattern_get_extend; 990 alias c_cairo_pattern_set_filter cairo_pattern_set_filter; 991 alias c_cairo_pattern_get_filter cairo_pattern_get_filter; 992 alias c_cairo_pattern_set_matrix cairo_pattern_set_matrix; 993 alias c_cairo_pattern_get_matrix cairo_pattern_get_matrix; 994 alias c_cairo_pattern_get_type cairo_pattern_get_type; 995 alias c_cairo_pattern_get_reference_count cairo_pattern_get_reference_count; 996 alias c_cairo_pattern_set_user_data cairo_pattern_set_user_data; 997 alias c_cairo_pattern_get_user_data cairo_pattern_get_user_data; 998 999 // cairo.MeshPattern 1000 1001 alias c_cairo_mesh_pattern_begin_patch cairo_mesh_pattern_begin_patch; 1002 alias c_cairo_mesh_pattern_end_patch cairo_mesh_pattern_end_patch; 1003 alias c_cairo_mesh_pattern_move_to cairo_mesh_pattern_move_to; 1004 alias c_cairo_mesh_pattern_line_to cairo_mesh_pattern_line_to; 1005 alias c_cairo_mesh_pattern_curve_to cairo_mesh_pattern_curve_to; 1006 alias c_cairo_mesh_pattern_set_control_point cairo_mesh_pattern_set_control_point; 1007 alias c_cairo_mesh_pattern_set_corner_color_rgb cairo_mesh_pattern_set_corner_color_rgb; 1008 alias c_cairo_mesh_pattern_set_corner_color_rgba cairo_mesh_pattern_set_corner_color_rgba; 1009 alias c_cairo_mesh_pattern_get_patch_count cairo_mesh_pattern_get_patch_count; 1010 alias c_cairo_mesh_pattern_get_path cairo_mesh_pattern_get_path; 1011 alias c_cairo_mesh_pattern_get_control_point cairo_mesh_pattern_get_control_point; 1012 alias c_cairo_mesh_pattern_get_corner_color_rgba cairo_mesh_pattern_get_corner_color_rgba; 1013 1014 // cairo.Region 1015 1016 alias c_cairo_region_create cairo_region_create; 1017 alias c_cairo_region_create_rectangle cairo_region_create_rectangle; 1018 alias c_cairo_region_create_rectangles cairo_region_create_rectangles; 1019 alias c_cairo_region_copy cairo_region_copy; 1020 alias c_cairo_region_reference cairo_region_reference; 1021 alias c_cairo_region_destroy cairo_region_destroy; 1022 alias c_cairo_region_status cairo_region_status; 1023 alias c_cairo_region_get_extents cairo_region_get_extents; 1024 alias c_cairo_region_num_rectangles cairo_region_num_rectangles; 1025 alias c_cairo_region_get_rectangle cairo_region_get_rectangle; 1026 alias c_cairo_region_is_empty cairo_region_is_empty; 1027 alias c_cairo_region_contains_point cairo_region_contains_point; 1028 alias c_cairo_region_contains_rectangle cairo_region_contains_rectangle; 1029 alias c_cairo_region_equal cairo_region_equal; 1030 alias c_cairo_region_translate cairo_region_translate; 1031 alias c_cairo_region_intersect cairo_region_intersect; 1032 alias c_cairo_region_intersect_rectangle cairo_region_intersect_rectangle; 1033 alias c_cairo_region_subtract cairo_region_subtract; 1034 alias c_cairo_region_subtract_rectangle cairo_region_subtract_rectangle; 1035 alias c_cairo_region_union cairo_region_union; 1036 alias c_cairo_region_union_rectangle cairo_region_union_rectangle; 1037 alias c_cairo_region_xor cairo_region_xor; 1038 alias c_cairo_region_xor_rectangle cairo_region_xor_rectangle; 1039 1040 // cairo.RasterSource 1041 1042 alias c_cairo_pattern_create_raster_source cairo_pattern_create_raster_source; 1043 alias c_cairo_raster_source_pattern_set_callback_data cairo_raster_source_pattern_set_callback_data; 1044 alias c_cairo_raster_source_pattern_get_callback_data cairo_raster_source_pattern_get_callback_data; 1045 alias c_cairo_raster_source_pattern_set_acquire cairo_raster_source_pattern_set_acquire; 1046 alias c_cairo_raster_source_pattern_get_acquire cairo_raster_source_pattern_get_acquire; 1047 alias c_cairo_raster_source_pattern_set_snapshot cairo_raster_source_pattern_set_snapshot; 1048 alias c_cairo_raster_source_pattern_get_snapshot cairo_raster_source_pattern_get_snapshot; 1049 alias c_cairo_raster_source_pattern_set_copy cairo_raster_source_pattern_set_copy; 1050 alias c_cairo_raster_source_pattern_get_copy cairo_raster_source_pattern_get_copy; 1051 alias c_cairo_raster_source_pattern_set_finish cairo_raster_source_pattern_set_finish; 1052 alias c_cairo_raster_source_pattern_get_finish cairo_raster_source_pattern_get_finish; 1053 1054 // cairo.FontFace 1055 1056 alias c_cairo_font_face_reference cairo_font_face_reference; 1057 alias c_cairo_font_face_destroy cairo_font_face_destroy; 1058 alias c_cairo_font_face_status cairo_font_face_status; 1059 alias c_cairo_font_face_get_type cairo_font_face_get_type; 1060 alias c_cairo_font_face_get_reference_count cairo_font_face_get_reference_count; 1061 alias c_cairo_font_face_set_user_data cairo_font_face_set_user_data; 1062 alias c_cairo_font_face_get_user_data cairo_font_face_get_user_data; 1063 1064 // cairo.ScaledFont 1065 1066 alias c_cairo_scaled_font_create cairo_scaled_font_create; 1067 alias c_cairo_scaled_font_reference cairo_scaled_font_reference; 1068 alias c_cairo_scaled_font_destroy cairo_scaled_font_destroy; 1069 alias c_cairo_scaled_font_status cairo_scaled_font_status; 1070 alias c_cairo_scaled_font_extents cairo_scaled_font_extents; 1071 alias c_cairo_scaled_font_text_extents cairo_scaled_font_text_extents; 1072 alias c_cairo_scaled_font_glyph_extents cairo_scaled_font_glyph_extents; 1073 alias c_cairo_scaled_font_text_to_glyphs cairo_scaled_font_text_to_glyphs; 1074 alias c_cairo_scaled_font_get_font_face cairo_scaled_font_get_font_face; 1075 alias c_cairo_scaled_font_get_font_options cairo_scaled_font_get_font_options; 1076 alias c_cairo_scaled_font_get_font_matrix cairo_scaled_font_get_font_matrix; 1077 alias c_cairo_scaled_font_get_ctm cairo_scaled_font_get_ctm; 1078 alias c_cairo_scaled_font_get_scale_matrix cairo_scaled_font_get_scale_matrix; 1079 alias c_cairo_scaled_font_get_type cairo_scaled_font_get_type; 1080 alias c_cairo_scaled_font_get_reference_count cairo_scaled_font_get_reference_count; 1081 alias c_cairo_scaled_font_set_user_data cairo_scaled_font_set_user_data; 1082 alias c_cairo_scaled_font_get_user_data cairo_scaled_font_get_user_data; 1083 1084 // cairo.FontOption 1085 1086 alias c_cairo_font_options_create cairo_font_options_create; 1087 alias c_cairo_font_options_copy cairo_font_options_copy; 1088 alias c_cairo_font_options_destroy cairo_font_options_destroy; 1089 alias c_cairo_font_options_status cairo_font_options_status; 1090 alias c_cairo_font_options_merge cairo_font_options_merge; 1091 alias c_cairo_font_options_hash cairo_font_options_hash; 1092 alias c_cairo_font_options_equal cairo_font_options_equal; 1093 alias c_cairo_font_options_set_antialias cairo_font_options_set_antialias; 1094 alias c_cairo_font_options_get_antialias cairo_font_options_get_antialias; 1095 alias c_cairo_font_options_set_subpixel_order cairo_font_options_set_subpixel_order; 1096 alias c_cairo_font_options_get_subpixel_order cairo_font_options_get_subpixel_order; 1097 alias c_cairo_font_options_set_hint_style cairo_font_options_set_hint_style; 1098 alias c_cairo_font_options_get_hint_style cairo_font_options_get_hint_style; 1099 alias c_cairo_font_options_set_hint_metrics cairo_font_options_set_hint_metrics; 1100 alias c_cairo_font_options_get_hint_metrics cairo_font_options_get_hint_metrics; 1101 1102 // cairo.UserFontFace 1103 1104 alias c_cairo_user_font_face_create cairo_user_font_face_create; 1105 alias c_cairo_user_font_face_set_init_func cairo_user_font_face_set_init_func; 1106 alias c_cairo_user_font_face_get_init_func cairo_user_font_face_get_init_func; 1107 alias c_cairo_user_font_face_set_render_glyph_func cairo_user_font_face_set_render_glyph_func; 1108 alias c_cairo_user_font_face_get_render_glyph_func cairo_user_font_face_get_render_glyph_func; 1109 alias c_cairo_user_font_face_set_unicode_to_glyph_func cairo_user_font_face_set_unicode_to_glyph_func; 1110 alias c_cairo_user_font_face_get_unicode_to_glyph_func cairo_user_font_face_get_unicode_to_glyph_func; 1111 alias c_cairo_user_font_face_set_text_to_glyphs_func cairo_user_font_face_set_text_to_glyphs_func; 1112 alias c_cairo_user_font_face_get_text_to_glyphs_func cairo_user_font_face_get_text_to_glyphs_func; 1113 1114 // cairo.Device 1115 1116 alias c_cairo_device_reference cairo_device_reference; 1117 alias c_cairo_device_destroy cairo_device_destroy; 1118 alias c_cairo_device_status cairo_device_status; 1119 alias c_cairo_device_finish cairo_device_finish; 1120 alias c_cairo_device_flush cairo_device_flush; 1121 alias c_cairo_device_get_type cairo_device_get_type; 1122 alias c_cairo_device_get_reference_count cairo_device_get_reference_count; 1123 alias c_cairo_device_set_user_data cairo_device_set_user_data; 1124 alias c_cairo_device_get_user_data cairo_device_get_user_data; 1125 alias c_cairo_device_acquire cairo_device_acquire; 1126 alias c_cairo_device_release cairo_device_release; 1127 1128 // cairo.Surface 1129 1130 alias c_cairo_surface_create_similar cairo_surface_create_similar; 1131 alias c_cairo_surface_create_similar_image cairo_surface_create_similar_image; 1132 alias c_cairo_surface_create_for_rectangle cairo_surface_create_for_rectangle; 1133 alias c_cairo_surface_reference cairo_surface_reference; 1134 alias c_cairo_surface_destroy cairo_surface_destroy; 1135 alias c_cairo_surface_status cairo_surface_status; 1136 alias c_cairo_surface_finish cairo_surface_finish; 1137 alias c_cairo_surface_flush cairo_surface_flush; 1138 alias c_cairo_surface_get_device cairo_surface_get_device; 1139 alias c_cairo_surface_get_font_options cairo_surface_get_font_options; 1140 alias c_cairo_surface_get_content cairo_surface_get_content; 1141 alias c_cairo_surface_mark_dirty cairo_surface_mark_dirty; 1142 alias c_cairo_surface_mark_dirty_rectangle cairo_surface_mark_dirty_rectangle; 1143 alias c_cairo_surface_set_device_offset cairo_surface_set_device_offset; 1144 alias c_cairo_surface_get_device_offset cairo_surface_get_device_offset; 1145 alias c_cairo_surface_set_fallback_resolution cairo_surface_set_fallback_resolution; 1146 alias c_cairo_surface_get_fallback_resolution cairo_surface_get_fallback_resolution; 1147 alias c_cairo_surface_get_type cairo_surface_get_type; 1148 alias c_cairo_surface_get_reference_count cairo_surface_get_reference_count; 1149 alias c_cairo_surface_set_user_data cairo_surface_set_user_data; 1150 alias c_cairo_surface_get_user_data cairo_surface_get_user_data; 1151 alias c_cairo_surface_copy_page cairo_surface_copy_page; 1152 alias c_cairo_surface_show_page cairo_surface_show_page; 1153 alias c_cairo_surface_has_show_text_glyphs cairo_surface_has_show_text_glyphs; 1154 alias c_cairo_surface_set_mime_data cairo_surface_set_mime_data; 1155 alias c_cairo_surface_get_mime_data cairo_surface_get_mime_data; 1156 alias c_cairo_surface_supports_mime_type cairo_surface_supports_mime_type; 1157 alias c_cairo_surface_map_to_image cairo_surface_map_to_image; 1158 alias c_cairo_surface_unmap_image cairo_surface_unmap_image; 1159 1160 // cairo.ImageSurface 1161 1162 alias c_cairo_format_stride_for_width cairo_format_stride_for_width; 1163 alias c_cairo_image_surface_create cairo_image_surface_create; 1164 alias c_cairo_image_surface_create_for_data cairo_image_surface_create_for_data; 1165 alias c_cairo_image_surface_get_data cairo_image_surface_get_data; 1166 alias c_cairo_image_surface_get_format cairo_image_surface_get_format; 1167 alias c_cairo_image_surface_get_width cairo_image_surface_get_width; 1168 alias c_cairo_image_surface_get_height cairo_image_surface_get_height; 1169 alias c_cairo_image_surface_get_stride cairo_image_surface_get_stride; 1170 alias c_cairo_image_surface_create_from_png cairo_image_surface_create_from_png; 1171 alias c_cairo_image_surface_create_from_png_stream cairo_image_surface_create_from_png_stream; 1172 alias c_cairo_surface_write_to_png cairo_surface_write_to_png; 1173 alias c_cairo_surface_write_to_png_stream cairo_surface_write_to_png_stream; 1174 1175 // cairo.PdfSurface 1176 1177 alias c_cairo_pdf_surface_create cairo_pdf_surface_create; 1178 alias c_cairo_pdf_surface_create_for_stream cairo_pdf_surface_create_for_stream; 1179 alias c_cairo_pdf_surface_restrict_to_version cairo_pdf_surface_restrict_to_version; 1180 alias c_cairo_pdf_get_versions cairo_pdf_get_versions; 1181 alias c_cairo_pdf_version_to_string cairo_pdf_version_to_string; 1182 alias c_cairo_pdf_surface_set_size cairo_pdf_surface_set_size; 1183 1184 // cairo.PostScriptSurface 1185 1186 alias c_cairo_ps_surface_create cairo_ps_surface_create; 1187 alias c_cairo_ps_surface_create_for_stream cairo_ps_surface_create_for_stream; 1188 alias c_cairo_ps_surface_restrict_to_level cairo_ps_surface_restrict_to_level; 1189 alias c_cairo_ps_get_levels cairo_ps_get_levels; 1190 alias c_cairo_ps_level_to_string cairo_ps_level_to_string; 1191 alias c_cairo_ps_surface_set_eps cairo_ps_surface_set_eps; 1192 alias c_cairo_ps_surface_get_eps cairo_ps_surface_get_eps; 1193 alias c_cairo_ps_surface_set_size cairo_ps_surface_set_size; 1194 alias c_cairo_ps_surface_dsc_begin_setup cairo_ps_surface_dsc_begin_setup; 1195 alias c_cairo_ps_surface_dsc_begin_page_setup cairo_ps_surface_dsc_begin_page_setup; 1196 alias c_cairo_ps_surface_dsc_comment cairo_ps_surface_dsc_comment; 1197 1198 // cairo.RecordingSurface 1199 1200 alias c_cairo_recording_surface_create cairo_recording_surface_create; 1201 alias c_cairo_recording_surface_ink_extents cairo_recording_surface_ink_extents; 1202 alias c_cairo_recording_surface_get_extents cairo_recording_surface_get_extents; 1203 1204 // cairo.SvgSurface 1205 1206 alias c_cairo_svg_surface_create cairo_svg_surface_create; 1207 alias c_cairo_svg_surface_create_for_stream cairo_svg_surface_create_for_stream; 1208 alias c_cairo_svg_surface_restrict_to_version cairo_svg_surface_restrict_to_version; 1209 alias c_cairo_svg_get_versions cairo_svg_get_versions; 1210 alias c_cairo_svg_version_to_string cairo_svg_version_to_string; 1211 1212 // cairo.Script 1213 1214 alias c_cairo_script_create cairo_script_create; 1215 alias c_cairo_script_create_for_stream cairo_script_create_for_stream; 1216 alias c_cairo_script_from_recording_surface cairo_script_from_recording_surface; 1217 alias c_cairo_script_get_mode cairo_script_get_mode; 1218 alias c_cairo_script_set_mode cairo_script_set_mode; 1219 alias c_cairo_script_write_comment cairo_script_write_comment; 1220 1221 // cairo.ScriptSurface 1222 1223 alias c_cairo_script_surface_create cairo_script_surface_create; 1224 alias c_cairo_script_surface_create_for_target cairo_script_surface_create_for_target; 1225 1226 // cairo.Matrix 1227 1228 alias c_cairo_matrix_init cairo_matrix_init; 1229 alias c_cairo_matrix_init_identity cairo_matrix_init_identity; 1230 alias c_cairo_matrix_init_translate cairo_matrix_init_translate; 1231 alias c_cairo_matrix_init_scale cairo_matrix_init_scale; 1232 alias c_cairo_matrix_init_rotate cairo_matrix_init_rotate; 1233 alias c_cairo_matrix_translate cairo_matrix_translate; 1234 alias c_cairo_matrix_scale cairo_matrix_scale; 1235 alias c_cairo_matrix_rotate cairo_matrix_rotate; 1236 alias c_cairo_matrix_invert cairo_matrix_invert; 1237 alias c_cairo_matrix_multiply cairo_matrix_multiply; 1238 alias c_cairo_matrix_transform_distance cairo_matrix_transform_distance; 1239 alias c_cairo_matrix_transform_point cairo_matrix_transform_point; 1240 1241 // cairo.Status 1242 1243 alias c_cairo_status_to_string cairo_status_to_string; 1244 alias c_cairo_debug_reset_static_data cairo_debug_reset_static_data; 1245 1246 // cairo.Version 1247 1248 alias c_cairo_version cairo_version; 1249 alias c_cairo_version_string cairo_version_string; 1250 1251 // cairo. 1252