openshot-audio
0.1.6
|
Additional Inherited Members | |
![]() | |
typedef ReferenceCountedObjectPtr < Typeface > | Ptr |
![]() | |
static Ptr | createSystemTypefaceFor (const Font &font) |
static Ptr | createSystemTypefaceFor (const void *fontFileData, size_t fontFileDataSize) |
static void | setTypefaceCacheSize (int numFontsToCache) |
static void | clearTypefaceCache () |
static void | scanFolderForFonts (const File &folder) |
![]() | |
Typeface (const String &name, const String &style) noexcept | |
![]() | |
ReferenceCountedObject () | |
virtual | ~ReferenceCountedObject () |
void | resetReferenceCount () noexcept |
![]() | |
static Ptr | getFallbackTypeface () |
![]() | |
String | name |
String | style |
|
inline |
|
inline |
|
inlinevirtual |
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.
|
inlinevirtual |
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.
|
inlinevirtual |
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.
|
inlinevirtual |
Returns the value by which you should multiply a juce font-height value to convert it to the equivalent point-size.
Implements Typeface.
Returns the outline for a glyph. The path returned will be normalised to a font height of 1.0.
Implements Typeface.
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.