Expand/Shrink

cdCanvasGetFont

Definition: include pGUI.e

string fontname
integer fontstyle, fontsize

{fontname, fontstyle, fontsize} = cdCanvasGetFont(cdCanvas canvas)
-- or --
{fontname, fontstyle, fontsize} = wdCanvasGetFont(cdCanvas canvas)
Description: Returns the values of the current font, see cdCanvasFont for details.
pwa/p2js: Not supported.
Comments: In WC, the fontsize is returned in millimeters.