]> Cypherpunks repositories - gostls13.git/commitdiff
doc: use relative links in draw package article
authorAndrew Gerrand <adg@golang.org>
Tue, 27 Mar 2012 09:52:48 +0000 (20:52 +1100)
committerAndrew Gerrand <adg@golang.org>
Tue, 27 Mar 2012 09:52:48 +0000 (20:52 +1100)
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5924051

doc/articles/image_draw.html

index b1adbc53abfcc9c80e56c2e46f07f9fc29b83373..ba735ad2b4e4dfd0949c9cc99582e1714646d4fa 100644 (file)
@@ -4,7 +4,7 @@
 }-->
 
 <p>
-<a href="http://golang.org/pkg/image/draw/">Package image/draw</a> defines
+<a href="/pkg/image/draw/">Package image/draw</a> 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.
 </p>
 
 <p>
-The <a href="http://golang.org/pkg/image/draw/#DrawMask"><code>DrawMask</code></a>
+The <a href="/pkg/image/draw/#DrawMask"><code>DrawMask</code></a>
 function takes seven arguments, but an explicit mask and mask-point
 are usually unnecessary, so the
-<a href="http://golang.org/pkg/image/draw/#Draw"><code>Draw</code></a> function takes five:
+<a href="/pkg/image/draw/#Draw"><code>Draw</code></a> function takes five:
 </p>
 
 <pre>
@@ -79,7 +79,7 @@ func DrawMask(dst Image, r image.Rectangle, src image.Image, sp image.Point,
 
 <p>
 The destination image must be mutable, so the image/draw package
-defines a <a href="http://golang.org/pkg/image/draw/#Image"><code>draw.Image</code></a>
+defines a <a href="/pkg/image/draw/#Image"><code>draw.Image</code></a>
 interface which has a <code>Set</code> method.
 </p>