Glyph

A glyph is a single character

Constructors

this
this(FT_GlyphSlot slot, dchar rep)

Constructs a new glyph

Members

Functions

getAdvance
FTVector getAdvance()

Gets advance (how much to offset position after rendering this character)

getBearing
FTVector getBearing()

Gets the bearing (offset from origin)

getBuffer
ubyte* getBuffer()

Gets the stored buffer of the glyph

getBufferSize
size_t getBufferSize()

Gets the size in byte of the stored glyph pixel buffer

getDataSize
PVector getDataSize()

Gets the size of the glyph in bytes on each axis

getGrays
uint getGrays()

Get number of gray levels used

getPixelMode
GlyphPixels getPixelMode()

Gets the pixel mode of the glyph.

getPixels
ubyte[] getPixels()
Undocumented in source. Be warned that the author may not have intended to support it.
getSize
PVector getSize()

Gets the size of the glyph in pixels

Meta