servo/components/canvas
sagudev d1f7a90619
canvas: Move CompositionOrBlending and ellipse() from RaqoteBackend to Backend (#36790)
Small fixes of abstraction.

We do not need to generalize `CompositionOrBlending`, because it's from
canvas_traits.
Ellipse impl that uses arc is not backend specific, so it serves as good
trait default.

Reviewable per commit.


Testing: Only refactoring, but there are WPT tests

---------

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2025-05-01 09:57:20 +00:00
..
backend.rs canvas: Move CompositionOrBlending and ellipse() from RaqoteBackend to Backend (#36790) 2025-05-01 09:57:20 +00:00
canvas_data.rs canvas: Move CompositionOrBlending and ellipse() from RaqoteBackend to Backend (#36790) 2025-05-01 09:57:20 +00:00
canvas_paint_thread.rs Use backend trait with associated types for 2d canvas backends abstraction (#36783) 2025-05-01 04:16:23 +00:00
Cargo.toml Split webgl into separate crate (#36718) 2025-04-30 05:27:44 +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: Move CompositionOrBlending and ellipse() from RaqoteBackend to Backend (#36790) 2025-05-01 09:57:20 +00:00