Example 19

Example 19

This is an example of how to put together a program that uses class inheritance for drawable objects. Clicking with the left mouse will place the currently selected object on the canvas, while the mouse will rotate through the selection. Right click will clear the canvas.

ex_19/drawables.png

Files