18.17.3Class TTFMetrics

Metrics for glyphs and rendered strings.

Class TTFMetrics

This class stores porperties that are used by font metrics related functions and metods to report sizes of font renderings.

Those functions doesn't use directly this class; instead, they check the interface of the objects that they receive, so any class providing the required properties can be used.

Properties
ascent Asccent value for a glyph
h height of a glyph or string rendering
maxx maximum x value for a glyph
maxy maximum y value for a glyph
minx minimum x value for a glyph
miny minimum y value for a glyph
w width of a glyph or string rendering

Properties

ascent

Asccent value for a glyph

Asccent value for a glyph

h

height of a glyph or string rendering

height of a glyph or string rendering

maxx

maximum x value for a glyph

maximum x value for a glyph

maxy

maximum y value for a glyph

maximum y value for a glyph

minx

minimum x value for a glyph

minimum x value for a glyph

miny

minimum y value for a glyph

minimum y value for a glyph

w

width of a glyph or string rendering

width of a glyph or string rendering

Made with http://www.falconpl.org