pathfinder/canvas
Patrick Walton d01bc5d002 Make the fields of `TextMetrics` lazily calculated, and add an API that
eliminates double layouts.

This adds an extension to the HTML canvas API that allows you to pass the
`TextMetrics` object returned by `measure_text()` to `fill_text()` and/or
`stroke_text()` to draw the measured text without laying it out again. It
improves performance on the `canvas_nanovg` demo.
2020-07-21 19:33:15 -07:00
..
src Make the fields of `TextMetrics` lazily calculated, and add an API that 2020-07-21 19:33:15 -07:00
Cargo.toml Publish `pathfinder_canvas` to crates.io 2020-04-17 13:50:36 -07:00