Open nikochiko opened 4 months ago
Two suggestions:
let s = rectangle 50 50 in let thick_s = s |> scale 2 |> scale_thickness 1.5 in show [s; thick_s]
This will also change how we handle Cairo backend. We don't eagerly render and carry a half rendered canvas in memory.
Instead, we only store a list of shapes (added by show) and then render it at once within write.
show
write
I am open to alternatives for scale_thickness (and also just thickness too).
scale_thickness
thickness
Two suggestions:
This will also change how we handle Cairo backend. We don't eagerly render and carry a half rendered canvas in memory.
Instead, we only store a list of shapes (added by
show
) and then render it at once withinwrite
.