[Gambas-user] Draw.Text adapted to DrawingArea ?
Laurent Carlier
lordheavy at ...512...
Mon Feb 14 13:28:39 CET 2005
Le Lundi 14 Février 2005 12:10, Eilert a écrit :
> The Draw.Text() function has a width and height option, but I don't
> understand how it works (no examples in the help) and I don't know if it
> would be of any help here.
draw.textHeight("my text") return the height of the text (my text) in pixels,
draw.textWidth("my text") return the width of the text (my text) in pixels.
--
Laurent Carlier
More information about the User
mailing list