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" />
- <circle cx="30" cy="40" r="15" />
- <circle cx="30" cy="20" r="10" />
- </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" />
- <circle cx="33" cy="34" r="18" />
- <circle cx="33" cy="10" r="12" />
- </svg>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement