TransformRgn
TheTransformRgnfunction allows your application to apply a specified matrix to a region.
pascal OSErr TransformRgn (MatrixRecordPtr mp, RgnHandle r);
mp- Points to the matrix for this operation. The
TransformRgnfunction currently supports only translating and scaling operations.r- Specifies the region to be transformed. The
TransformRgnfunction transforms each point in the region according to the contents of the specified matrix.ERROR CODES
Memory Manager errors