Abstract
This chapter describes the main object structure in the drawing package, that is, the objects which define each graphical type. These types are lines, circles, arcs, ellipses, rectangles, diamonds, Bezier curves, strings and user-defined shapes. These are implemented as a hierarchy of classes, and so they provide further examples of the important property of inheritance and the need for virtual functions. Full details of these classes can be found in the module DIAGOBJ, although only relevant examples of the classes are given here.
Preview
Unable to display preview. Download preview PDF.
Author information
Authors and Affiliations
Copyright information
© 1993 R. J. Mitchell
About this chapter
Cite this chapter
Mitchell, R.J. (1993). More Inheritance. In: C++ Object-Oriented Programming. Macmillan Computer Science Series. Palgrave, London. https://doi.org/10.1007/978-1-349-13173-0_5
Download citation
DOI: https://doi.org/10.1007/978-1-349-13173-0_5
Publisher Name: Palgrave, London
Print ISBN: 978-0-333-58937-3
Online ISBN: 978-1-349-13173-0
eBook Packages: EngineeringEngineering (R0)