Struct freetypegl::TextureGlyph[][src]

pub struct TextureGlyph { /* fields omitted */ }

Methods

impl TextureGlyph
[src]

Unicode codepoint this glyph represents in UTF-32 LE encoding.

Glyph's width in pixels.

Glyph's height in pixels.

Glyph's left bearing expressed in integer pixels.

Glyphs's top bearing expressed in integer pixels.

Remember that this is the distance from the baseline to the top-most glyph scanline, upwards y coordinates being positive.

For horizontal text layouts, this is the horizontal distance (in fractional pixels) used to increment the pen position when the glyph is drawn as part of a string of text.

For vertical text layouts, this is the vertical distance (in fractional pixels) used to increment therendermode_t pen position when the glyph is drawn as part of a string of text.

First normalized texture coordinate (x) of top-left corner

Second normalized texture coordinate (y) of top-left corner

First normalized texture coordinate (x) of bottom-right corner

Second normalized texture coordinate (y) of bottom-right corner

Mode this glyph was rendered

Glyph outline thickness

Auto Trait Implementations

impl !Send for TextureGlyph

impl !Sync for TextureGlyph