From f13defde281dbd383dbc21488154a109dff50b40 Mon Sep 17 00:00:00 2001 From: yuri Date: Fri, 24 Apr 2009 09:28:30 +0000 Subject: add fl_draw(int angle, const char* ... functions for rotated text drawing STR#1840 closed, STR#207 not closed because non-xft functions not implemented drawing of N Utf8 characters need correction for rotated and not rotated fl_draw functions not solved! git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6779 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Font.H | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Fl_Font.H') diff --git a/src/Fl_Font.H b/src/Fl_Font.H index d609f79f0..6bb2e724e 100644 --- a/src/Fl_Font.H +++ b/src/Fl_Font.H @@ -56,6 +56,7 @@ public: HFONT fid; int *width[64]; TEXTMETRIC metr; + int angle; FL_EXPORT Fl_Font_Descriptor(const char* fontname, Fl_Fontsize size); # elif defined(__APPLE_QD__) FL_EXPORT Fl_Font_Descriptor(const char* fontname, Fl_Fontsize size); @@ -76,6 +77,7 @@ public: XftFont* font; const char* encoding; Fl_Fontsize size; + int angle; FL_EXPORT Fl_Font_Descriptor(const char* xfontname); # else XUtf8FontStruct* font; // X UTF-8 font information -- cgit v1.2.3