Graphics Classes

A language that doesn´t change the way you think isn´t worth learning.

– Traditional

Chapter 10 gave an idea of what we could do in terms of graphics using a set of simple interface classes, and how we can do it. This chapter presents many of the classes offered. The focus here is on the design, use, and implementation of individual interface classes such as Point, Color, Polygon, and Open_polyline and their uses. The following chapter will present ideas for designing sets of related classes and will also present more implementation techniques.

§11.1 Overview of graphics classes

§11.2 Point and Line

§11.3 Lines


§11.4 Color

§11.5 Line_style

§11.6 Polylines

Open_polyline; Closed_polyline; Marked_polyline; Marks ...

Get Programming: Principles and Practice Using C++, 3rd Edition 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.