mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
Arc improvements
git-svn-id: svn://ultimatepp.org/upp/trunk@864 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
30b677638f
commit
726b5c058f
1 changed files with 2 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue