Check if a glyph should be rendered with anti-aliasing. */
| 105 | |
| 106 | /* Check if a glyph should be rendered with anti-aliasing. */ |
| 107 | bool GetFontAAState() |
| 108 | { |
| 109 | /* AA is only supported for 32 bpp */ |
| 110 | if (BlitterFactory::GetCurrentBlitter()->GetScreenDepth() != 32) return false; |
| 111 | |
| 112 | return _fcsettings.global_aa; |
| 113 | } |
| 114 | |
| 115 | void SetFont(FontSize fontsize, const std::string &font, uint size) |
| 116 | { |
no test coverage detected