20 #ifndef FASTUIDRAW_GLYPH_HPP 21 #define FASTUIDRAW_GLYPH_HPP 66 return m_opaque !=
nullptr;
171 uint32_t glyph_code);
209 int *out_index_into_attribute);
GlyphRenderer renderer(void) const
bool uploaded_to_atlas(void) const
file glyph_render_data.hpp
all classes and functions of FastUIDraw are in the namespace fastuidraw.
GlyphCache * cache(void) const
A wrapper over a pointer to implement reference counting.
c_array< const GlyphAttribute > attributes(void) const
GlyphMetrics metrics(void) const
return_code
Enumeration for simple return codes for functions for success or failure.
A GlyphCache represents a cache of glyphs and manages the uploading of the data to a GlyphAtlas...
vec2 render_size(void) const
static enum return_code delete_glyph(Glyph G)
const Path & path(void) const
glyph_type
Provides an enumeration of the rendering data for a glyph.
static void glyph_attribute_dst_write(int glyph_attribute_index, PainterAttribute::pointer_to_field *out_attribute, int *out_index_into_attribute)
enum return_code upload_to_atlas(void) const
A c_array is a wrapper over a C pointer with a size parameter to facilitate bounds checking and provi...
uvec4 PainterAttribute::* pointer_to_field
A GlyphMetrics provides information on the metrics of a glyph, all the values are in units of the fon...
unsigned int cache_location(void) const
file painter_attribute.hpp
c_array< const GlyphRenderCostInfo > render_cost(void) const
A Glyph is essentially an opaque pointer to data for rendering and performing layout of a glyph...
A Path represents a collection of PathContour objects.
enum glyph_type type(void) const
static Glyph create_glyph(GlyphRenderer render, const reference_counted_ptr< const FontBase > &font, uint32_t glyph_code)
Specifies how to render a glyph.
file reference_counted.hpp