MDrawGlyphInfo Struct Reference
[Drawing]

Type of information about a glyph. More...


Data Fields

int from
int to
int line_from
int line_to
int x
int y
MDrawMetric metrics
MFontfont
int prev_from
int next_to
int left_from
int left_to
int right_from
int right_to
int logical_width


Detailed Description

Type of information about a glyph.

The type MDrawGlyphInfo is the structure that contains information about a glyph. It is used by mdraw_glyph_info().


Field Documentation

Start position of character range corresponding to the glyph.

End position of character range corresponding to the glyph.

Start position of character range corresponding to the line of the glyph.

End position of character range corresponding to the line of the glyph.

X coordinates of the glyph.

Y coordinates of the glyph.

Metric of the glyph.

Font used for the glyph. Set to NULL if no font is found for the glyph.

Character ranges corresponding to logically previous glyphs. Note that we do not need the members prev_to because it must be the same as the member <from>.

Character ranges corresponding to logically next glyphs. Note that we do not need the members next_from because it must be the same as the member <to> respectively.

Start position of character ranges corresponding to visually left glyphs.

End position of character ranges corresponding to visually left glyphs.

Start position of character ranges corresponding to visually right glyphs.

End position of character ranges corresponding to visually left glyphs.

Logical width of the glyph. Nominal distance to the next glyph.


m17n-lib Home