Hi

I would like to draw a box containing the legend of the graph, in a box
with semi transparent background. So i need to know the lenght 
(in pixel or win coordinates) of the string, in order to size the box.

I tried  `lenght = number_of_char(text) * 8 + 30; # pixels`
which does not work because the font is not fixed-width

Is there a way to do do this ?

Thanks,
Alain.

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to