* Create a new sprite font cache. * @param fs The font size to create the cache for. */
| 115 | * @param fs The font size to create the cache for. |
| 116 | */ |
| 117 | SpriteFontCache::SpriteFontCache(FontSize fs) : FontCache(fs) |
| 118 | { |
| 119 | this->height = ScaleGUITrad(FontCache::GetDefaultFontHeight(this->fs)); |
| 120 | this->ascender = (this->height - ScaleFontTrad(FontCache::GetDefaultFontHeight(this->fs))) / 2; |
| 121 | } |
| 122 | |
| 123 | void SpriteFontCache::ClearFontCache() |
| 124 | { |
nothing calls this directly
no test coverage detected