#include "flatui/internal/flatui_util.h"
#include "flatui/internal/glyph_cache.h"
#include "flatui/internal/hb_complex_font.h"
Go to the source code of this file.
Classes
A class holding font family information. The class provides various ways to support fonts such as a font collection (multiple fonts in a file), referencing a font by a famly name etc.
More...
This class that includes font buffer parameters. It is used as a key in the unordered_map to look up
FontBuffer.
More...
This class has additional properties for font metrics.
More...
This struct holds all the font vertex data.
More...
Temporary buffers used while generating
FontBuffer. Word boundary information. This information is used only with a typography layout with a justification.
More...
This struct holds the glyph information that is used when re-creating a
FontBuffer.
More...
this is used with the texture atlas rendering.
More...
Namespaces
Namespace for FlatUI library.
Enumerations
Specify how to layout texts. Default value is TextLayoutDirectionLTR.
enum
flatui::TextAlignment {
kTextAlignmentLeft = 0,
kTextAlignmentRight = 1,
kTextAlignmentCenter = 2,
kTextAlignmentJustify = 4,
kTextAlignmentLeftJustify = kTextAlignmentJustify,
kTextAlignmentRightJustify = kTextAlignmentJustify | kTextAlignmentRight,
kTextAlignmentCenterJustify = kTextAlignmentJustify | kTextAlignmentCenter
}
enum
flatui::FontBufferStatus {
kFontBufferStatusReady = 0,
kFontBufferStatusNeedReconstruct = 1,
kFontBufferStatusNeedCacheUpdate = 2
}
A status of FontBuffer correspoinding current glyph cache contents.
Enumerations:
More...
A flag controlling appending behavior of the ellipsis.
Enumerations:
More...
Variables
Constant to convert FreeType unit to pixel unit.
More...
Default value for a line height factor.
More...
Default value for a kerning scale factor.
More...
A sentinel value representing an invalid caret position.
const int32_t flatui::kIndexInvalid = -1
const uint32_t flatui::kDefaultColor = 0xffffffff