|
FifeGUI 0.2.0
A C++ GUI library designed for games.
|
#include <imagefont.hpp>
Public Attributes | |
| Color | explicitSeparator = Color{255, 0, 255, 255} |
| int | glyphPadding = 0 |
| SeparatorStrategy | strategy = SeparatorStrategy::Auto |
| bool | verbose = false |
Configuration struct for ImageFont constructors.
Strategy: The method used to determine the separator color in the font image. ExplicitSeparator: The RGB color to use as a separator when using the ExplicitColor strategy (default magenta). GlyphPadding: The number of pixels to ignore around detected glyphs when scanning (useful for anti-aliased fonts). Verbose: If true, the constructor will print debug information about the scanning process to standard error.
Definition at line 58 of file imagefont.hpp.
Explicit separator color used when ExplicitColor strategy is selected.
Definition at line 68 of file imagefont.hpp.
| int fcn::ImageFontConfig::glyphPadding = 0 |
Number of pixels to pad/ignore around detected glyphs.
Definition at line 73 of file imagefont.hpp.
Referenced by fcn::ImageFont::ImageFont(), fcn::ImageFont::ImageFont(), and fcn::ImageFont::ImageFont().
| SeparatorStrategy fcn::ImageFontConfig::strategy = SeparatorStrategy::Auto |
Strategy used to detect separator color in the image.
Definition at line 63 of file imagefont.hpp.
Referenced by fcn::ImageFont::ImageFont(), fcn::ImageFont::ImageFont(), and fcn::ImageFont::ImageFont().
| bool fcn::ImageFontConfig::verbose = false |
If true, enable verbose debug output while scanning fonts.
Definition at line 78 of file imagefont.hpp.
Referenced by fcn::ImageFont::ImageFont(), fcn::ImageFont::ImageFont(), and fcn::ImageFont::ImageFont().