19 #ifndef FASTUIDRAW_GLYPH_SEQUENCE_HPP 20 #define FASTUIDRAW_GLYPH_SEQUENCE_HPP 24 #include <fastuidraw/util/rect.hpp> 204 vec2 *out_position)
const;
244 subset(
unsigned int I)
const;
A GlyphSequence represents a sequence of glyph codes with positions. A GlyphSequence provides an inte...
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.
A wrapper over a pointer to implement reference counting.
A GlyphCache represents a cache of glyphs and manages the uploading of the data to a GlyphAtlas...
void attributes_and_indices(GlyphRenderer render, c_array< const PainterAttribute > *out_attributes, c_array< const PainterIndex > *out_indices)
const GlyphAttributePacker & attribute_packer(void) const
unsigned int number_glyphs(void) const
GlyphCache & glyph_cache(void) const
void add_glyphs(c_array< const GlyphSource > glyph_sources, c_array< const vec2 > positions)
file painter_attribute_data.hpp
unsigned int number_subsets(void) const
unsigned int select_subsets(ScratchSpace &scratch_space, c_array< const vec3 > clip_equations, const float3x3 &clip_matrix_local, c_array< unsigned int > dst) const
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.
void added_glyph(unsigned int I, GlyphMetrics *out_glyph_metrics, vec2 *out_position) const
A GlyphMetrics provides information on the metrics of a glyph, all the values are in units of the fon...
Subset subset(unsigned int I) const
Opaque object to hold work room needed for functions of GlyphSequence that require scratch space...
A Path represents a collection of PathContour objects.
void add_glyph(const GlyphSource &glyph_source, const vec2 &position)
A GlyphAttributePacker provides an interface to customize how glyph attribute and index data is reali...
bool bounding_box(Rect *out_bb_box)
Class for which copy ctor and assignment operator are private functions.
float format_size(void) const
Specifies how to render a glyph.
c_array< const unsigned int > glyphs(void)