improved comment
This commit is contained in:
parent
d140c26465
commit
464bc2488b
2 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ func ExampleGraphicContext() {
|
||||||
gc.SetLineWidth(5)
|
gc.SetLineWidth(5)
|
||||||
|
|
||||||
// draw something
|
// draw something
|
||||||
gc.MoveTo(10, 10) // should always be called for a new path
|
gc.MoveTo(10, 10) // should always be called first for a new path
|
||||||
gc.LineTo(100, 50)
|
gc.LineTo(100, 50)
|
||||||
gc.QuadCurveTo(100, 10, 10, 10)
|
gc.QuadCurveTo(100, 10, 10, 10)
|
||||||
gc.Close()
|
gc.Close()
|
||||||
|
|
Loading…
Reference in a new issue