| Affine transformation | |
| Transform | |
| gdTransformAffineGetImage | Applies an affine transformation to a region and return an image containing the complete transformation. | 
| gdTransformAffineCopy | Applies an affine transformation to a region and copy the result in a destination to the given position. | 
| gdTransformAffineBoundingBox | Returns the bounding box of an affine transformation applied to a rectangular area <gdRect> | 
int gdTransformAffineGetImage( gdImagePtr * dst, const gdImagePtr src, gdRectPtr src_area, const double affine[6] ) 
Applies an affine transformation to a region and return an image containing the complete transformation.
| dst | Pointer to a gdImagePtr to store the created image, NULL when the creation or the transformation failed | 
| src | Source image | 
| src_area | rectangle defining the source region to transform | 
| dstY | Y position in the destination image | 
| affine | The desired affine transformation | 
GD_TRUE if the affine is rectilinear or GD_FALSE
int gdTransformAffineCopy( gdImagePtr dst, int dst_x, int dst_y, const gdImagePtr src, gdRectPtr src_region, const double affine[6] ) 
Applies an affine transformation to a region and copy the result in a destination to the given position.
| dst | Image to draw the transformed image | 
| src | Source image | 
| dstX | X position in the destination image | 
| dstY | Y position in the destination image | 
| src_area | Rectangular region to rotate in the src image | 
GD_TRUE if the affine is rectilinear or GD_FALSE
int gdTransformAffineBoundingBox( gdRectPtr src, const double affine[6], gdRectPtr bbox ) 
Returns the bounding box of an affine transformation applied to a rectangular area <gdRect>
| src | Rectangular source area for the affine transformation | 
| affine | the affine transformation | 
| bbox | the resulting bounding box | 
GD_TRUE if the affine is rectilinear or GD_FALSE
Applies an affine transformation to a region and return an image containing the complete transformation.
int gdTransformAffineGetImage( gdImagePtr * dst, const gdImagePtr src, gdRectPtr src_area, const double affine[6] ) 
Applies an affine transformation to a region and copy the result in a destination to the given position.
int gdTransformAffineCopy( gdImagePtr dst, int dst_x, int dst_y, const gdImagePtr src, gdRectPtr src_region, const double affine[6] ) 
Returns the bounding box of an affine transformation applied to a rectangular area gdRect
int gdTransformAffineBoundingBox( gdRectPtr src, const double affine[6], gdRectPtr bbox )