Open splace opened 2 months ago
I think you should be calling Reset between Draws?
I think you should be calling Reset between Draws?
doc says it will remove path, and now tested, that is what reset does.
https://go.dev/play/p/DfnYz1Mya2A
if the lower bound of the image, being draw too, is the origin, it works.
maybe something that should be zero, is being left at something else after a draw.
https://go.dev/play/p/IkT6qBvHEMJ
and if the target image is a different size, the second draw panics.
same as above? or a different issue?
Go version
n/a
Output of
go env
in your module/workspace:What did you do?
https://go.dev/play/p/VlCSG5OMtxF
(adapted from package example)
i was trying to draw to two different targets.
What did you see happen?
n/a
What did you expect to see?
no change with repeated Draws