]> Cypherpunks repositories - gostls13.git/commit
image: rename image.Tiled to image.Repeated.
authorNigel Tao <nigeltao@golang.org>
Wed, 11 Jan 2012 01:35:05 +0000 (12:35 +1100)
committerNigel Tao <nigeltao@golang.org>
Wed, 11 Jan 2012 01:35:05 +0000 (12:35 +1100)
commit415f15b66746d8e0cd6f01e89dceed41e617be5f
tree5de1a3dee82886b7dd0211c00215644e7f7bceea
parentcbdbdc4f616f65906e6e6d7c958368c033add4e8
image: rename image.Tiled to image.Repeated.

What package image currently provides is a larger image consisting
of many copies of a smaller image.

More generally, a tiled image could be a quilt consisting of different
smaller images (like Google Maps), or a technique to view a portion of
enormous images without requiring the whole thing in memory.

This richer construct might not ever belong in the standard library (and
is definitely out of scope for Go 1), but I would like the option for
image.Tiled to be its name.

R=r, rsc
CC=golang-dev
https://golang.org/cl/5530062
src/cmd/gofix/Makefile
src/cmd/gofix/imagetiled.go [new file with mode: 0644]
src/cmd/gofix/imagetiled_test.go [new file with mode: 0644]
src/pkg/image/names.go