Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
cafc2b6a
Commit
cafc2b6a
authored
Mar 27, 2012
by
Andrew Gerrand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: use relative links in draw package article
R=golang-dev, r CC=golang-dev
https://golang.org/cl/5924051
parent
d98507f1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
image_draw.html
doc/articles/image_draw.html
+4
-4
No files found.
doc/articles/image_draw.html
View file @
cafc2b6a
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment