BOOL XFORMOBJ_bApplyXform(
IN XFORMOBJ *pxo, | |
IN ULONG iMode, | |
IN ULONG cPoints, | |
IN PVOID pvIn, | |
OUT PVOID pvOut | |
); |
XFORMOBJ_bApplyXform applies the given transform or its inverse to the given array of points.
Parameters
pxo
Points to a XFORMOBJ structure that defines the transform to be applied to the pvIn array.
iMode
Identifies the transform and the input and output data types. This parameter can be one of the following:
Value | Meaning |
XF_LTOL | Applies the transform to POINTL structures to get POINTL structures. |
XF_INV_LTOL | Applies the inverse of the transform to POINTL structures to get POINTL structures. |
XF_LTOFX | Applies the transform to POINTL structures to get POINTFX structures. |
XF_INV_FXTOL | Applies the inverse of the transform to POINTFX structures to get POINTL structures. |
cPoints
Specifies the count of points in pvIn to be transformed.
pvIn
Points to an array of input points. The format of the points is specified by the iMode parameter.
pvOut
Points to the buffer that is to receive the transformed points. The iMode parameter specifies the format of the points.
Return Value
The return value is TRUE if all points were transformed without overflow. FALSE is returned if pxo, pvIn, or pvOut are null, or if overflow occurs during the transformation.
See Also