Changed the entire file structure to remove the .c includes from cairo.c
[phpCairo.git] / src / cairo / CairoPattern.h
blob5425e6a5c552b18a294bb28e052709d9a8fa6b31
2 PHP_METHOD(CairoPattern, __construct);
3 #if (PHP_MAJOR_VERSION >= 5)
4 ZEND_BEGIN_ARG_INFO_EX(CairoPattern____construct_args, ZEND_SEND_BY_VAL, ZEND_RETURN_VALUE, 0)
5 ZEND_END_ARG_INFO()
6 #endif
8 PHP_METHOD(CairoPattern, getMatrix);
9 #if (PHP_MAJOR_VERSION >= 5)
10 ZEND_BEGIN_ARG_INFO_EX(CairoPattern__get_matrix_args, ZEND_SEND_BY_VAL, ZEND_RETURN_VALUE, 0)
11 ZEND_END_ARG_INFO()
12 #endif
14 PHP_METHOD(CairoPattern, setMatrix);
15 #if (PHP_MAJOR_VERSION >= 5)
16 ZEND_BEGIN_ARG_INFO_EX(CairoPattern__set_matrix_args, ZEND_SEND_BY_VAL, ZEND_RETURN_VALUE, 1)
17 ZEND_ARG_OBJ_INFO(0, m, CairoMatrix, 1)
18 ZEND_END_ARG_INFO()
19 #endif
21 PHP_METHOD(CairoGradient, __contruct);
22 #if (PHP_MAJOR_VERSION >= 5)
23 ZEND_BEGIN_ARG_INFO_EX(CairoGradient____contruct_args, ZEND_SEND_BY_VAL, ZEND_RETURN_VALUE, 0)
24 ZEND_END_ARG_INFO()
25 #endif
27 PHP_METHOD(CairoGradient, addColorStopRgb);
28 #if (PHP_MAJOR_VERSION >= 5)
29 ZEND_BEGIN_ARG_INFO_EX(CairoGradient__add_color_stop_rgb_args, ZEND_SEND_BY_VAL, ZEND_RETURN_VALUE, 4)
30 ZEND_ARG_INFO(0, offset)
31 ZEND_ARG_INFO(0, red)
32 ZEND_ARG_INFO(0, green)
33 ZEND_ARG_INFO(0, blue)
34 ZEND_END_ARG_INFO()
35 #endif
37 PHP_METHOD(CairoGradient, addColorStopRgba);
38 #if (PHP_MAJOR_VERSION >= 5)
39 ZEND_BEGIN_ARG_INFO_EX(CairoGradient__add_color_stop_rgba_args, ZEND_SEND_BY_VAL, ZEND_RETURN_VALUE, 5)
40 ZEND_ARG_INFO(0, offset)
41 ZEND_ARG_INFO(0, red)
42 ZEND_ARG_INFO(0, green)
43 ZEND_ARG_INFO(0, blue)
44 ZEND_ARG_INFO(0, alpha)
45 ZEND_END_ARG_INFO()
46 #endif
48 PHP_METHOD(CairoLinearGradient, __construct);
49 #if (PHP_MAJOR_VERSION >= 5)
50 ZEND_BEGIN_ARG_INFO_EX(CairoLinearGradient____construct_args, ZEND_SEND_BY_VAL, ZEND_RETURN_VALUE, 3)
51 ZEND_ARG_INFO(0, y0)
52 ZEND_ARG_INFO(0, x1)
53 ZEND_ARG_INFO(0, y1)
54 ZEND_END_ARG_INFO()
55 #endif
57 PHP_METHOD(CairoLinearGradient, getLinearPoints);
58 #if (PHP_MAJOR_VERSION >= 5)
59 ZEND_BEGIN_ARG_INFO_EX(CairoLinearGradient__get_linear_points_args, ZEND_SEND_BY_VAL, ZEND_RETURN_VALUE, 0)
60 ZEND_END_ARG_INFO()
61 #endif
63 PHP_METHOD(CairoRadialGradient, __constuct);
64 #if (PHP_MAJOR_VERSION >= 5)
65 ZEND_BEGIN_ARG_INFO_EX(CairoRadialGradient____constuct_args, ZEND_SEND_BY_VAL, ZEND_RETURN_VALUE, 6)
66 ZEND_ARG_INFO(0, cx0)
67 ZEND_ARG_INFO(0, cy0)
68 ZEND_ARG_INFO(0, radius0)
69 ZEND_ARG_INFO(0, cx1)
70 ZEND_ARG_INFO(0, cy1)
71 ZEND_ARG_INFO(0, radius1)
72 ZEND_END_ARG_INFO()
73 #endif
75 PHP_METHOD(CairoRadialGradient, getRadialCircles);
76 #if (PHP_MAJOR_VERSION >= 5)
77 ZEND_BEGIN_ARG_INFO_EX(CairoRadialGradient__get_radial_circles_args, ZEND_SEND_BY_VAL, ZEND_RETURN_VALUE, 0)
78 ZEND_END_ARG_INFO()
79 #endif
81 PHP_METHOD(CairoSolidPattern, __construct);
82 #if (PHP_MAJOR_VERSION >= 5)
83 ZEND_BEGIN_ARG_INFO_EX(CairoSolidPattern____construct_args, ZEND_SEND_BY_VAL, ZEND_RETURN_VALUE, 2)
84 ZEND_ARG_INFO(0, g)
85 ZEND_ARG_INFO(0, b)
86 ZEND_ARG_INFO(0, a)
87 ZEND_END_ARG_INFO()
88 #endif
90 PHP_METHOD(CairoSolidPattern, getRgba);
91 #if (PHP_MAJOR_VERSION >= 5)
92 ZEND_BEGIN_ARG_INFO_EX(CairoSolidPattern__get_rgba_args, ZEND_SEND_BY_VAL, ZEND_RETURN_VALUE, 0)
93 ZEND_END_ARG_INFO()
94 #endif
96 PHP_METHOD(CairoSurfacePattern, __construct);
97 #if (PHP_MAJOR_VERSION >= 5)
98 ZEND_BEGIN_ARG_INFO_EX(CairoSurfacePattern____construct_args, ZEND_SEND_BY_VAL, ZEND_RETURN_VALUE, 0)
99 ZEND_END_ARG_INFO()
100 #endif
102 PHP_METHOD(CairoPattern, getExtend);
103 #if (PHP_MAJOR_VERSION >= 5)
104 ZEND_BEGIN_ARG_INFO_EX(CairoPattern__get_extend_args, ZEND_SEND_BY_VAL, ZEND_RETURN_VALUE, 0)
105 ZEND_END_ARG_INFO()
106 #endif
108 PHP_METHOD(CairoSurfacePattern, getFilter);
109 #if (PHP_MAJOR_VERSION >= 5)
110 ZEND_BEGIN_ARG_INFO_EX(CairoSurfacePattern__get_filter_args, ZEND_SEND_BY_VAL, ZEND_RETURN_VALUE, 0)
111 ZEND_END_ARG_INFO()
112 #endif
114 PHP_METHOD(CairoSurfacePattern, getSurface);
115 #if (PHP_MAJOR_VERSION >= 5)
116 ZEND_BEGIN_ARG_INFO_EX(CairoSurfacePattern__get_surface_args, ZEND_SEND_BY_VAL, ZEND_RETURN_VALUE, 0)
117 ZEND_END_ARG_INFO()
118 #endif
120 PHP_METHOD(CairoPattern, setExtend);
121 #if (PHP_MAJOR_VERSION >= 5)
122 ZEND_BEGIN_ARG_INFO_EX(CairoPattern__set_extend_args, ZEND_SEND_BY_VAL, ZEND_RETURN_VALUE, 1)
123 ZEND_ARG_INFO(0, extend)
124 ZEND_END_ARG_INFO()
125 #endif
127 PHP_METHOD(CairoSurfacePattern, setFilter);
128 #if (PHP_MAJOR_VERSION >= 5)
129 ZEND_BEGIN_ARG_INFO_EX(CairoSurfacePattern__set_filter_args, ZEND_SEND_BY_VAL, ZEND_RETURN_VALUE, 1)
130 ZEND_ARG_INFO(0, filter)
131 ZEND_END_ARG_INFO()
132 #endif