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