AndroidTypeface::AndroidTypeface |
( |
const Font & |
font | ) |
|
|
inline |
AndroidTypeface::AndroidTypeface |
( |
const void * |
data, |
|
|
size_t |
size |
|
) |
| |
|
inline |
float AndroidTypeface::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 AndroidTypeface::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.
Returns a new EdgeTable that contains the path for the givem glyph, with the specified transform applied.
Reimplemented from 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 AndroidTypeface::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 AndroidTypeface::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 AndroidTypeface::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.
void AndroidTypeface::initialise |
( |
JNIEnv *const |
env | ) |
|
|
inline |
float AndroidTypeface::ascent |
float AndroidTypeface::descent |
float AndroidTypeface::heightToPointsFactor |
The documentation for this class was generated from the following file: