Next: , Previous: Point Operators, Up: Point Reference


22.7 Copying

const function: Shape* get_copy (void)

Creates a copy of the Point, and allocates memory for it on the free store using create_new<Point>(). It returns a pointer to Shape that points to the new Point. This function is used in the drawing commands for putting Points onto Pictures. See Point Reference; Drawing.