mirror of
https://github.com/golang/go.git
synced 2025-11-01 17:20:56 +00:00
doc/articles/image_draw.html: fix circle example
It was showing the same snippet twice instead of the type definition and snippet. R=golang-dev, iant CC=golang-dev https://golang.org/cl/5875045
This commit is contained in:
parent
f39ff80bea
commit
fc9f65a6a0
2 changed files with 3 additions and 3 deletions
|
|
@ -117,7 +117,7 @@ func Glyph() {
|
|||
// STOP OMIT
|
||||
}
|
||||
|
||||
//CIRCLE OMIT
|
||||
//CIRCLESTRUCT OMIT
|
||||
type circle struct {
|
||||
p image.Point
|
||||
r int
|
||||
|
|
@ -139,4 +139,4 @@ func (c *circle) At(x, y int) color.Color {
|
|||
return color.Alpha{0}
|
||||
}
|
||||
|
||||
//STOP
|
||||
//STOP OMIT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue