OSXTypeface::OSXTypeface |
( |
const Font & |
font | ) |
|
|
inline |
OSXTypeface::~OSXTypeface |
( |
| ) |
|
|
inline |
float OSXTypeface::getAscent |
( |
| ) |
const |
|
inlineoverridevirtual |
Returns the ascent of the font, as a proportion of its height. The height is considered to always be normalised as 1.0, so this will be a value less that 1.0, indicating the proportion of the font that lies above its baseline.
Implements Typeface.
float OSXTypeface::getDescent |
( |
| ) |
const |
|
inlineoverridevirtual |
Returns the descent of the font, as a proportion of its height. The height is considered to always be normalised as 1.0, so this will be a value less that 1.0, indicating the proportion of the font that lies below its baseline.
Implements Typeface.
Converts a line of text into its glyph numbers and their positions. The distances returned are based on the font having an normalised height of 1.0. You should never need to call this directly! Use Font::getGlyphPositions() instead!
Implements Typeface.
float OSXTypeface::getHeightToPointsFactor |
( |
| ) |
const |
|
inlineoverridevirtual |
Returns the value by which you should multiply a juce font-height value to convert it to the equivalent point-size.
Implements Typeface.
bool OSXTypeface::getOutlineForGlyph |
( |
int |
glyphNumber, |
|
|
Path & |
path |
|
) |
| |
|
inlineoverridevirtual |
Returns the outline for a glyph. The path returned will be normalised to a font height of 1.0.
Implements Typeface.
float OSXTypeface::getStringWidth |
( |
const String & |
text | ) |
|
|
inlineoverridevirtual |
Measures the width of a line of text. The distance returned is based on the font having an normalised height of 1.0. You should never need to call this directly! Use Font::getStringWidth() instead!
Implements Typeface.
float OSXTypeface::fontHeightToPointsFactor |
CGFontRef OSXTypeface::fontRef |
CGAffineTransform OSXTypeface::renderingTransform |
The documentation for this class was generated from the following file: