ResizePenData
- 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 function to convert the data to one of the supported metric modes of
measurement.
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 structure). For example, consider the case of pen data with PDTS_HIMETRIC
scaling bounded by the square (500, 600, 1500, 1600). To double the size, set
lprect to (500, 600, 2500, 2600).
See Also
OffsetPenData,
MetricScalePenData, PDTS_
- Software for developers
-
Delphi Components
.Net Components
Software for Android Developers
- More information resources
-
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
- Databases for Amazon shops developers
-
Amazon Categories Database
Browse Nodes Database