diff options
author | Roger Peppe <rogpeppe@gmail.com> | 2010-05-27 17:19:47 -0700 |
---|---|---|
committer | Roger Peppe <rogpeppe@gmail.com> | 2010-05-27 17:19:47 -0700 |
commit | ba7b236fe5897c8eb604717942fc6f22856e4b6f (patch) | |
tree | 91bb8c95e9710ff6dadacbc51a7a5524fc83d690 /doc/GoCourseDay2.pdf | |
parent | 818876b00baa57abe242e7aceda8a4d84abd5703 (diff) | |
download | golang-ba7b236fe5897c8eb604717942fc6f22856e4b6f.tar.gz |
Add Rectangle.Eq and Point.In.
Fix Rectangle.Clip.
It could return a non-canonical rectangle if its arguments
did not overlap.
e.g. Rect(0, 0, 10, 10).Clip(Rect(0, 20, 10, 30)) -> Rect(0, 20, 10, 10)
R=rsc, r
CC=golang-dev, golang-dev
http://codereview.appspot.com/1290041
Committer: Rob Pike <r@golang.org>
Diffstat (limited to 'doc/GoCourseDay2.pdf')
0 files changed, 0 insertions, 0 deletions