40        class FontMetrics_Impl;
 
   54                        float internal_leading,
 
   55                        float external_leading,
 
   84                std::shared_ptr<FontMetrics_Impl> impl;
 
 
Font metrics class.
Definition font_metrics.h:46
float get_descent() const
Returns the font descender.
float get_ascent() const
Returns the font ascender.
float get_line_height() const
Return the distance between lines.
float get_baseline_offset() const
Returns the baseline offset from the top of a line.
float get_internal_leading() const
Returns the amount of leading (space) inside the bounds set by the get_height() function.
float get_height() const
Returns the height of the font.
float get_external_leading() const
Returns the amount of extra leading (space) that to add between rows.
FontMetrics(float height, float ascent, float descent, float internal_leading, float external_leading, float line_height, float pixel_ratio)