Feedback
Drawing corruption in scaled Pictures after clip restore, shadows, and text
- Status
- Fixed
- Fixed in
- v26.10.3
- Area
- desktop
- Source discussion
- https://forum.objo.dev/d/1354-some-feedback-from-building-chartview-web-support-and-a-few-language-notes/4
- Last updated
- 2026-10-20
Upvotes
0 upvotes
Uses your Objo forum account.
Public summary
In a Picture created with a scale factor greater than one, such as Var p As New Picture(300, 120, 2), drawing that follows a restored clip is rendered with the picture's scale applied twice. Subsequent shapes come out enlarged and shifted, and later drawing can fall off the picture entirely.
Two variants are confirmed:
- After
SaveState/Clip/ drawing /RestoreStatefollowed byDrawText, all later drawing in the same picture is affected. - A shadowed
FillPathfollowed bySaveState/ClipToPath/ drawing /RestoreStatecorrupts in the same way, with no text involved.
Scale 1 pictures and the Retina Canvas path are unaffected. Workaround until fixed: draw at scale 1 into a double-size picture and scale on use, which is what ChartView does (forum 1354).