예제 #1
0
 void DrawLine(int x0, int y0, int x1, int y1) {
     turtle.GoTo(x0, y0);
     turtle.PenDown();
     turtle.GoTo(x1, y1);
     turtle.PenUp();
 }
예제 #2
0
 bool Painter::paint(Turtle& turtle) {
     turtle.PenUp();
     turtle.PenDown();
     return true;
 }