aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gerrand <adg@golang.org>2012-03-27 20:52:48 +1100
committerAndrew Gerrand <adg@golang.org>2012-03-27 20:52:48 +1100
commitcafc2b6a24c0a27682bb078215efc1a02c3728b5 (patch)
tree2b8112d277f1c9b22fc9bb26fb9b9abe83d3d9b7
parentd98507f1c4a4dfdd77400138ff38865813d4327f (diff)
downloadgo-cafc2b6a24c0a27682bb078215efc1a02c3728b5.tar.gz
go-cafc2b6a24c0a27682bb078215efc1a02c3728b5.zip
doc: use relative links in draw package article
R=golang-dev, r CC=golang-dev https://golang.org/cl/5924051
-rw-r--r--doc/articles/image_draw.html8
1 files changed, 4 insertions, 4 deletions
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 @@
}-->
<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>