const
function: Shape* get_copy (void)Creates a copy of the
Point
, and allocates memory for it on the free store usingcreate_new<Point>()
. It returns a pointer toShape
that points to the newPoint
. This function is used in the drawing commands for puttingPoints
ontoPictures
. See Point Reference; Drawing.