September 2016
Intermediate to advanced
588 pages
12h 22m
English
This chapter introduces the figure classes of the drawing program. Each figure is responsible for deciding whether it is hit by a mouse click or if it is enclosed by a rectangle. It is also responsible for moving or modifying, as well as drawing and communicating with a file stream and the clipboard.
The drawing figure hierarchy is made up of the Draw, LineFigure, ArrowFigure, RectangleFigure, and EllipseFigure classes, as shown in the following image:

The Draw class is the root class of the hierarchy and is mostly made up of virtual and pure virtual methods intended to be overridden by the subclasses. ...
Read now
Unlock full access