const PointSize26Dot6 FontClient::DEFAULT_POINT_SIZE = 768u; // 12*64
FontClient::GlyphBufferData::GlyphBufferData()
-: buffer( NULL ),
+: buffer( nullptr ),
width( 0u ),
height( 0u ),
format( Pixel::A8 )
return *this;
}
+void FontClient::ClearCache()
+{
+ GetImplementation(*this).ClearCache();
+}
+
void FontClient::SetDpi( unsigned int horizontalDpi, unsigned int verticalDpi )
{
GetImplementation(*this).SetDpi( horizontalDpi, verticalDpi );
return GetImplementation(*this).IsColorGlyph( fontId, glyphIndex );
}
-bool FontClient::AddCustomFontDirectory( const char* path )
+bool FontClient::AddCustomFontDirectory( const FontPath& path )
{
return GetImplementation(*this).AddCustomFontDirectory( path );
}