Regarding fl_font(), the docs say that I ".. may call this outside
a draw context if necessary to call fl_width().."

I'd like to do that (actually, I'd like to call fl_measure(), and
assume the same constraints apply) but fear side effects.  Is it recommended 
that the current settings of font and size be saved,
then restored after I'm done measuring?

PS.  I nice addition to the api, IMO, would be
   fl_measure(char const* str, int font, int face, int& w, int& h).


_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to