diff options
author | Sven Gothel <[email protected]> | 2023-03-30 04:41:51 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-03-30 04:41:51 +0200 |
commit | d959e28119a5a973968d47a988d3dd4b6320db87 (patch) | |
tree | 200f7e776d39a1735a495768131575285bd74714 /www/media/strap.jpg | |
parent | 901df212f75db8cf51349f53abeaed6ef62b61d3 (diff) |
GraphUI: Add GlyphShape representing a single Font.Glyph as a GraphShape; Use w/ UISceneDemo03 Type Animation...
A list of GlyphShape can be created via GlyphShape.processString(..),
which preserves all details incl. intended original unscaled position and its kerning.
Whitespace or contourless Glyphs are dropped.
A GlyphShape is represented in font em-size [0..1] unscaled.
+++
UISceneDemo03 Type Animation
- Using GlyphShape and apply scaling via its Shape.setScale()
- Recalc fontScale per used text
- Refined 'arrival' criteria and smoothing out near target w/ speed-up rotation
- Using GraphUIDemoArgs to parse common commandline demo options
Diffstat (limited to 'www/media/strap.jpg')
0 files changed, 0 insertions, 0 deletions