Yuri, if you are interested, I have a class for rotated text. It is a 
subclass of Fl_Bitmap so it can be used ie as a widget label by using 
Fl_Widget::image() method. Tested only under windows and linux, but 
should work under mac too as the code is portable.

You can find it at

http://phy19.phy.tcd.ie/fltk/Fl_Rotated_Text/

Roman

Yuri wrote:
> DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
> 
> [STR New]
> 
> Link: http://www.fltk.org/str.php?L1840
> Version: 1.2-feature
> Fix Version: None
> 
> 
> I've made a rotated text patch for xft fonts (I can write it for win32).
> 
> it change void fl_font(int face,int size) call.
> int fl_font(int face,int size, double (or int) angle=0).
> 
> I test it on Linux. (can test it on win32).
> 
> But I have no idia for no-xft fonts. i have no macos.
> And i can suppose that for APLE_QARTS it's easy (as i see in code).
> 
> If onyone wants this feature and can help on macos and no-xft (or maybe
> exclude this for no-xft fonts?) i can commit this changes.
> 
> Any comments please.
> 
> P.S.
> path for fltk-1.1.8-utf-8. but I can adapt it for current 1.1 svn (or) 2.0
> svn
> 
> 
> Link: http://www.fltk.org/str.php?L1840
> Version: 1.2-feature
> Fix Version: None
> 
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to