remove sample cmd
This commit is contained in:
parent
fff6b05c93
commit
cef48beb1f
1 changed files with 3 additions and 3 deletions
|
@ -62,9 +62,9 @@ func saveToPngFile(TestName string, m image.Image) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
<img src="../test_results/TestPath.png"/>
|
<img src="../test_results/TestRectangle.png"/>
|
||||||
*/
|
*/
|
||||||
func TestPath() {
|
func TestRectangle() {
|
||||||
i, gc := initGc(w, h)
|
i, gc := initGc(w, h)
|
||||||
gc.Translate(10, 10)
|
gc.Translate(10, 10)
|
||||||
gc.MoveTo(0.0, 0.0)
|
gc.MoveTo(0.0, 0.0)
|
||||||
|
@ -73,7 +73,7 @@ func TestPath() {
|
||||||
gc.LineTo(0.0, 100.0)
|
gc.LineTo(0.0, 100.0)
|
||||||
gc.LineTo(0.0, 0.0)
|
gc.LineTo(0.0, 0.0)
|
||||||
gc.FillStroke()
|
gc.FillStroke()
|
||||||
saveToPngFile("TestPath", i)
|
saveToPngFile("TestRectangle", i)
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
Loading…
Reference in a new issue