mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
🎉 Render wasm ellipses support
This commit is contained in:
committed by
Belén Albeza
parent
33e70a4108
commit
307329cf2e
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user