On 07.05.2010, at 10:46, Albrecht Schlosser wrote:

>> I don't know if fltk2 has that ability or not (though it is feasible on
>> many modern systems).
> 
> FLTK 1.3 has support for rotated text drawing, and it works at least on 
> Windows and Linux (just tested to be sure), but I don't know if it would 
> work for Mac OS X, see:
> 
> <http://www.fltk.org/doc-1.3/group__fl__drawings.html#g14f28b302c1adf1f6dc76efbd6275a50>
> 
> "fl_draw  (int angle, const char *str, int n, int x, int y)
>  Draws an array of n characters starting at the given location,
>  rotating angle degrees counterclockwise."
> 
> For an example see test/rotated_text.cxx

Holy cow! I did not know that. Anyways, I added the test program to the Fluid 
IDE settings and committed the changes. We should probably add this demo to the 
"Demo" program as well.

Oh, and yes, it works very well on OS X.

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

Reply via email to