mirror of
https://github.com/golang/go
synced 2024-11-19 03:14:42 -07:00
9ef65dbe06
The semantics of the Go image.Rectangle type is that the In and Intersects methods treat empty rectangles specially. There are multiple valid representations of an empty image.Rectangle. One of them is the zero image.Rectangle but there are others. They're obviously not all equal in the == sense, so we shouldn't use != to check GIF's semantics. This change will allow us to re-roll |
||
---|---|---|
.. | ||
color | ||
draw | ||
gif | ||
internal/imageutil | ||
jpeg | ||
png | ||
testdata | ||
decode_example_test.go | ||
decode_test.go | ||
format.go | ||
geom_test.go | ||
geom.go | ||
image_test.go | ||
image.go | ||
names.go | ||
ycbcr_test.go | ||
ycbcr.go |