Definition: |
include pGUI.e
sequence rect = cdCanvasGetVectorTextBounds(cdCanvas hCdCanvas, string text, integer px, py) -- or -- sequence rect = wdCanvasGetVectorTextBounds(cdCanvas hCdCanvas, string text, atom px, py) |
Description: | Returns the oriented bounding rectangle occupied by a text at a given position. |
Comments: |
The rectangle has the same dimentions returned by cdCanvasGetVectorTextSize. The rectangle corners are returned in counter-clock wise order starting with the bottom left corner, arranged (x0,y0,x1,y1,x2,y2,x3,y3). |