Expand/Shrink

cdCanvasGetTextSize

Definition: include pGUI.e

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