Changed the entire file structure to remove the .c includes from cairo.c
[phpCairo.git] / src / cairo / CairoMatrix.h
blob83727ca1a4f48d22e3106022de6d4906ec652e6e
1 PHP_METHOD(CairoMatrix, __construct);
2 #if (PHP_MAJOR_VERSION >= 5)
3 ZEND_BEGIN_ARG_INFO_EX(CairoMatrix____construct_args, ZEND_SEND_BY_VAL, ZEND_RETURN_VALUE, 5)
4 ZEND_ARG_INFO(0, yx)
5 ZEND_ARG_INFO(0, xy)
6 ZEND_ARG_INFO(0, yy)
7 ZEND_ARG_INFO(0, x0)
8 ZEND_ARG_INFO(0, y0)
9 ZEND_END_ARG_INFO()
10 #endif
12 PHP_METHOD(CairoMatrix, initRotate);
13 #if (PHP_MAJOR_VERSION >= 5)
14 ZEND_BEGIN_ARG_INFO_EX(CairoMatrix__init_rotate_args, ZEND_SEND_BY_VAL, ZEND_RETURN_VALUE, 1)
15 ZEND_ARG_INFO(0, radians)
16 ZEND_END_ARG_INFO()
17 #endif
19 PHP_METHOD(CairoMatrix, invert);
20 #if (PHP_MAJOR_VERSION >= 5)
21 ZEND_BEGIN_ARG_INFO_EX(CairoMatrix__invert_args, ZEND_SEND_BY_VAL, ZEND_RETURN_VALUE, 0)
22 ZEND_END_ARG_INFO()
23 #endif
25 PHP_METHOD(CairoMatrix, multiply);
26 #if (PHP_MAJOR_VERSION >= 5)
27 ZEND_BEGIN_ARG_INFO_EX(CairoMatrix__multiply_args, ZEND_SEND_BY_VAL, ZEND_RETURN_VALUE, 1)
28 ZEND_ARG_OBJ_INFO(0, o2, CairoMatrix, 1)
29 ZEND_END_ARG_INFO()
30 #endif
32 PHP_METHOD(CairoMatrix, rotate);
33 #if (PHP_MAJOR_VERSION >= 5)
34 ZEND_BEGIN_ARG_INFO_EX(CairoMatrix__rotate_args, ZEND_SEND_BY_VAL, ZEND_RETURN_VALUE, 1)
35 ZEND_ARG_INFO(0, radians)
36 ZEND_END_ARG_INFO()
37 #endif
39 PHP_METHOD(CairoMatrix, scale);
40 #if (PHP_MAJOR_VERSION >= 5)
41 ZEND_BEGIN_ARG_INFO_EX(CairoMatrix__scale_args, ZEND_SEND_BY_VAL, ZEND_RETURN_VALUE, 2)
42 ZEND_ARG_INFO(0, sx)
43 ZEND_ARG_INFO(0, xy)
44 ZEND_END_ARG_INFO()
45 #endif
47 PHP_METHOD(CairoMatrix, transformDistance);
48 #if (PHP_MAJOR_VERSION >= 5)
49 ZEND_BEGIN_ARG_INFO_EX(CairoMatrix__transform_distance_args, ZEND_SEND_BY_VAL, ZEND_RETURN_VALUE, 2)
50 ZEND_ARG_INFO(0, dx)
51 ZEND_ARG_INFO(0, dy)
52 ZEND_END_ARG_INFO()
53 #endif
55 PHP_METHOD(CairoMatrix, transformPoint);
56 #if (PHP_MAJOR_VERSION >= 5)
57 ZEND_BEGIN_ARG_INFO_EX(CairoMatrix__transform_point_args, ZEND_SEND_BY_VAL, ZEND_RETURN_VALUE, 2)
58 ZEND_ARG_INFO(0, x)
59 ZEND_ARG_INFO(0, y)
60 ZEND_END_ARG_INFO()
61 #endif
63 PHP_METHOD(CairoMatrix, translate);
64 #if (PHP_MAJOR_VERSION >= 5)
65 ZEND_BEGIN_ARG_INFO_EX(CairoMatrix__translate_args, ZEND_SEND_BY_VAL, ZEND_RETURN_VALUE, 2)
66 ZEND_ARG_INFO(0, tx)
67 ZEND_ARG_INFO(0, ty)
68 ZEND_END_ARG_INFO()
69 #endif