diff options
Diffstat (limited to 'Build/source/texk/dvisvgm/dvisvgm-1.5.1/src/FontStyle.h')
-rw-r--r-- | Build/source/texk/dvisvgm/dvisvgm-1.5.1/src/FontStyle.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Build/source/texk/dvisvgm/dvisvgm-1.5.1/src/FontStyle.h b/Build/source/texk/dvisvgm/dvisvgm-1.5.1/src/FontStyle.h new file mode 100644 index 00000000000..932c09291cc --- /dev/null +++ b/Build/source/texk/dvisvgm/dvisvgm-1.5.1/src/FontStyle.h @@ -0,0 +1,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 |