19 #ifndef FASTUIDRAW_GLYPH_RUN_HPP 20 #define FASTUIDRAW_GLYPH_RUN_HPP 153 vec2 *out_position)
const;
const GlyphAttributePacker & attribute_packer(void) const
screen_orientation
Enumeration to indicate in what direction the y-coordinate increases.
file glyph_attribute_packer.hpp
all classes and functions of FastUIDraw are in the namespace fastuidraw.
void added_glyph(unsigned int I, GlyphMetrics *out_glyph_metrics, vec2 *out_position) const
FontBase provides an interface for a font to generate glyph rendering data.
A wrapper over a pointer to implement reference counting.
void add_glyph(const GlyphSource &glyph_source, const vec2 &position)
A GlyphCache represents a cache of glyphs and manages the uploading of the data to a GlyphAtlas...
float format_size(void) const
A GlyphRun represents a sequence of glyph codes with positions. A GlyphRun provides an interface to g...
GlyphRun(float format_size, enum PainterEnums::screen_orientation orientation, GlyphCache &cache, enum PainterEnums::glyph_layout_type layout=PainterEnums::glyph_layout_horizontal)
const PainterAttributeWriter & subsequence(GlyphRenderer renderer, unsigned int begin, unsigned int count) const
void add_glyphs(c_array< const GlyphMetrics > glyph_metrics, c_array< const vec2 > positions)
Provides an interface to write attribute and index data when a simple copy of data from c_array objec...
file painter_attribute_data.hpp
A c_array is a wrapper over a C pointer with a size parameter to facilitate bounds checking and provi...
glyph_layout_type
Enumeration to indicate if glyph layout is horizontal or vertical.
GlyphCache & glyph_cache(void) const
A GlyphMetrics provides information on the metrics of a glyph, all the values are in units of the fon...
unsigned int number_glyphs(void) const
A GlyphAttributePacker provides an interface to customize how glyph attribute and index data is reali...
Class for which copy ctor and assignment operator are private functions.
file painter_attribute_writer.hpp
Specifies how to render a glyph.