vg/draw: Cropped canvases don't fill text according to the crop
Open
- Dominant language
- Go
- Stars
- 3k
- Forks
- 201
- PR merge metrics
- No merged PRs in 30d
Description
What I did:
* Crop a canvas.
* Use FillText/FillString to draw a string at (0,0) in the cropped canvas.
Expected:
The string at (0,0) of the cropped canvas.
Got:
The string at (0,0) of the uncropped canvas.
It seems that the FillString method needs to be made aware of any cropping.
Contributor guide
Assessment
This issue has not been assessed yet.