Fixed bug with StrokeRectangle where some areas were blank

This commit is contained in:
2023-01-14 13:59:07 -05:00
parent 89eb88c982
commit d75ec12a3c
2 changed files with 3 additions and 3 deletions

View File

@@ -70,12 +70,12 @@ func StrokeRectangle (
// top
FillRectangle (destination, source, image.Rect (
bounds.Min.X, bounds.Min.Y,
insetBounds.Max.X, insetBounds.Min.Y))
bounds.Max.X, insetBounds.Min.Y))
// bottom
FillRectangle (destination, source, image.Rect (
bounds.Min.X, insetBounds.Max.Y,
insetBounds.Max.X, bounds.Max.Y))
bounds.Max.X, bounds.Max.Y))
// left
FillRectangle (destination, source, image.Rect (