Home
last modified time | relevance | path

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

/php-src/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-src/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.c2250 const double affine[6]) in gdTransformAffineGetImage()
2265 gdTransformAffineBoundingBox(src_area, affine, &bbox); in gdTransformAffineGetImage()
2279 gdAffineConcat(m, affine, m); in gdTransformAffineGetImage()
2317 const double affine[6]) in gdTransformAffineCopy()
2352 if (!gdTransformAffineBoundingBox(src_region, affine, &bbox)) { in gdTransformAffineCopy()
2367 if (gdAffineInvert(inv, affine) == GD_FALSE) { in gdTransformAffineCopy()
2438 int gdTransformAffineBoundingBox(gdRectPtr src, const double affine[6], gdRectPtr bbox) in gdTransformAffineBoundingBox()
2454 if (gdAffineApplyToPointF(&extent[i], &point, affine) != GD_TRUE) { in gdTransformAffineBoundingBox()
/php-src/ext/gd/
H A Dgd.c3997 double affine[6]; in PHP_FUNCTION() local
4020 affine[i] = Z_LVAL_P(zval_affine_elem); in PHP_FUNCTION()
4021 if (affine[i] < INT_MIN || affine[i] > INT_MAX) { in PHP_FUNCTION()
4027 affine[i] = Z_DVAL_P(zval_affine_elem); in PHP_FUNCTION()
4028 if (affine[i] < INT_MIN || affine[i] > INT_MAX) { in PHP_FUNCTION()
4035 if (affine[i] < INT_MIN || affine[i] > INT_MAX) { in PHP_FUNCTION()
4093 double affine[6]; in PHP_FUNCTION() local
4128 res = gdAffineTranslate(affine, x, y); in PHP_FUNCTION()
4130 res = gdAffineScale(affine, x, y); in PHP_FUNCTION()
4145 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 64 milliseconds