Advertisement
cepxuozab

SnowmanMulty

Feb 24th, 2024
523
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.99 KB | None | 0 0
  1. void SnowmanTest() {
  2.         {
  3.             Document doc;
  4.             Snowman s(Point{30, 20}, 10.0);
  5.             s.Draw(doc);
  6.             doc.Render(cout);
  7.             cout << endl;
  8.         } {
  9.             Document doc;
  10.             Snowman s(Point{33, 10}, 12.0);
  11.             s.Draw(doc);
  12.             doc.Render(cout);
  13.         }
  14.     }
  15.  
  16. <?xml version="1.0" encoding="UTF-8" ?>
  17. <svg xmlns="http://www.w3.org/2000/svg" version="1.1">
  18.   <circle cx="30" cy="70" r="20" fill="rgb(240,240,240)" stroke="black"/>
  19.   <circle cx="30" cy="40" r="15" fill="rgb(240,240,240)" stroke="black"/>
  20.   <circle cx="30" cy="20" r="10" fill="rgb(240,240,240)" stroke="black"/>
  21. </svg>
  22. <?xml version="1.0" encoding="UTF-8" ?>
  23. <svg xmlns="http://www.w3.org/2000/svg" version="1.1">
  24.   <circle cx="33" cy="70" r="24" fill="rgb(240,240,240)" stroke="black"/>
  25.   <circle cx="33" cy="34" r="18" fill="rgb(240,240,240)" stroke="black"/>
  26.   <circle cx="33" cy="10" r="12" fill="rgb(240,240,240)" stroke="black"/>
  27. </svg>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement