Arc improvements

git-svn-id: svn://ultimatepp.org/upp/trunk@864 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2009-02-14 23:00:13 +00:00
parent 30b677638f
commit 726b5c058f

View file

@ -11,6 +11,8 @@ void Arc(Painter& sw)
"a25,75 -30 0,1 50,-25 l 50,-25 "
"a25,100 -30 0,1 50,-25 l 50,-25"
).Stroke(5, Red());
sw.Path("M300,200 h-150 a150,150 0 1,0 150,-150 z").Fill(Red()).Stroke(5, Blue());
sw.Path("M275,175 v-150 a150,150 0 0,0 -150,150 z").Fill(Yellow()).Stroke(5, Blue());
}
INITBLOCK {