fune/third_party/rust/wpf-gpu-raster/notes
Lee Salzman cc4019f675 Bug 1799402 - Vendor wpf-gpu-raster Rust crate. r=jrmuizel,supply-chain-reviewers
This adds the wpf-gpu-raster Rust crate so we can use it for the accelerated
Canvas2D project.

Differential Revision: https://phabricator.services.mozilla.com/D161477
2022-11-12 08:06:43 +00:00

8 lines
396 B
Text

bezier flattening
-----------------
if we make sure we flatten beziers to integer y values we can avoid having to hit
the slow complex coverage path
We can probably do this by using a skia style flattener.
Normally we compute a series of line segments using partial differencing.
I think we can adjust the line towards an integer y value by having small partial differences that we can move by.