servo/components/canvas
sagudev b57c9acc65
canvas: Join Path and PathBuilder into Path (#37842)
Dealing with both path and builder makes code complicated and this is
backend internal specific anyway (we often do conversions between the
two just so we get specific functionality). Now I joined both into
single abstractions `Path`, that has all what one needs and let raqote
backend deal with path/pathbuilder coversions.

Motivation: Simplification and in Vello there is only
[BezPath](https://docs.rs/kurbo/0.11.2/kurbo/struct.BezPath.html) so we
use it as both path and pathbuilder.

Reviewable per commit.

Testing: Existing WPT tests

---------

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2025-07-04 16:32:20 +00:00
..
backend.rs canvas: Join Path and PathBuilder into Path (#37842) 2025-07-04 16:32:20 +00:00
canvas_data.rs canvas: Join Path and PathBuilder into Path (#37842) 2025-07-04 16:32:20 +00:00
canvas_paint_thread.rs pixels: Ensure expected formats when accesing bytes of snapshot (#37767) 2025-07-03 15:02:41 +00:00
Cargo.toml pixels: Move Snapshot and related data structures to pixels (#37590) 2025-06-20 14:47:06 +00:00
lib.rs Use backend trait with associated types for 2d canvas backends abstraction (#36783) 2025-05-01 04:16:23 +00:00
raqote_backend.rs canvas: Join Path and PathBuilder into Path (#37842) 2025-07-04 16:32:20 +00:00