Advertisement
cepxuozab

PolylineTest

Jul 22nd, 2023
1,383
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.57 KB | None | 0 0
  1. void PolylineTest() {
  2.         {
  3.             Polyline().Render(cout);
  4.             cout << "endl";
  5.         } {
  6.             Polyline().AddPoint({20, 20}).Render(cout);
  7.             cout << "endl";
  8.         } {
  9.  
  10.             Polyline().AddPoint({20, 20}).AddPoint({10, 15}).Render(cout);
  11.             cout << "endl";
  12.         } {
  13.             Polyline().AddPoint({20, 20}).AddPoint({10, 15}).AddPoint({0, 10}).Render(cout);
  14.         }
  15.     }
  16.  
  17. <polyline points="" />
  18. endl<polyline points="20,20" />
  19. endl<polyline points="20,20 10,15" />
  20. endl<polyline points="20,20 10,15 0,10" />
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement