Line data Source code
1 : /* This is a generated file, edit the .stub.php file instead.
2 : * Stub hash: 9bd6618f0c9b4f8e9a64ffaea73ee3fafb154c8d */
3 :
4 : ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Pango_LayoutLine_getExtents, 0, 0, IS_ARRAY, 0)
5 : ZEND_END_ARG_INFO()
6 :
7 : ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Pango_LayoutLine_getHeight, 0, 0, IS_LONG, 0)
8 : ZEND_END_ARG_INFO()
9 :
10 : #if PANGO_VERSION >= PANGO_VERSION_ENCODE(1, 50, 0)
11 : ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Pango_LayoutLine_getLength, 0, 0, IS_LONG, 0)
12 : ZEND_END_ARG_INFO()
13 : #endif
14 :
15 : #define arginfo_class_Pango_LayoutLine_getPixelExtents arginfo_class_Pango_LayoutLine_getExtents
16 :
17 : ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Pango_LayoutLine_showLayoutLine, 0, 0, IS_VOID, 0)
18 : ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, context, Cairo\\Context, 1, "null")
19 : ZEND_END_ARG_INFO()
20 :
21 : #if PANGO_VERSION >= PANGO_VERSION_ENCODE(1, 50, 0)
22 : ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Pango_LayoutLine_getResolvedDirection, 0, 0, Pango\\Direction, 0)
23 : ZEND_END_ARG_INFO()
24 :
25 : #define arginfo_class_Pango_LayoutLine_getStartIndex arginfo_class_Pango_LayoutLine_getLength
26 :
27 : ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Pango_LayoutLine_isParagraphStart, 0, 0, _IS_BOOL, 0)
28 : ZEND_END_ARG_INFO()
29 : #endif
30 :
31 : #define arginfo_class_Pango_LayoutLine_getRuns arginfo_class_Pango_LayoutLine_getExtents
32 :
33 : ZEND_METHOD(Pango_LayoutLine, getExtents);
34 : ZEND_METHOD(Pango_LayoutLine, getHeight);
35 : #if PANGO_VERSION >= PANGO_VERSION_ENCODE(1, 50, 0)
36 : ZEND_METHOD(Pango_LayoutLine, getLength);
37 : #endif
38 : ZEND_METHOD(Pango_LayoutLine, getPixelExtents);
39 : ZEND_METHOD(Pango_LayoutLine, showLayoutLine);
40 : #if PANGO_VERSION >= PANGO_VERSION_ENCODE(1, 50, 0)
41 : ZEND_METHOD(Pango_LayoutLine, getResolvedDirection);
42 : ZEND_METHOD(Pango_LayoutLine, getStartIndex);
43 : ZEND_METHOD(Pango_LayoutLine, isParagraphStart);
44 : #endif
45 : ZEND_METHOD(Pango_LayoutLine, getRuns);
46 :
47 : static const zend_function_entry class_Pango_LayoutLine_methods[] = {
48 : ZEND_ME(Pango_LayoutLine, getExtents, arginfo_class_Pango_LayoutLine_getExtents, ZEND_ACC_PUBLIC)
49 : ZEND_ME(Pango_LayoutLine, getHeight, arginfo_class_Pango_LayoutLine_getHeight, ZEND_ACC_PUBLIC)
50 : #if PANGO_VERSION >= PANGO_VERSION_ENCODE(1, 50, 0)
51 : ZEND_ME(Pango_LayoutLine, getLength, arginfo_class_Pango_LayoutLine_getLength, ZEND_ACC_PUBLIC)
52 : #endif
53 : ZEND_ME(Pango_LayoutLine, getPixelExtents, arginfo_class_Pango_LayoutLine_getPixelExtents, ZEND_ACC_PUBLIC)
54 : ZEND_ME(Pango_LayoutLine, showLayoutLine, arginfo_class_Pango_LayoutLine_showLayoutLine, ZEND_ACC_PUBLIC)
55 : #if PANGO_VERSION >= PANGO_VERSION_ENCODE(1, 50, 0)
56 : ZEND_ME(Pango_LayoutLine, getResolvedDirection, arginfo_class_Pango_LayoutLine_getResolvedDirection, ZEND_ACC_PUBLIC)
57 : ZEND_ME(Pango_LayoutLine, getStartIndex, arginfo_class_Pango_LayoutLine_getStartIndex, ZEND_ACC_PUBLIC)
58 : ZEND_ME(Pango_LayoutLine, isParagraphStart, arginfo_class_Pango_LayoutLine_isParagraphStart, ZEND_ACC_PUBLIC)
59 : #endif
60 : ZEND_ME(Pango_LayoutLine, getRuns, arginfo_class_Pango_LayoutLine_getRuns, ZEND_ACC_PUBLIC)
61 : ZEND_FE_END
62 : };
63 :
64 194 : static zend_class_entry *register_class_Pango_LayoutLine(void)
65 : {
66 : zend_class_entry ce, *class_entry;
67 :
68 194 : INIT_NS_CLASS_ENTRY(ce, "Pango", "LayoutLine", class_Pango_LayoutLine_methods);
69 : #if (PHP_VERSION_ID >= 80400)
70 194 : class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_FINAL);
71 : #else
72 : class_entry = zend_register_internal_class_ex(&ce, NULL);
73 : class_entry->ce_flags |= ZEND_ACC_FINAL;
74 : #endif
75 :
76 194 : return class_entry;
77 : }
|