Home
last modified time | relevance | path

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

/PHP-8.2/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.2/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.h903 int gdAffineApplyToPointF (gdPointFPtr dst, const gdPointFPtr src, const double affine[6]);
917 …mAffineGetImage(gdImagePtr *dst, const gdImagePtr src, gdRectPtr src_area, const double affine[6]);
918 …Ptr dst, int dst_x, int dst_y, const gdImagePtr src, gdRectPtr src_region, const double affine[6]);
924 int gdTransformAffineBoundingBox(gdRectPtr src, const double affine[6], gdRectPtr bbox);
H A Dgd_interpolation.c2260 const double affine[6]) in gdTransformAffineGetImage()
2275 gdTransformAffineBoundingBox(src_area, affine, &bbox); in gdTransformAffineGetImage()
2289 gdAffineConcat(m, affine, m); in gdTransformAffineGetImage()
2327 const double affine[6]) in gdTransformAffineCopy()
2362 if (!gdTransformAffineBoundingBox(src_region, affine, &bbox)) { in gdTransformAffineCopy()
2377 if (gdAffineInvert(inv, affine) == GD_FALSE) { in gdTransformAffineCopy()
2448 int gdTransformAffineBoundingBox(gdRectPtr src, const double affine[6], gdRectPtr bbox) in gdTransformAffineBoundingBox()
2464 if (gdAffineApplyToPointF(&extent[i], &point, affine) != GD_TRUE) { in gdTransformAffineBoundingBox()
/PHP-8.2/ext/gd/
H A Dgd.c3671 double affine[6]; in PHP_FUNCTION() local
3690 affine[i] = Z_LVAL_P(zval_affine_elem); in PHP_FUNCTION()
3691 if (affine[i] < INT_MIN || affine[i] > INT_MAX) { in PHP_FUNCTION()
3697 affine[i] = Z_DVAL_P(zval_affine_elem); in PHP_FUNCTION()
3698 if (affine[i] < INT_MIN || affine[i] > INT_MAX) { in PHP_FUNCTION()
3705 if (affine[i] < INT_MIN || affine[i] > INT_MAX) { in PHP_FUNCTION()
3763 double affine[6]; in PHP_FUNCTION() local
3797 res = gdAffineTranslate(affine, x, y); in PHP_FUNCTION()
3799 res = gdAffineScale(affine, x, y); in PHP_FUNCTION()
3814 res = gdAffineShearVertical(affine, angle); in PHP_FUNCTION()
[all …]
H A Dgd.stub.php774 function imageaffine(GdImage $image, array $affine, ?array $clip = null): GdImage|false {} argument
H A Dgd_arginfo.h552 ZEND_ARG_TYPE_INFO(0, affine, IS_ARRAY, 0)

Completed in 33 milliseconds