True Type Fonts and supporting types and functions.
More...
#include <filesystem>
#include <optional>
#include <memory>
#include <SDL2/SDL_ttf.h>
#include <iostream>
#include <map>
#include <vector>
#include "Utilities.h"
Go to the source code of this file.
|
| rose |
| ToDo: There is an issue that the initial scroll interaction is lost if the click/press lands on a Widget and not a Container (by user observation).
|
|
|
auto | rose::textSizeUTF8 (FontPointer &fontPointer, const std::string &text) |
| Get the size of a UTF8 string. More...
|
|
std::tuple< int, int, int, int, int > | rose::getGlyphMetrics (FontPointer &font, char glyph) |
|
auto | rose::getFontMetrics (FontPointer &font) |
| Get the font metrics of the current font. More...
|
|
auto | rose::fetchFont (FontCache &fontCache, const std::string &fontName, int fontSize) |
| Fetch a font. More...
|
|
True Type Fonts and supporting types and functions.
- Author
- Richard Buckley richa.nosp@m.rd.b.nosp@m.uckle.nosp@m.y@ie.nosp@m.ee.or.nosp@m.g
- Date
- 2020-10-21
- Version
- 1.0