Chapter 13 Outcomes
Advanced Graphics and Sounds
Knowledge Outcomes
Define each of the key terms listed in the chart below.
| Graphical User Interface (GUI) |
type font (Font. module) |
serif style type |
| font specification | Pic. module | Music. module |
| process & fork | concurrent execution | picXor |
| Mouse. module | widget directory | buttons class |
| check boxes class | radio buttons class | menus class |
Explain the purpose of each of the five operations found in the Pie class (13.1).
State the purpose of the following variables used in the "pie.tu" class (13.1):
Explain how the Font.New function is used as a parameter with the Font.Draw function (13.2).
Describe the purpose of the Font.Width function (13.2).
State the purpose of the Font.Free function (13.2).
Describe the purpose of the colorbg attribute when creating animations (13.3).
Discuss the purpose of each of the following drawing modes used in the Pic module (13.3 & 13.4):
Describe the purpose of the process and fork statements in an animated graphics program (13.3).
(Optional) Explain how the stars were created and placed on the American Flag (13.3).
Explain how the flies and the swatter are drawn in the program "flyswat.t" (13.4).
State the purpose of each of the following Mouse module statements (13.4):
Describe the purpose of each of the following procedures or functions found in the Fly class (13.4):
Explain how Time.Elapsed is used in the main program of "flyswat.t" (13.4).
In general terms explain how a library of GUI component classes are used to create the GUI interface (13.5).
Skills Outcomes
(Optional) Show how the "labelpie.tu" class is able to left or right justify titles on a pie depending on the location of the slice (13.2).
Capture and display complicated graphic images using the Pic module (Pic.New, Pic.Draw, Pic.Free) (13.3).
Use the Music.Play module to play music (13.3).
Use the process and fork statements to create concurrent execution in a program (13.3).