Open Rinzwind opened 1 year ago
I seem to have missed that #drawRectangle:color:borderWidth:borderColor:
is in a ‘private’ protocol. The only two senders use 0 as the border width. But #drawPolygon:color:borderWidth:borderColor:
is not in a ‘private’ protocol and is, as noted above, also affected by this issue.
In the FormCanvas drawing snippet given below, the blue rectangle border is made more translucent at each iteration:
I would expect the ‘form’ in each iteration to have only one red pixel, but the last one unexpectedly has three more red pixels. Note that replacing
drawRectangle: rectangle
bydrawPolygon: rectangle corners
gives a similar unexpected result at the last iteration.Tested using: Pharo 12 build 686, with VM v10.0.6 (Commit: b67609b9 - Date: 2023-08-16 18:51:13 +0200)