Piccolo.NET

PMatrix Constructor (RectangleF, PointF[])

Constructs a new PMatrix initialized to the geometric transform defined by the specified rectangle and array of points.

public PMatrix(
   RectangleF rect,
   PointF[] plgpts
);

Parameters

rect
A RectangleF structure that represents the rectangle to be transformed.
plgpts
An array of three PointF structures that represents the points of a parallelogram to which the upper-left, upper-right, and lower-left corners of the rectangle is to be transformed. The lower-right corner of the parallelogram is implied by the first three corners.

Remarks

This method initializes the new PMatrix such that it represents the geometric transform that maps the rectangle specified by the rect parameter to the parallelogram defined by the three points in the plgpts parameter. The upper-left corner of the rectangle is mapped to the first point in the plgpts array, the upper-right corner is mapped to the second point, and the lower-left corner is mapped to the third point. The lower-left point of the parallelogram is implied by the first three.

See Also

PMatrix Class | UMD.HCIL.Piccolo.Util Namespace | PMatrix Constructor Overload List


Web Accessibility