Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Transforms coordinate values between HIMETRIC units and the container's native units.
void TransformCoords(
POINTL* lpptlHimetric,
POINTF* 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:XFORMCOORDS_POSITION A position in the container.
XFORMCOORDS_SIZE A size in the container.
XFORMCOORDS_HIMETRICTOCONTAINER Transform HIMETRIC units to the container's units.
XFORMCOORDS_CONTAINERTOHIMETRIC Transform the container's units to HIMETRIC units.
Remarks
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.
Requirements
Header: afxctl.h
See Also
Reference
COleControl::AmbientScaleUnits