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.
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. |
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.