Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void SnowmanTest() {
- {
- Document doc;
- Snowman s(Point{30, 20}, 10.0);
- s.Draw(doc);
- doc.Render(cout);
- cout << endl;
- } {
- Document doc;
- Snowman s(Point{33, 10}, 12.0);
- s.Draw(doc);
- doc.Render(cout);
- }
- }
- <?xml version="1.0" encoding="UTF-8" ?>
- <svg xmlns="http://www.w3.org/2000/svg" version="1.1">
- <circle cx="30" cy="70" r="20" fill="rgb(240,240,240)" stroke="black"/>
- <circle cx="30" cy="40" r="15" fill="rgb(240,240,240)" stroke="black"/>
- <circle cx="30" cy="20" r="10" fill="rgb(240,240,240)" stroke="black"/>
- </svg>
- <?xml version="1.0" encoding="UTF-8" ?>
- <svg xmlns="http://www.w3.org/2000/svg" version="1.1">
- <circle cx="33" cy="70" r="24" fill="rgb(240,240,240)" stroke="black"/>
- <circle cx="33" cy="34" r="18" fill="rgb(240,240,240)" stroke="black"/>
- <circle cx="33" cy="10" r="12" fill="rgb(240,240,240)" stroke="black"/>
- </svg>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement