]> Cypherpunks repositories - gostls13.git/commit
In draw.Draw, separate the source-point and mask-point.
authorNigel Tao <nigeltao@golang.org>
Thu, 4 Feb 2010 10:21:32 +0000 (21:21 +1100)
committerNigel Tao <nigeltao@golang.org>
Thu, 4 Feb 2010 10:21:32 +0000 (21:21 +1100)
commit4e2035bdc224f139ab48fba941484e5a22c682cb
tree864ebe8f6035115eae0701c728f13d01bc68a302
parentf2317d3ec1e406ec0ae3d9f51e95e8d6c00286a4
In draw.Draw, separate the source-point and mask-point.
This lets you draw text (i.e. with mask = a font image) with
sources that aren't uniform colors.

R=r, rsc
CC=golang-dev
https://golang.org/cl/193067
src/pkg/exp/4s/xs.go
src/pkg/exp/draw/draw.go