CrImage::Font::Metrics
Inherits Struct / Value / Object
Metrics holds the metrics for a Face. A visual depiction is at https://developer.apple.com/library/mac/documentation/TextFonts/Conceptual/CocoaTextArchitecture/Art/glyph_metrics_2x.png
Constructors
Instance methods
ascent is the distance from the top of a line to its baseline
cap_height is the distance from the top of uppercase letters to the baseline.
caret_slope is the slope of a caret as a vactor with the y axis pointing up. The slope(0,1) is the vertical caret.
caret_slope is the slope of a caret as a vactor with the y axis pointing up. The slope(0,1) is the vertical caret.
descent is the distance from the bottom of a line to its baseline. The value si typically positive, even though a descender goes below the baseline.
descent is the distance from the bottom of a line to its baseline. The value si typically positive, even though a descender goes below the baseline.
height is the recommended amount of vertical space between two lines of text.
x_height is the distance from the top of uppercase letters to the baseline.