void GetPathExtents(struct PathExtentsCtrl *ctrl);
struct PathExtentsCtrl
pointer which contains all information
to this function. struct PathExtentsCtrl
looks like this:
struct PathExtentsCtrl { void *Path; // [in] struct PathStyle *Style; // [in] int Fill; // [in] int Thickness; // [in] double TX; // [in] double TY; // [in] double X1; // [out] double Y1; // [out] double X2; // [out] double Y2; // [out] struct hwMatrix2D *Matrix; // [in] -- V6.0 }; |
Here's a description of each structure member's function:
Path:
Style:
struct PathStyle
containing
information about the line style that shall be used when drawing this path.
See DrawPath for details.
Fill:
True
, you have to determine the extents of
filled shapes.
Thickness:
TX:
TY:
X1:
Y1:
X2:
Y2:
Matrix:
HWEXT_VECTOR_EXACTFIT
extension bit
has been set. In that case, this member contains a 2D transformation matrix that
should be applied to this path before computing the path extents. If there is no
transformation, you'll get a pointer to an identity matrix consisting of (1,0,0,1). (V6.0)
struct PathExtentsCtrl
which contains
information about the path and receives details about its extents