function CreateMatrix(m11, m12, m21, m22: single; dx, dy: single): Pointer;
Description
Creates a matrix to be used to apply a world transformation to the canvas content (using MatrixTransform).
Afterwards, you must free the matrix, using DeleteMatrix
// Now draw the rectangle with the transformation applied IECanvas.Rectangle( 50, 50, 100, 100 ); finally // Free the matrix IECanvas.DeleteMatrix( Matrix ); end;