> So, I want to draw some text rotated 90 degrees.  There's fl_rotate,
> but the documentation also says whether fl_draw is affected is
> implementation defined.  And sure enough, on OS X, it's not.

Evan, are you using fltk-1.3?

If so (I think you are?) then it may not be that hard.

The fltk-1.3 version of fl_draw() exists in several forms, one of which
is:

/**
  Draws a nul-terminated string starting at the given location and 
  rotating \p angle degrees counter-clockwise.
  This version of fl_draw provides direct access to the text drawing
  function of the underlying OS and is supported by Xft, Win32 and MacOS
  fltk subsets.
*/
FL_EXPORT void fl_draw(int angle, const char* str, int x, int y);


Maybe that is all that you need?

-- 
Ian



SELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

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

Reply via email to