imgrow.DrawImage()

master
Charles Iliya Krempeaux 2024-02-21 07:41:52 -08:00
parent b5bd2da416
commit fdab2ab30d
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ func (receiver internalDrawImage) Set(x int, y int, c color.Color) {
var scalar int = receiver.scalar var scalar int = receiver.scalar
xScaled, yScaled := inverseScaleXY(scalar, x, y) xScaled, yScaled := scaleXY(scalar, x, y)
for yi := yScaled; yi < (yScaled + scalar); yi++ { for yi := yScaled; yi < (yScaled + scalar); yi++ {
for xi := xScaled; xi < (xScaled + scalar); xi++ { for xi := xScaled; xi < (xScaled + scalar); xi++ {