From: Andrew Gerrand Date: Tue, 27 Mar 2012 09:52:48 +0000 (+1100) Subject: doc: use relative links in draw package article X-Git-Tag: weekly.2012-03-27~12 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=cafc2b6a24c0a27682bb078215efc1a02c3728b5;p=gostls13.git doc: use relative links in draw package article R=golang-dev, r CC=golang-dev https://golang.org/cl/5924051 --- diff --git a/doc/articles/image_draw.html b/doc/articles/image_draw.html index b1adbc53ab..ba735ad2b4 100644 --- a/doc/articles/image_draw.html +++ b/doc/articles/image_draw.html @@ -4,7 +4,7 @@ }-->

-Package image/draw defines +Package image/draw defines only one operation: drawing a source image onto a destination image, through an optional mask image. This one operation is surprisingly versatile and can perform a number of common image @@ -64,10 +64,10 @@ respective co-ordinate space.

-The DrawMask +The DrawMask function takes seven arguments, but an explicit mask and mask-point are usually unnecessary, so the -Draw function takes five: +Draw function takes five:

@@ -79,7 +79,7 @@ func DrawMask(dst Image, r image.Rectangle, src image.Image, sp image.Point,
 
 

The destination image must be mutable, so the image/draw package -defines a draw.Image +defines a draw.Image interface which has a Set method.