/** @file
* @brief Definition of struct one_glyph
*/
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* See the file COPYING for details.
*/
#ifndef LIBNRTYPE_ONE_GLYPH_H_INKSCAPE
#define LIBNRTYPE_ONE_GLYPH_H_INKSCAPE
#include <pango/pango-types.h>
/**
* Information for a single glyph.
*
* Pango converts the text into glyphs, but scatters the info for a given glyph; here is a
* structure holding what inkscape needs to know.
*/
struct one_glyph {
double x, y; ///< glyph position in the layout (nominal sizes, in the [0..1] range).
* account.) */
* You always have uni_st < uni_en. */
* When rendering glyphs, check if this font is the one you're using. */
};
#endif /* !LIBNRTYPE_ONE_GLYPH_H_INKSCAPE */
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :