Changed the entire file structure to remove the .c includes from cairo.c
[phpCairo.git] / src / cairo / CairoFont.h
blobcb6113ee333ba930e3052cda56729a617c2f22be
2 PHP_METHOD(CairoFontFace, __construct);
3 #if (PHP_MAJOR_VERSION >= 5)
4 ZEND_BEGIN_ARG_INFO_EX(CairoFontFace____construct_args, ZEND_SEND_BY_VAL, ZEND_RETURN_VALUE, 0)
5 ZEND_END_ARG_INFO()
6 #endif
8 PHP_METHOD(CairoFontOptions, __construct);
9 #if (PHP_MAJOR_VERSION >= 5)
10 ZEND_BEGIN_ARG_INFO_EX(CairoFontOptions____construct_args, ZEND_SEND_BY_VAL, ZEND_RETURN_VALUE, 0)
11 ZEND_END_ARG_INFO()
12 #endif
14 PHP_METHOD(CairoFontOptions, getAntialias);
15 #if (PHP_MAJOR_VERSION >= 5)
16 ZEND_BEGIN_ARG_INFO_EX(CairoFontOptions__get_antialias_args, ZEND_SEND_BY_VAL, ZEND_RETURN_VALUE, 0)
17 ZEND_END_ARG_INFO()
18 #endif
20 PHP_METHOD(CairoFontOptions, getHintMetrics);
21 #if (PHP_MAJOR_VERSION >= 5)
22 ZEND_BEGIN_ARG_INFO_EX(CairoFontOptions__get_hint_metrics_args, ZEND_SEND_BY_VAL, ZEND_RETURN_VALUE, 0)
23 ZEND_END_ARG_INFO()
24 #endif
26 PHP_METHOD(CairoFontOptions, getHintStyle);
27 #if (PHP_MAJOR_VERSION >= 5)
28 ZEND_BEGIN_ARG_INFO_EX(CairoFontOptions__get_hint_style_args, ZEND_SEND_BY_VAL, ZEND_RETURN_VALUE, 0)
29 ZEND_END_ARG_INFO()
30 #endif
32 PHP_METHOD(CairoFontOptions, getSubpixelOrder);
33 #if (PHP_MAJOR_VERSION >= 5)
34 ZEND_BEGIN_ARG_INFO_EX(CairoFontOptions__get_subpixel_order_args, ZEND_SEND_BY_VAL, ZEND_RETURN_VALUE, 0)
35 ZEND_END_ARG_INFO()
36 #endif
38 PHP_METHOD(CairoFontOptions, setAntialias);
39 #if (PHP_MAJOR_VERSION >= 5)
40 ZEND_BEGIN_ARG_INFO_EX(CairoFontOptions__set_antialias_args, ZEND_SEND_BY_VAL, ZEND_RETURN_VALUE, 0)
41 ZEND_ARG_INFO(0, aa)
42 ZEND_END_ARG_INFO()
43 #endif
45 PHP_METHOD(CairoFontOptions, setHintMetrics);
46 #if (PHP_MAJOR_VERSION >= 5)
47 ZEND_BEGIN_ARG_INFO_EX(CairoFontOptions__set_hint_metrics_args, ZEND_SEND_BY_VAL, ZEND_RETURN_VALUE, 0)
48 ZEND_ARG_INFO(0, hm)
49 ZEND_END_ARG_INFO()
50 #endif
52 PHP_METHOD(CairoFontOptions, setHintStyle);
53 #if (PHP_MAJOR_VERSION >= 5)
54 ZEND_BEGIN_ARG_INFO_EX(CairoFontOptions__set_hint_style_args, ZEND_SEND_BY_VAL, ZEND_RETURN_VALUE, 0)
55 ZEND_ARG_INFO(0, hs)
56 ZEND_END_ARG_INFO()
57 #endif
59 PHP_METHOD(CairoFontOptions, setSubpixelOrder);
60 #if (PHP_MAJOR_VERSION >= 5)
61 ZEND_BEGIN_ARG_INFO_EX(CairoFontOptions__set_subpixel_order_args, ZEND_SEND_BY_VAL, ZEND_RETURN_VALUE, 0)
62 ZEND_ARG_INFO(0, so)
63 ZEND_END_ARG_INFO()
64 #endif
66 PHP_METHOD(CairoScaledFont, __construct);
67 #if (PHP_MAJOR_VERSION >= 5)
68 ZEND_BEGIN_ARG_INFO_EX(CairoScaledFont____construct_args, ZEND_SEND_BY_VAL, ZEND_RETURN_VALUE, 3)
69 ZEND_ARG_OBJ_INFO(0, mx1, CairoMatrix, 1)
70 ZEND_ARG_OBJ_INFO(0, mx2, CairoMatrix, 1)
71 ZEND_ARG_OBJ_INFO(0, fo, CairoFontOptions, 1)
72 ZEND_END_ARG_INFO()
73 #endif
75 PHP_METHOD(CairoScaledFont, extents);
76 #if (PHP_MAJOR_VERSION >= 5)
77 ZEND_BEGIN_ARG_INFO_EX(CairoScaledFont__extents_args, ZEND_SEND_BY_VAL, ZEND_RETURN_VALUE, 0)
78 ZEND_END_ARG_INFO()
79 #endif
81 PHP_METHOD(CairoScaledFont, getFontFace);
82 #if (PHP_MAJOR_VERSION >= 5)
83 ZEND_BEGIN_ARG_INFO_EX(CairoScaledFont__get_font_face_args, ZEND_SEND_BY_VAL, ZEND_RETURN_VALUE, 0)
84 ZEND_END_ARG_INFO()
85 #endif
87 PHP_METHOD(CairoScaledFont, textExtents);
88 #if (PHP_MAJOR_VERSION >= 5)
89 ZEND_BEGIN_ARG_INFO_EX(CairoScaledFont__text_extents_args, ZEND_SEND_BY_VAL, ZEND_RETURN_VALUE, 1)
90 ZEND_ARG_INFO(0, str)
91 ZEND_END_ARG_INFO()
92 #endif