-
- Downloads
Bug 1839459 - Elide empty closed sub-paths instead of emitting a start point. r=jrmuizel, a=dmeehan
There is a corner case that triggers an assert in wpf-gpu-raster if an empty sub-path starts off a path. Just avoid the problem by eliding the sub-path, but at least handle close correctly as per the Canvas2D closePath spec: "The closePath() method, when invoked, must do nothing if the object's path has no subpaths. Otherwise, it must mark the last subpath as closed, create a new subpath whose first point is the same as the previous subpath's first point, and finally add this new subpath to the path." Differential Revision: https://phabricator.services.mozilla.com/D181543
Showing
- .cargo/config.in 2 additions, 2 deletions.cargo/config.in
- Cargo.lock 1 addition, 1 deletionCargo.lock
- third_party/rust/wpf-gpu-raster/.cargo-checksum.json 1 addition, 1 deletionthird_party/rust/wpf-gpu-raster/.cargo-checksum.json
- third_party/rust/wpf-gpu-raster/src/aarasterizer.rs 4 additions, 6 deletionsthird_party/rust/wpf-gpu-raster/src/aarasterizer.rs
- third_party/rust/wpf-gpu-raster/src/lib.rs 13 additions, 14 deletionsthird_party/rust/wpf-gpu-raster/src/lib.rs
- toolkit/library/rust/shared/Cargo.toml 1 addition, 1 deletiontoolkit/library/rust/shared/Cargo.toml
Loading
Please register or sign in to comment