]> Cypherpunks repositories - gostls13.git/commit
exp/draw: fix clipping bug where sp/mp were not shifted when r.Min was.
authorNigel Tao <nigeltao@golang.org>
Fri, 3 Jun 2011 01:43:54 +0000 (11:43 +1000)
committerNigel Tao <nigeltao@golang.org>
Fri, 3 Jun 2011 01:43:54 +0000 (11:43 +1000)
commitae5a972d9e4152116795e068cf328caf32a39a88
tree0228b2ffce4bba54b53bc0651b48f4974ac82d66
parentf628f741bd0aa16cbd8c2ee5581af061ca07cd22
exp/draw: fix clipping bug where sp/mp were not shifted when r.Min was.

image: add Rectangle.ContainsRectangle method.

R=r, rsc
CC=golang-dev
https://golang.org/cl/4517130
src/pkg/exp/draw/clip_test.go [new file with mode: 0644]
src/pkg/exp/draw/draw.go
src/pkg/exp/draw/draw_test.go
src/pkg/image/geom.go