Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void StarTest() {
- {
- Document doc;
- Star s(Point{50.0, 20.0}, 10.0, 4.0, 5);
- s.Draw(doc);
- doc.Render(cout);
- cout << endl;
- } {
- Document doc;
- Star s(Point{30.0, 20.0}, 13.0, 2.0, 1);
- s.Draw(doc);
- doc.Render(cout);
- cout << endl;
- cout << endl;
- cout << endl;
- }
- }
- <?xml version="1.0" encoding="UTF-8" ?>
- <svg xmlns="http://www.w3.org/2000/svg" version="1.1">
- <polyline points="50,10 52.3511,16.7639 59.5106,16.9098 53.8042,21.2361 55.8779,28.0902 50,24 44.1221,28.0902 46.1958,21.2361 40.4894,16.9098 47.6489,16.7639 50,10" fill="red" stroke="black"/>
- </svg>
- <?xml version="1.0" encoding="UTF-8" ?>
- <svg xmlns="http://www.w3.org/2000/svg" version="1.1">
- <polyline points="30,7 30,22 30,7" fill="red" stroke="black"/>
- </svg>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement