Expand Minimize

XFORMOBJ_bApplyXform function

The XFORMOBJ_bApplyXform function applies the given transform or its inverse to the given array of points.

Syntax


BOOL XFORMOBJ_bApplyXform(
  XFORMOBJ *pxo,
  _In_  ULONG    iMode,
  ULONG    cPoints,
  PVOID    pvIn,
  PVOID    pvOut
);

Parameters

pxo

Pointer to a XFORMOBJ structure that defines the transform to be applied to the pvIn array.

iMode [in]

Identifies the transform and the input and output data types. This parameter can be one of the following:

ValueMeaning

XF_INV_FXTOL

Applies the inverse of the transform to POINTFIX 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 POINTFIX structures (see GDI Data Types).

XF_LTOL

Applies the transform to POINTL structures to get POINTL structures.

 

cPoints

Specifies the count of points in pvIn to be transformed.

pvIn

Pointer to an array of input points. The format of the points is specified by the iMode parameter.

pvOut

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

Requirements

Target platform

Universal

Version

Available in Windows 2000 and later versions of the Windows operating systems.

Header

Winddi.h (include Winddi.h)

Library

Win32k.lib

DLL

Win32k.sys

See also

XFORMOBJ

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft