]> Cypherpunks repositories - gostls13.git/commit
image: change Pix[0] to mean top-left corner of an image's Rect instead
authorNigel Tao <nigeltao@golang.org>
Sun, 10 Jul 2011 04:29:47 +0000 (14:29 +1000)
committerNigel Tao <nigeltao@golang.org>
Sun, 10 Jul 2011 04:29:47 +0000 (14:29 +1000)
commit87d9e7e166ade0902ef1f1cebaedfc475c2d3278
treeb2b788e6ad4f307c9d64aad744535c46069061f1
parent4d47600f467da4852119298ac90ca3dabee614c3
image: change Pix[0] to mean top-left corner of an image's Rect instead
of the origin.

image/png and image/jpeg benchmarks show no significant changes.

The image/draw changes suggest to me that making a gofix for this is not
feasible. People are just going to have to make manual fixes.

R=r
CC=golang-dev
https://golang.org/cl/4681044
src/pkg/exp/gui/x11/conn.go
src/pkg/image/draw/draw.go
src/pkg/image/image.go
src/pkg/image/image_test.go
src/pkg/image/jpeg/reader.go
src/pkg/image/jpeg/writer.go
src/pkg/image/png/writer.go
src/pkg/image/png/writer_test.go