hello ,
please ckeck the link whether you are looking for this ?

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

srizbf
7thmay2010

> On 06.05.2010, at 20:55, imacarthur wrote:
>
> > You mean rotate the text?
> >
> > I don't know if fltk2 has that ability or not (though it is feasible on
> > many modern systems).
>
> Neither do I.
>
> > There are hooks to support text rotation in the fltk-1.3 tree, at least
> > on some platforms, though probably not all, but there's no exposed API
> > for it AFAIK. There are a few contributions on the links page that
> > provide for text rotation, so you might find something there that works.
>
> 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
>
> Albrecht

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

Reply via email to