April 2024
Beginner
656 pages
23h 19m
English
The world was black and white then.
It didn´t turn color until sometime in the 1930s.
– Calvin´s dad
This chapter presents a display model (the output part of GUI), giving examples of use and fundamental notions such as screen coordinates, lines, and color. Line, Lines, Polygons, Axis, and Text are examples of Shapes. A Shape is an object in memory that we can display and manipulate on a screen. The next two chapters will explore these classes further, with Chapter 11 focusing on their implementation and Chapter 12 on design issues.
Graphics headers and main; Axis; Graphing a ...