Gets the bounding box for an element.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_PDE_element_get_bbox( HIG_PDE_ELEMENT hElement, LPAT_PDF_FIXEDRECT lpBBox ); |
Name | Type | Description |
---|---|---|
hElement | HIG_PDE_ELEMENT | An element whose bounding box is obtained. |
lpBBox | LPAT_PDF_FIXEDRECT | Pointer to an AT_PDF_FIXEDRECT structure specifying the bounding box of hElement, specified in user space coordinates. |
Error count.
This function does not process image pixels.
The returned bounding box is guaranteed to encompass the element, but is not guaranteed to be the smallest box that could contain the element. For example, for an arc, lpBBox encloses the Bezier control points, not just the curve itself.