test bubble
This commit is contained in:
parent
9e52537467
commit
2fed1b9393
1 changed files with 15 additions and 0 deletions
|
@ -399,6 +399,20 @@ func TestLineJoin() {
|
||||||
saveToPngFile("TestLineJoin", i)
|
saveToPngFile("TestLineJoin", i)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func TestBubble() {
|
||||||
|
i, gc := initGc(w, h)
|
||||||
|
gc.BeginPath();
|
||||||
|
gc.MoveTo(75,25);
|
||||||
|
gc.QuadCurveTo(25,25,25,62.5);
|
||||||
|
gc.QuadCurveTo(25,100,50,100);
|
||||||
|
gc.QuadCurveTo(50,120,30,125);
|
||||||
|
gc.QuadCurveTo(60,120,65,100);
|
||||||
|
gc.QuadCurveTo(125,100,125,62.5);
|
||||||
|
gc.QuadCurveTo(125,25,75,25);
|
||||||
|
gc.Stroke();
|
||||||
|
saveToPngFile("TestBubble", i)
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
TestPath()
|
TestPath()
|
||||||
|
@ -413,4 +427,5 @@ func main() {
|
||||||
TestRoundRectangle()
|
TestRoundRectangle()
|
||||||
TestLineCap()
|
TestLineCap()
|
||||||
TestLineJoin()
|
TestLineJoin()
|
||||||
|
TestBubble()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue