20 #ifndef FASTUIDRAW_GLYPH_RENDER_DATA_BANDED_RAYS_HPP 21 #define FASTUIDRAW_GLYPH_RENDER_DATA_BANDED_RAYS_HPP 23 #include <fastuidraw/util/rect.hpp> 96 band_numcurves_numbits = 8,
103 band_curveoffset_numbits = 32 - band_numcurves_numbits,
295 int max_recursion,
float avg_num_curves_thresh);
Represents an opaque array of GlyphAttribute values.
GlyphRenderData provides an interface to specify data used for rendering glyphs and to pack that data...
c_array< const uint32_t > m_gpu_data
file glyph_render_data.hpp
all classes and functions of FastUIDraw are in the namespace fastuidraw.
void finalize(enum PainterEnums::fill_rule_t f, const Rect &glyph_rect, int max_recursion, float avg_num_curves_thresh)
enum return_code query(query_info *out_info) const
return_code
Enumeration for simple return codes for functions for success or failure.
vecN is a simple static array class with no virtual functions and no memory overhead. Supports runtim array index checking and STL style iterators via pointer iterators.
An GlyphAtlasProxy is a proxy for a GlyphAtlas; one can allocate through it. Internally it tracks all...
void quadratic_to(vec2 ct, vec2 pt)
int m_number_vertical_bands
GlyphRenderDataBandedRays(void)
int m_number_horizontal_bands
void set_glyph_attributes(vecN< GlyphAttribute, glyph_num_attributes > *out_attribs, enum PainterEnums::fill_rule_t fill_rule, uint32_t offset)
fill_rule_t
Enumerations specifying common fill rules.
virtual c_array< const c_string > render_info_labels(void) const
virtual enum fastuidraw::return_code upload_to_atlas(GlyphAtlasProxy &atlas_proxy, GlyphAttribute::Array &attributes, c_array< float > render_costs) const