ResizePenData
1.0 2.0
Scales ink in
an HPENDATA object into an arbitrarily sized rectangle.
BOOL ResizePenData( HPENDATA hpndt,
LPRECT lprect )
Parameters
hpndt
Handle to a
pen data object.
lprect
Address of a
bounding rectangle, or NULL.
Return Value
Returns TRUE
if successful; otherwise, the return value is FALSE.
Comments
This function
changes the physical size of the object without changing the meaning of the
measurements. Use the MetricScalePenData
ResizePenData physically resizes the data in hpndt to the
bounding rectangle dimensions given by the lprect parameter. Data from hpndt
is mapped to the new rectangle. If lprect is NULL, this function
recalculates the bounding rectangle (the rectBound member in the PENDATAHEADER
See Also