COleControl::TransformCoords

void TransformCoords( POINTL FAR* lpptlHimetric, POINTF FAR* lpptfContainer, DWORD flags );

Parameters

lpptlHimetric

Pointer to a POINTL structure containing coordinates in HIMETRIC units.

lpptfContainer

Pointer to a POINTF structure containing coordinates in the container’s unit size.

flags

A combination of the following values:

Remarks

Call this function to transform coordinate values between HIMETRIC units and the container’s native units.

The first two flags, XFORMCOORDS_POSITION and XFORMCOORDS_SIZE, indicate whether the coordinates should be treated as a position or a size. The remaining two flags indicate the direction of transformation.

COleControl OverviewClass MembersHierarchy Chart

See Also   COleControl::AmbientScaleUnits