|
Description
Converts an array of points from one coordinate
space to another. The conversion is based on the current world and page
transformations of this Graphics object.
Syntax
GpStatus WINGDIPAPI GdipTransformPoints(
GpGraphics
*graphics,
GpCoordinateSpace destSpace,
GpCoordinateSpace srcSpace,
GpPointF
*points,
INT count
);
PowerBASIC Syntax
DECLARE FUNCTION GdipTransformPoints ( _
BYVAL graphics
AS DWORD, _
BYVAL destSpace
AS LONG, _
BYVAL srcSpace
AS LONG, _
BYREF pPoints
AS PointF, _
BYVAL count AS
LONG _
) AS LONG
Parameters
graphics
[in] Pointer to the
Graphics
object.
destSpace
[in]
Element
of the CoordinateSpace enumeration that specifies
the destination coordinate space.
srcSpace
[in]
Element
of the CoordinateSpace enumeration that specifies
the source coordinate space.
points
[in, out]
Pointer
to an array that, on input, holds the points to be converted and, on
output, holds the converted points.
count
[in] Long integer value
that specifies the number of elements in the pts
array.
Remarks
The world transformation converts points from
the world coordinate space to the page coordinate space. The page
transformation converts points from the page coordinate space to the
device coordinate space.
|