21 #ifndef GF_CONSOLE_FONT_H 22 #define GF_CONSOLE_FONT_H 26 #include "Portability.h" 27 #include "StringRef.h" 32 #ifndef DOXYGEN_SHOULD_SKIP_THIS 160 return m_characterSize;
178 void mapCode(char16_t c,
Vector2i position);
187 void mapCodeRange(char16_t c,
int count,
Vector2i position);
235 RectI getSubTexture(char16_t c)
const;
245 RectF getTextureRect(char16_t c)
const;
266 void logFormat(
const Path& filename)
const;
276 Vector2i getColorKeyPosition()
const;
279 std::vector<uint8_t> m_mapping;
354 #ifndef DOXYGEN_SHOULD_SKIP_THIS 359 #endif // GF_CONSOLE_FONT_H
A bitmap console font.
Definition: ConsoleFont.h:294
char16_t character
The represented character.
Definition: ConsoleFont.h:84
A texture for colored images.
Definition: Texture.h:309
A console font element.
Definition: ConsoleFont.h:83
Class for loading, manipulating and saving images.
Definition: Image.h:80
The namespace for gf classes.
Definition: Action.h:35
An image that lives in the graphic memory that can be used for drawing.
Definition: Texture.h:75
A colored console font.
Definition: ConsoleFont.h:327
A constant reference to an array and its size.
Definition: ArrayRef.h:43
A console font.
Definition: ConsoleFont.h:110
Vector2i getCharacterSize() const
Get the size of the characters.
Definition: ConsoleFont.h:159
boost::filesystem::path Path
A path in the filesystem.
Definition: Path.h:44
A constant reference to a string and its size.
Definition: StringRef.h:41
Vector2i getSize() const
Get the size of the fonts.
Definition: ConsoleFont.h:150
A texture with a single alpha channel.
Definition: Texture.h:391
ConsoleFontFormat getFormat() const
Get the format of the font.
Definition: ConsoleFont.h:141
uint8_t index
The index in the font.
Definition: ConsoleFont.h:85