Home
last modified time | relevance | path

Searched refs:affine (Results 1 – 7 of 7) sorted by relevance

/PHP-8.4/ext/gd/tests/
H A Dgh16322.phpt2 GH-16322 (imageaffine overflow/underflow on affine matrix)
26 imageaffine(): Argument #2 ($affine) element 0 must be between %s and %d
27 imageaffine(): Argument #2 ($affine) element 3 must be between %s and %d
/PHP-8.4/ext/gd/libgd/
H A Dgd_matrix.c28 const double affine[6]) in gdAffineApplyToPointF()
32 dst->x = x * affine[0] + y * affine[2] + affine[4]; in gdAffineApplyToPointF()
33 dst->y = x * affine[1] + y * affine[3] + affine[5]; in gdAffineApplyToPointF()
H A Dgd.h906 int gdAffineApplyToPointF (gdPointFPtr dst, const gdPointFPtr src, const double affine[6]);
920 …mAffineGetImage(gdImagePtr *dst, const gdImagePtr src, gdRectPtr src_area, const double affine[6]);
921 …Ptr dst, int dst_x, int dst_y, const gdImagePtr src, gdRectPtr src_region, const double affine[6]);
927 int gdTransformAffineBoundingBox(gdRectPtr src, const double affine[6], gdRectPtr bbox);
H A Dgd_interpolation.c2238 const double affine[6]) in gdTransformAffineGetImage()
2253 gdTransformAffineBoundingBox(src_area, affine, &bbox); in gdTransformAffineGetImage()
2267 gdAffineConcat(m, affine, m); in gdTransformAffineGetImage()
2305 const double affine[6]) in gdTransformAffineCopy()
2340 if (!gdTransformAffineBoundingBox(src_region, affine, &bbox)) { in gdTransformAffineCopy()
2355 if (gdAffineInvert(inv, affine) == GD_FALSE) { in gdTransformAffineCopy()
2426 int gdTransformAffineBoundingBox(gdRectPtr src, const double affine[6], gdRectPtr bbox) in gdTransformAffineBoundingBox()
2442 if (gdAffineApplyToPointF(&extent[i], &point, affine) != GD_TRUE) { in gdTransformAffineBoundingBox()
/PHP-8.4/ext/gd/
H A Dgd.c4039 double affine[6]; in PHP_FUNCTION() local
4062 affine[i] = Z_LVAL_P(zval_affine_elem); in PHP_FUNCTION()
4063 if (affine[i] < INT_MIN || affine[i] > INT_MAX) { in PHP_FUNCTION()
4069 affine[i] = Z_DVAL_P(zval_affine_elem); in PHP_FUNCTION()
4070 if (affine[i] < INT_MIN || affine[i] > INT_MAX) { in PHP_FUNCTION()
4077 if (affine[i] < INT_MIN || affine[i] > INT_MAX) { in PHP_FUNCTION()
4135 double affine[6]; in PHP_FUNCTION() local
4170 res = gdAffineTranslate(affine, x, y); in PHP_FUNCTION()
4172 res = gdAffineScale(affine, x, y); in PHP_FUNCTION()
4187 res = gdAffineShearVertical(affine, angle); in PHP_FUNCTION()
[all …]
H A Dgd.stub.php773 function imageaffine(GdImage $image, array $affine, ?array $clip = null): GdImage|false {} argument
H A Dgd_arginfo.h543 ZEND_ARG_TYPE_INFO(0, affine, IS_ARRAY, 0)

Completed in 32 milliseconds