Skip to content

glyph-brush-layout-0.1.5

Compare
Choose a tag to compare
@alexheretic alexheretic released this 08 Feb 09:43
8e6329c
  • Add GlyphPositioner::recalculate_glyphs with a default unoptimised implementation. Custom layouts won't be broken by this change, but will need to implement the new function to provide optimised behaviour.
  • Optimise built-in layout's recalculate_glyphs for screen position changes with GlyphChange::Geometry.
  • Optimise built-in layout's recalculate_glyphs for single color changes with GlyphChange::Color.
  • Optimise built-in layout's recalculate_glyphs for alpha changes with GlyphChange::Alpha.
  • Optimise layout re-positioning with PositionedGlyph::set_position usage.