1
#ifndef SEEN_LIBNRTYPE_FONT_STYLE_H
2
#define SEEN_LIBNRTYPE_FONT_STYLE_H
4
#include <2geom/matrix.h>
5
#include <livarot/LivarotDefs.h>
6
#include <livarot/livarot-forward.h>
8
// structure that holds data describing how to render glyphs of a font
10
// Different raster styles.
12
Geom::Matrix transform; // the ctm. contains the font-size
13
bool vertical; // should be rendered vertically or not?
14
// good font support would take the glyph alternates for vertical mode, when present
15
double stroke_width; // if 0, the glyph is filled; otherwise stroked
18
float stroke_miter_limit;
23
void Apply(Path *src, Shape *dst); // utility: applies the style to the path and stores the result in the shape
27
#endif /* !SEEN_LIBNRTYPE_FONT_STYLE_H */
32
c-file-style:"stroustrup"
33
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
38
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :