go-imgrow/inversescalexy.go

6 lines
134 B
Go

package imgrow
func inverseScaleXY(scalar int, x int, y int) (int, int) {
return inverseScale(scalar, x), inverseScale(scalar, y)
}