Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: Overview /


Chapter 5 - Drawing

This chapter shows how you can draw simple graphics and text inside of windows using QuickDraw, the part of the Macintosh Toolbox that performs graphics operations on the user's screen. All Macintosh applications use QuickDraw indirectly whenever they call other Toolbox managers to create and manage the basic graphic user interface elements (such as windows, controls, and menus). Most applications also call QuickDraw directly to define areas in a window and to draw appropriate graphic elements in those areas. The Venn Diagrammer application, for instance, calls QuickDraw to draw the overlapping circles, the tool icons, and the figure and mood selection icons. It also calls QuickDraw to draw all the text displayed in a window.

This chapter begins with a description of QuickDraw, its basic drawing model, and some of the data structures QuickDraw uses. Then it shows how to

For a complete description of the drawing capabilities of QuickDraw, see the chapter "QuickDraw Drawing" in Inside Macintosh: Imaging. For a complete description of the text capabilities of QuickDraw, see the chapter "QuickDraw Text" in Inside Macintosh: Text. To learn how to handle editable text, see the chapter "TextEdit" in Inside Macintosh: Text.


Chapter Contents
About QuickDraw
Points
Rectangles
Regions
Bit Images
Ports and Windows
Drawing Shapes
Drawing Bit Images
Drawing Text

Previous Book Contents Book Index Next

© Apple Computer, Inc.
9 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help