pathfinder/examples/canvas_nanovg
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 Upgrade to the latest master surfman 2020-05-08 12:47:58 -07:00
LICENSE Add an incomplete port of the NanoVG example app 2020-02-19 11:00:03 -08:00