mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 06:05:58 -06:00
.docs
This commit is contained in:
parent
45e2296c69
commit
7842adce8c
2 changed files with 93 additions and 0 deletions
|
|
@ -12,6 +12,14 @@ void Div(Painter& sw)
|
|||
.Fill(Black());
|
||||
}
|
||||
|
||||
void Div2(Painter& sw)
|
||||
{
|
||||
sw.Circle(200, 200, 100).Circle(270, 200, 100).EvenOdd().Fill(Black());
|
||||
sw.Translate(300, 0);
|
||||
sw.Circle(200, 200, 100).Div().Circle(270, 200, 100).EvenOdd().Fill(Black());
|
||||
}
|
||||
|
||||
INITBLOCK {
|
||||
RegisterExample("Div", Div);
|
||||
RegisterExample("Div2", Div2);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue