diff options
Diffstat (limited to 'libgo/go/image/geom.go')
-rw-r--r-- | libgo/go/image/geom.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/image/geom.go b/libgo/go/image/geom.go index 667aee6..e123483 100644 --- a/libgo/go/image/geom.go +++ b/libgo/go/image/geom.go @@ -112,7 +112,7 @@ func (r Rectangle) Add(p Point) Rectangle { } } -// Add returns the rectangle r translated by -p. +// Sub returns the rectangle r translated by -p. func (r Rectangle) Sub(p Point) Rectangle { return Rectangle{ Point{r.Min.X - p.X, r.Min.Y - p.Y}, |