Node: Picture Constructors, Next: , Previous: Picture Global Variables, Up: Picture Reference



Constructors

void Picture (void) Default constructor
Creates an empty Picture.

void Picture (const Picture& p) Copy constructor
Creates a copy of Picture p.
          Circle c(origin, 3);
          c.draw();
          current_picture.output(Projections::PARALLEL_X_Z);
          Picture new_picture(current_picture);
          new_picture.shift(2);
          new_picture.output(Projections::PARALLEL_X_Z);
          


[Figure 77. Not displayed.]

Fig. 77.