treeform / boxy

2D GPU rendering with a tiling atlas.
MIT License
102 stars 7 forks source link

Add dynamic and static text examples. #29

Closed treeform closed 2 years ago

creikey commented 2 years ago

https://github.com/treeform/boxy/pull/29/files#diff-a6e76ad1045d68a2ac2faf0d9a5949a0ac72d9d494d4880cd99921cf42283310R25 Compute bounds returns a vec2 but snapToPixels takes a rect right?

guzba commented 2 years ago

@creikey We're revisiting how text's computeBounds works to address some shortcomings with the previous approach. This PR is a bit ahead of what is finalized and merged into Pixie.