cdCanvasGetTextSize

Definition: include pGUI.e

integer {width, height} = cdCanvasGetTextSize(cdCanvas hCdCanvas, string text)
-- or --
atom {width, height} = wdCanvasGetTextSize(cdCanvas hCdCanvas, string text)
Description: Returns the text size independent from orientation.