1 #ifndef FONTSTYLE 2 #define FONTSTYLE 3 4 struct FontStyle { FontStyleFontStyle5 FontStyle () : bold(0), extend(1), slant(0) {} FontStyleFontStyle6 FontStyle (float b, float e, float s) : bold(b), extend(e), slant(s) {} 7 double bold; ///< stroke width in pt used to draw the glyph outlines 8 double extend; ///< factor to strech/shrink the glyphs horizontally 9 double slant; ///< horizontal slanting/skewing value (= tan(phi)) 10 }; 11 12 #endif 13