Summary

In this chapter, you studied the figure class hierarchy for the drawing program of Chapter 4, Working with Shapes and Figures. You covered the following topics:

  • Testing whether the figure has been hit by a mouse click or if it is enclosed by a rectangle
  • Modification and movement of the figure
  • Drawing the figure and calculating the area of the figure
  • Writing and reading the figure to and from a file stream or the clipboard
  • Cursor handling with different cursors depending on the current state of figure

In Chapter 6, Building a Word Processor, you will start developing a word processor.

Get C++ Windows Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.