Code

1040e2be988609a93f96610d13c92ec45b2f8a22
[inkscape.git] / src / libnrtype / one-box.h
1 /** \file Definition of struct one_box. */
3 #ifndef LIBNRTYPE_ONE_BOX_H_INKSCAPE
4 #define LIBNRTYPE_ONE_BOX_H_INKSCAPE
6 // text chunking 2, the comeback
7 // this time for sp-typeset
8 struct one_box {
9     int g_st, g_en; ///< First and last glyph of this word.
10     double ascent, descent, leading;
11     double width;
12     bool word_start, word_end;
13 };
16 #endif /* !LIBNRTYPE_ONE_BOX_H_INKSCAPE */
18 /*
19   Local Variables:
20   mode:c++
21   c-file-style:"stroustrup"
22   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
23   indent-tabs-mode:nil
24   fill-column:99
25   End:
26 */
27 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :