LCOV - code coverage report
Current view: top level - src - matrix_arginfo.h (source / functions) Coverage Total Hit
Test: PHP Pango Extension Coverage Lines: 100.0 % 22 22
Test Date: 2025-10-26 00:52:08 Functions: 100.0 % 1 1

            Line data    Source code
       1              : /* This is a generated file, edit the .stub.php file instead.
       2              :  * Stub hash: 5cad349e2628067a9d2e30a4b56435795c881dc3 */
       3              : 
       4              : ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Pango_Matrix___construct, 0, 0, 0)
       5              :     ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, xx, IS_DOUBLE, 0, "1.0")
       6              :     ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, yx, IS_DOUBLE, 0, "0.0")
       7              :     ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, xy, IS_DOUBLE, 0, "0.0")
       8              :     ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, yy, IS_DOUBLE, 0, "1.0")
       9              :     ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, x0, IS_DOUBLE, 0, "0.0")
      10              :     ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, y0, IS_DOUBLE, 0, "0.0")
      11              : ZEND_END_ARG_INFO()
      12              : 
      13              : ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Pango_Matrix_rotate, 0, 1, IS_VOID, 0)
      14              :     ZEND_ARG_TYPE_INFO(0, degrees, IS_DOUBLE, 0)
      15              : ZEND_END_ARG_INFO()
      16              : 
      17              : ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Pango_Matrix_scale, 0, 2, IS_VOID, 0)
      18              :     ZEND_ARG_TYPE_INFO(0, sx, IS_DOUBLE, 0)
      19              :     ZEND_ARG_TYPE_INFO(0, sy, IS_DOUBLE, 0)
      20              : ZEND_END_ARG_INFO()
      21              : 
      22              : ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Pango_Matrix_transformDistance, 0, 2, IS_ARRAY, 0)
      23              :     ZEND_ARG_TYPE_INFO(0, dx, IS_DOUBLE, 0)
      24              :     ZEND_ARG_TYPE_INFO(0, dy, IS_DOUBLE, 0)
      25              : ZEND_END_ARG_INFO()
      26              : 
      27              : ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Pango_Matrix_transformPixelRectangle, 0, 1, Pango\\Rectangle, 0)
      28              :     ZEND_ARG_OBJ_INFO(0, rectangle, Pango\\Rectangle, 0)
      29              : ZEND_END_ARG_INFO()
      30              : 
      31              : ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Pango_Matrix_transformPoint, 0, 2, IS_ARRAY, 0)
      32              :     ZEND_ARG_TYPE_INFO(0, x, IS_DOUBLE, 0)
      33              :     ZEND_ARG_TYPE_INFO(0, y, IS_DOUBLE, 0)
      34              : ZEND_END_ARG_INFO()
      35              : 
      36              : #define arginfo_class_Pango_Matrix_transformRectangle arginfo_class_Pango_Matrix_transformPixelRectangle
      37              : 
      38              : ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Pango_Matrix_translate, 0, 2, IS_VOID, 0)
      39              :     ZEND_ARG_TYPE_INFO(0, tx, IS_DOUBLE, 0)
      40              :     ZEND_ARG_TYPE_INFO(0, ty, IS_DOUBLE, 0)
      41              : ZEND_END_ARG_INFO()
      42              : 
      43              : ZEND_METHOD(Pango_Matrix, __construct);
      44              : ZEND_METHOD(Pango_Matrix, rotate);
      45              : ZEND_METHOD(Pango_Matrix, scale);
      46              : ZEND_METHOD(Pango_Matrix, transformDistance);
      47              : ZEND_METHOD(Pango_Matrix, transformPixelRectangle);
      48              : ZEND_METHOD(Pango_Matrix, transformPoint);
      49              : ZEND_METHOD(Pango_Matrix, transformRectangle);
      50              : ZEND_METHOD(Pango_Matrix, translate);
      51              : 
      52              : static const zend_function_entry class_Pango_Matrix_methods[] = {
      53              :     ZEND_ME(Pango_Matrix, __construct, arginfo_class_Pango_Matrix___construct, ZEND_ACC_PUBLIC)
      54              :     ZEND_ME(Pango_Matrix, rotate, arginfo_class_Pango_Matrix_rotate, ZEND_ACC_PUBLIC)
      55              :     ZEND_ME(Pango_Matrix, scale, arginfo_class_Pango_Matrix_scale, ZEND_ACC_PUBLIC)
      56              :     ZEND_ME(Pango_Matrix, transformDistance, arginfo_class_Pango_Matrix_transformDistance, ZEND_ACC_PUBLIC)
      57              :     ZEND_ME(Pango_Matrix, transformPixelRectangle, arginfo_class_Pango_Matrix_transformPixelRectangle, ZEND_ACC_PUBLIC)
      58              :     ZEND_ME(Pango_Matrix, transformPoint, arginfo_class_Pango_Matrix_transformPoint, ZEND_ACC_PUBLIC)
      59              :     ZEND_ME(Pango_Matrix, transformRectangle, arginfo_class_Pango_Matrix_transformRectangle, ZEND_ACC_PUBLIC)
      60              :     ZEND_ME(Pango_Matrix, translate, arginfo_class_Pango_Matrix_translate, ZEND_ACC_PUBLIC)
      61              :     ZEND_FE_END
      62              : };
      63              : 
      64          194 : static zend_class_entry *register_class_Pango_Matrix(void)
      65              : {
      66              :     zend_class_entry ce, *class_entry;
      67              : 
      68          194 :     INIT_NS_CLASS_ENTRY(ce, "Pango", "Matrix", class_Pango_Matrix_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              :     zval property_xx_default_value;
      77          194 :     ZVAL_DOUBLE(&property_xx_default_value, 1.0);
      78          194 :     zend_string *property_xx_name = zend_string_init("xx", sizeof("xx") - 1, 1);
      79          194 :     zend_declare_typed_property(class_entry, property_xx_name, &property_xx_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_DOUBLE));
      80              :     zend_string_release(property_xx_name);
      81              : 
      82              :     zval property_yx_default_value;
      83          194 :     ZVAL_DOUBLE(&property_yx_default_value, 0.0);
      84          194 :     zend_string *property_yx_name = zend_string_init("yx", sizeof("yx") - 1, 1);
      85          194 :     zend_declare_typed_property(class_entry, property_yx_name, &property_yx_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_DOUBLE));
      86              :     zend_string_release(property_yx_name);
      87              : 
      88              :     zval property_xy_default_value;
      89          194 :     ZVAL_DOUBLE(&property_xy_default_value, 0.0);
      90          194 :     zend_string *property_xy_name = zend_string_init("xy", sizeof("xy") - 1, 1);
      91          194 :     zend_declare_typed_property(class_entry, property_xy_name, &property_xy_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_DOUBLE));
      92              :     zend_string_release(property_xy_name);
      93              : 
      94              :     zval property_yy_default_value;
      95          194 :     ZVAL_DOUBLE(&property_yy_default_value, 1.0);
      96          194 :     zend_string *property_yy_name = zend_string_init("yy", sizeof("yy") - 1, 1);
      97          194 :     zend_declare_typed_property(class_entry, property_yy_name, &property_yy_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_DOUBLE));
      98              :     zend_string_release(property_yy_name);
      99              : 
     100              :     zval property_x0_default_value;
     101          194 :     ZVAL_DOUBLE(&property_x0_default_value, 0.0);
     102          194 :     zend_string *property_x0_name = zend_string_init("x0", sizeof("x0") - 1, 1);
     103          194 :     zend_declare_typed_property(class_entry, property_x0_name, &property_x0_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_DOUBLE));
     104              :     zend_string_release(property_x0_name);
     105              : 
     106              :     zval property_y0_default_value;
     107          194 :     ZVAL_DOUBLE(&property_y0_default_value, 0.0);
     108          194 :     zend_string *property_y0_name = zend_string_init("y0", sizeof("y0") - 1, 1);
     109          194 :     zend_declare_typed_property(class_entry, property_y0_name, &property_y0_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_DOUBLE));
     110              :     zend_string_release(property_y0_name);
     111              : 
     112          194 :     return class_entry;
     113              : }
        

Generated by: LCOV version 2.0-1