🎉 Render wasm ellipses support

This commit is contained in:
Alejandro Alonso 2024-12-09 11:45:43 +01:00 committed by Belén Albeza
parent 33e70a4108
commit 307329cf2e
6 changed files with 67 additions and 7 deletions

View file

@ -300,6 +300,11 @@ impl RenderState {
.canvas()
.draw_rect(rect, &fill.to_paint(&selrect));
}
(_, Kind::Circle(rect)) => {
self.drawing_surface
.canvas()
.draw_oval(rect, &fill.to_paint(&selrect));
}
(_, Kind::Path(path)) => {
self.drawing_surface
.canvas()