GlyphMetrics

D struct that wraps a glyph's metrics information

Constructors

this
this()
Undocumented in source.
this
this(int[2] min, int[2] max, int advance)

Constructs a new dsdl2.ttf.GlyphMetrics by feeding in its attributes

Members

Functions

maxX
inout(int) maxX()

Proxy to the maximum X value of the dsdl2.ttf.GlyphMetrics

maxY
inout(int) maxY()

Proxy to the maximum Y value of the dsdl2.ttf.GlyphMetrics

minX
inout(int) minX()

Proxy to the minimum X value of the dsdl2.ttf.GlyphMetrics

minY
inout(int) minY()

Proxy to the minimum Y value of the dsdl2.ttf.GlyphMetrics

toString
string toString()

Formats the dsdl2.ttf.GlyphMetrics into its construction representation: "dsdl2.ttf.GlyphMetrics(<min>, <max>, <advance>)"

Variables

advance
int advance;

Advancing step size of the glyph

max
int[2] max;

Tuple of the maxX and maxY values

min
int[2] min;

Tuple of the minX and minY values

Meta