mirror of
https://github.com/penpot/penpot.git
synced 2025-05-26 04:26:11 +02:00
🎉 Render wasm ellipses support
This commit is contained in:
parent
33e70a4108
commit
307329cf2e
6 changed files with 67 additions and 7 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue