Fixed non-cannonized rectangles being drawn
This commit is contained in:
@@ -77,6 +77,7 @@ type pen struct {
|
||||
}
|
||||
|
||||
func (this *pen) Rectangle (bounds image.Rectangle) {
|
||||
bounds = bounds.Canon()
|
||||
if this.weight == 0 {
|
||||
if this.fill.A > 0 {
|
||||
this.fillRectangle(this.fill, bounds)
|
||||
|
||||
Reference in New Issue
Block a user