# Inside Macintosh: QuickDraw GX Objects — source transcripts, page 1

[Canonical transcript page](https://www.vintageapple.net/transcripts/media/va-qd-gx-objects-1994-d9bbdb/1)

## Transcribed source material

Machine transcriptions and image descriptions; uncertain copy may be marked [illegible]. Verify against the linked originals. Historical rights remain with the original owners.

These are transcribed excerpts, not the full publications. Open the originals for remaining pages.

### Image 1

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-qd-gx-objects-1994-d9bbdb/1#scan-85f111850edb1e4bb57f632c5dd135d2faa0f85e1235966dae113cd6d8eb36c1)

Transcribed text:

INSIDE MACINTOSH

QuickDraw GX Objects

Addison-Wesley Publishing Company

Reading, Massachusetts Menlo Park, California New York
Don Mills, Ontario Wokingham, England Amsterdam Bonn
Sydney Singapore Tokyo Madrid San Juan
Paris Seoul Milan Mexico City Taipei

Image description: A plain white title page with a small Apple logo at top, the words INSIDE MACINTOSH in spaced capitals above a horizontal rule, and a publisher's logo with city list near the bottom.

Reading notes: Publisher city list is set in small type with spacing between names; separators are visual gaps rather than punctuation, so reading order is approximate.

Languages: English

[Original Image 1](https://www.vintageapple.net/files/082d654375b2544048e5b02989685b09e401a90d7007744ac1ff7e9db7f7ee44/44de699a1de37305849d8717.webp)

### PDF page 1

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-qd-gx-objects-1994-d9bbdb/1#scan-81de9407f2e130184f33920e80d1ce9897ff79ae11a68dc227c1c0655778e788)

Transcribed text:

Addison-Wesley Publishing Company
Reading, Massachusetts   Menlo Park, California   New York
Don Mills, Ontario   Wokingham, England   Amsterdam   Bonn
Sydney   Singapore   Tokyo   Madrid   San Juan
Paris   Seoul   Milan   Mexico City   Taipei
I N S I D E   M A C I N T O S H
QuickDraw GX Objects

Reading notes: Transcript is intentionally empty because exact text is preserved separately. Fields were filled from the supplied extracted copy only and were not verified against the scan. The headline is taken from the spaced-out title line 'I N S I D E M A C I N T O S H', normalized here to 'INSIDE MACINTOSH'. The publisher and city names in the imprint block are not advertised products and are not listed as product names. No prices or dates appear in the supplied copy.

Printed product names: QuickDraw GX Objects

Languages: English

[Original PDF page 1](https://www.vintageapple.net/files/e723f0e5761a9f31c49b8b13e65cf2bf355ddef4a188963d4d111c199b4bccc9/inside-macintosh-quickdraw-gx-objects-1994-04-original.pdf#page=1)

### PDF page 2

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-qd-gx-objects-1994-d9bbdb/1#scan-0ccf4b21f251cb0b418606e28c4334ccd11617075f0b89dd9ce4b9734e0f8d0b)

Transcribed text:

Apple Computer, Inc.
© 1994 Apple Computer, Inc.
All rights reserved.
No part of this publication may be
reproduced, stored in a retrieval
system, or transmitted, in any form or
by any means, mechanical, electronic,
photocopying, recording, or otherwise,
without prior written permission of
Apple Computer, Inc. Printed in the
United States of America.
No licenses, express or implied, are
granted with respect to any of the
technology described in this book.
Apple retains all intellectual property
rights associated with the technology
described in this book. This book is
intended to assist application
developers to develop applications only
for Apple Macintosh computers.
Every effort has been made to ensure
that the information in this manual is
accurate. Apple is not responsible for
printing or clerical errors.
Apple Computer, Inc.
20525 Mariani Avenue
Cupertino, CA 95014
408-996-1010
Apple, the Apple logo, LaserWriter, and
Macintosh are trademarks of Apple
Computer, Inc., registered in the United
States and other countries.
Adobe Illustrator, Adobe Photoshop,
and PostScript are trademarks of Adobe
Systems Incorporated, which may be
registered in certain jurisdictions.
America Online is a service mark of
Quantum Computer Services, Inc.
CompuServe is a registered service
mark of CompuServe, Inc.
FrameMaker is a registered trademark
of Frame Technology Corporation.
Helvetica, Times, and Palatino are
registered trademarks of Linotype
Company.
ITC Zapf Dingbats is a registered
trademark of International Typeface
Corporation.
Optrotech is a trademark of Orbotech
Corporation.
Pantone is a registered trademark of
Pantone, Inc.
Simultaneously published in the United
States and Canada.
LIMITED WARRANTY ON MEDIA AND
REPLACEMENT
ALL IMPLIED WARRANTIES ON THIS
MANUAL, INCLUDING IMPLIED
WARRANTIES OF MERCHANTABILITY
AND FITNESS FOR A PARTICULAR
PURPOSE, ARE LIMITED IN DURATION
TO NINETY (90) DAYS FROM THE DATE
OF THE ORIGINAL RETAIL PURCHASE
OF THIS PRODUCT.
Even though Apple has reviewed this
manual, APPLE MAKES NO WARRANTY
OR REPRESENTATION, EITHER EXPRESS
OR IMPLIED, WITH RESPECT TO THIS
MANUAL, ITS QUALITY, ACCURACY,
MERCHANTABILITY, OR FITNESS FOR A
PARTICULAR PURPOSE. AS A RESULT,
THIS MANUAL IS SOLD “AS IS,” AND
YOU, THE PURCHASER, ARE ASSUMING
THE ENTIRE RISK AS TO ITS QUALITY
AND ACCURACY.
IN NO EVENT WILL APPLE BE LIABLE
FOR DIRECT, INDIRECT, SPECIAL,
INCIDENTAL, OR CONSEQUENTIAL
DAMAGES RESULTING FROM ANY
DEFECT OR INACCURACY IN THIS
MANUAL, even if advised of the possibility
of such damages.
THE WARRANTY AND REMEDIES SET
FORTH ABOVE ARE EXCLUSIVE AND IN
LIEU OF ALL OTHERS, ORAL OR
WRITTEN, EXPRESS OR IMPLIED. No
Apple dealer, agent, or employee is
authorized to make any modification,
extension, or addition to this warranty.
Some states do not allow the exclusion or
limitation of implied warranties or liability
for incidental or consequential damages, so
the above limitation or exclusion may not
apply to you. This warranty gives you
specific legal rights, and you may also have
other rights which vary from state to state.
ISBN 0-201-40675-6
1 2 3 4 5 6 7 8 9-CRW-9897969594
First Printing, April 1994
Library of Congress Cataloging-in-Publication Data
Inside Macintosh : QuickDraw GX object / [Apple Computer, Inc.].
p.   cm.
Includes index.
ISBN 0-201-40675-6
1. Macintosh (Computer)   2. Computer graphics.   3. QuickDraw GX.
I. Apple Computer, Inc.
QA76.8.M3I56228   1994
006.6'765—dc20   94-1843
CIP

Reading notes: Transcript intentionally empty per instruction because the exact extracted text is preserved separately. The page is a legal and copyright notice, not an advertisement, so no advertised products or prices were identified. Product and trademark names such as LaserWriter and Macintosh appear only in trademark notices and were not treated as advertised products. Headings such as 'LIMITED WARRANTY ON MEDIA AND REPLACEMENT' are section headings, not an advertising headline, so headline is null. Layout and reading order were inferred from the supplied copy and not verified against the image.

Printed dates: © 1994 · April 1994 · 1994

Languages: English

[Original PDF page 2](https://www.vintageapple.net/files/e723f0e5761a9f31c49b8b13e65cf2bf355ddef4a188963d4d111c199b4bccc9/inside-macintosh-quickdraw-gx-objects-1994-04-original.pdf#page=2)

### PDF page 3

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-qd-gx-objects-1994-d9bbdb/1#scan-15149b9f5b768c71c03c872a5c607638a996c4bd2defd2a9742dfa90f111520f)

Transcribed text:

iii
Contents
Figures, Tables, and Listings   xiii
Preface   About This Book   xix
What to Read   xx
Chapter Organization   xxi
Conventions Used in This Book   xxii
Special Fonts   xxii
Types of Notes   xxii
Numerical Formats   xxii
Type Definitions for Enumerations   xxiii
Illustrations   xxiii
Development Environment   xxiii
Developer Products and Support   xxiv
Chapter 1   Introduction to QuickDraw GX   1-1
What Is QuickDraw GX?   1-3
Color Graphics   1-4
Typography   1-5
Printing   1-6
What QuickDraw GX Is Not   1-7
QuickDraw GX Objects   1-7
How QuickDraw GX Defines Objects   1-8
Advantages of an Object-Based Structure   1-9
Kinds of QuickDraw GX Objects   1-10
Shape Objects   1-10
Supporting Objects   1-11
Printing Objects   1-14
Object Properties   1-15
Default Objects and Default Properties   1-17
Adding Custom Behavior With Tag Objects   1-17
Objects and Memory   1-18
Application Memory and QuickDraw GX Memory   1-18
Sharing and Multiple Object References   1-19
Owner Count   1-20
Cloning   1-20
Automatic Loading and Unloading of Objects   1-21
Direct Access to Object Structure: Locking and Unlocking   1-22
External Storage of Objects: Flattening and Unflattening   1-23

Reading notes: Table of contents page; headline is the chapter title from the contents listing

Languages: English

[Original PDF page 3](https://www.vintageapple.net/files/e723f0e5761a9f31c49b8b13e65cf2bf355ddef4a188963d4d111c199b4bccc9/inside-macintosh-quickdraw-gx-objects-1994-04-original.pdf#page=3)

### PDF page 4

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-qd-gx-objects-1994-d9bbdb/1#scan-e43621cd48b7b6b9ad2a31a450529da6ea7278011ed12845080f1011ab626459)

Transcribed text:

iv
Drawing and Hit-Testing Shapes   1-23
Drawing   1-24
Mapping and Clipping   1-24
View-Related Objects   1-25
The Drawing Sequence: Coordinate Conversion   1-28
Hit-Testing   1-32
Printing With QuickDraw GX   1-34
Core Printing Features   1-35
Custom Dialog Boxes and Page Formats   1-36
Advanced Printing Features   1-37
The QuickDraw GX Programming Environment   1-38
Setting Up QuickDraw GX Memory   1-38
Handling Errors   1-38
Debugging   1-39
Debugging and Non-Debugging Versions   1-39
Debugging With GraphicsBug   1-40
Programming Conventions and Consistencies   1-41
Object Behavior   1-41
Functions and Function Results   1-41
Function Parameters   1-42
Code Naming Conventions   1-44
Relationship to the Macintosh Toolbox   1-44
Summary Table and Diagram of QuickDraw GX Objects   1-45
Chapter 2   Shape Objects   2-1
About QuickDraw GX Shapes   2-5
About Shape Objects   2-7
Shape Properties   2-7
Shape Type   2-9
Shape Geometry   2-11
Shape Fill   2-13
Shape Attributes   2-16
Default Shapes   2-18
Modifying Shape Properties   2-19
Drawing Shapes   2-20
Hit-Testing Shapes   2-20
Saving and Restoring Shapes   2-22
Using Shape Objects   2-22
Creating and Manipulating Shape Objects   2-22
Getting and Setting the Default Shape Objects   2-23
Creating and Disposing of Shape Objects   2-24
Getting the Size of a Shape Object in Memory   2-25
Copying, Comparing, and Cloning Shape Objects   2-25
Caching Shape Objects   2-27
Loading and Unloading Shape Objects   2-27

Reading notes: Source is a table of contents rather than advertising copy; no product names, prices, or dates are advertised.

Languages: English

[Original PDF page 4](https://www.vintageapple.net/files/e723f0e5761a9f31c49b8b13e65cf2bf355ddef4a188963d4d111c199b4bccc9/inside-macintosh-quickdraw-gx-objects-1994-04-original.pdf#page=4)

### PDF page 5

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-qd-gx-objects-1994-d9bbdb/1#scan-617f3c2685d0c074aaad10c762868af02c8109a2fdb1960219bd442a9e51b649)

Transcribed text:

v
Manipulating Shape Object Properties   2-28
Getting and Setting a Shape Object’s Type, Fill, and Attributes   2-28
Copying the Geometry From One Shape to Another   2-29
Getting and Setting a Shape Object’s Style, Ink, and Transform   2-30
Resetting a Shape Object’s Properties to Their Default Values   2-31
Manipulating a Shape Object’s Owner Count   2-31
Getting and Setting a Shape Object’s Tag References   2-32
Converting Shapes From One Type to Another   2-32
Directly Manipulating a Shape’s Geometry   2-34
Drawing and Hit-Testing Shapes   2-35
Drawing Shapes   2-35
Hit-Testing Shapes   2-36
Flattening and Unflattening Shapes   2-39
Shape-Related Functions Described Elsewhere   2-42
Shape Objects Reference   2-45
Constants and Data Types   2-45
The Shape Object   2-46
Shape Type   2-46
Shape Fill   2-46
Shape Attributes   2-47
Flatten Flags   2-48
The Spool Block   2-49
The Hit-Test Info Structure   2-50
Functions   2-51
Creating and Manipulating Shape Objects   2-52
Manipulating Shape Object Properties   2-65
Directly Manipulating a Shape’s Geometry   2-80
Drawing and Hit-Testing Shapes   2-84
Flattening and Unflattening Shape Objects   2-87
Application-Defined Spool Function   2-91
Summary of Shape Objects   2-93
Constants and Data Types   2-93
Functions   2-95
Application-Defined Spool Function   2-97
Chapter 3   Style Objects   3-1
About Style Objects   3-3
Style Object Properties   3-4
The Default Style Object   3-6
Using Style Objects   3-7
Creating and Manipulating Style Objects   3-7
Creating and Deleting a Style Object   3-7
Copying, Comparing, and Cloning Style Objects   3-8
Loading and Unloading Style Objects   3-10

Reading notes: Source appears to be a table of contents with page numbers rather than advertising copy; no headline or advertised products identified.

Languages: English

[Original PDF page 5](https://www.vintageapple.net/files/e723f0e5761a9f31c49b8b13e65cf2bf355ddef4a188963d4d111c199b4bccc9/inside-macintosh-quickdraw-gx-objects-1994-04-original.pdf#page=5)

### PDF page 6

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-qd-gx-objects-1994-d9bbdb/1#scan-a56bcb9940639522deb341969d3c4bba828b98d1f6dbd42721e1536804a77196)

Transcribed text:

vi
Manipulating Style Object Properties   3-10
Resetting a Style Object’s Default Properties   3-11
Getting and Setting Style Attributes and Text Attributes   3-11
Manipulating a Style Object’s Owner Count   3-11
Getting and Setting a Style Object’s Tag References   3-14
Style-Related Functions Described Elsewhere   3-14
Style Objects Reference   3-15
Constants and Data Types   3-16
The Style Object   3-16
Functions   3-16
Creating and Manipulating Style Objects   3-16
Manipulating Style Object Properties   3-21
Summary of Style Objects   3-26
Constants and Data Types   3-26
Functions   3-26
Chapter 4   Colors and Color-Related Objects   4-1
About Color in QuickDraw GX   4-5
Color Spaces   4-6
Luminance-Based Color Spaces   4-7
RGB-Based Color Spaces   4-9
CMYK Color Spaces   4-14
Universal Color Spaces   4-15
Indexed Color Spaces   4-22
Color Spaces With Alpha Channels   4-24
Color-Component Values, Color Values, and Colors   4-25
Color Conversion and Color Matching   4-26
Color Profiles   4-28
Color-Matching Methods   4-30
When Color Matching Occurs   4-31
About Color Set Objects   4-32
Color Set Properties   4-33
Color Values in a Color Set   4-34
Default Color Sets   4-34
About Color Profile Objects   4-35
Color Profile Properties   4-36
Profile Data   4-36
The Default Color Profile   4-37
Zero-Length Profiles   4-37
Using Colors and Color-Related Objects   4-38
Assigning Colors to Shapes   4-38
Assigning Color Profiles to Colors   4-39
Comparing and Testing Colors   4-40
Checking for Out-of-Gamut Colors   4-40
Checking Colors for Closeness and Color Space   4-40

Languages: English

[Original PDF page 6](https://www.vintageapple.net/files/e723f0e5761a9f31c49b8b13e65cf2bf355ddef4a188963d4d111c199b4bccc9/inside-macintosh-quickdraw-gx-objects-1994-04-original.pdf#page=6)

### PDF page 7

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-qd-gx-objects-1994-d9bbdb/1#scan-b2627648748963e016e2c7f5ab7eee6a6f876687dacd452a3825e882add83ce0)

Transcribed text:

vii
Predicting Drawing Results   4-41
Converting and Matching Colors   4-41
Creating and Manipulating Color Set and Color Profile Objects   4-42
Creating and Disposing of a Color Set or Color Profile   4-42
Copying, Comparing, and Cloning Color Sets and Color Profiles   4-44
Loading and Unloading Color Sets and Color Profiles   4-45
Manipulating Object Properties of Color Sets and Color Profiles   4-46
Manipulating Owner Counts   4-46
Getting and Setting Tag References   4-47
Manipulating the Colors in a Color Set Object   4-47
Manipulating the Profile Data in a Color Profile Object   4-48
Colors and Color-Related Objects Reference   4-49
Constants and Data Types   4-50
Color-Component Values   4-50
Color Values   4-50
The Color Structure   4-53
Color Packing   4-54
Color Spaces   4-55
The Color Set Object   4-56
The gxSetColor Union   4-56
The Color Profile Object   4-57
Color Functions   4-57
Color Set Functions   4-62
Creating and Manipulating Color Set Objects   4-62
Manipulating Color Set Object Properties   4-69
Retrieving and Replacing Colors in a Color Set   4-73
Color Profile Functions   4-78
Creating and Manipulating Color Profile Objects   4-78
Manipulating Color Profile Object Properties   4-84
Retrieving and Replacing Profile Information   4-88
Summary of Colors and Color-Related Objects   4-94
Constants and Data Types   4-94
Color Functions   4-98
Color Set Functions   4-98
Color Profile Functions   4-99
Chapter 5   Ink Objects   5-1
About Ink Objects   5-5
Ink Properties   5-6
Color   5-7
Transfer Mode   5-8
Ink Attributes   5-9
The Default Ink Object   5-10

Languages: English

[Original PDF page 7](https://www.vintageapple.net/files/e723f0e5761a9f31c49b8b13e65cf2bf355ddef4a188963d4d111c199b4bccc9/inside-macintosh-quickdraw-gx-objects-1994-04-original.pdf#page=7)

### PDF page 8

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-qd-gx-objects-1994-d9bbdb/1#scan-e6b3edb9127cb7d2d80c946b6bc22354d9a2ffb553fca622ac324c9820dd772c)

Transcribed text:

viii
About Transfer Modes   5-11
Transfer Mode Types   5-11
Arithmetic Transfer Modes   5-12
Highlight Transfer Mode   5-15
Boolean Transfer Modes   5-16
Pseudo-Boolean Transfer Modes   5-18
Alpha-Channel Transfer Modes   5-20
Transfer Mode Color Space   5-25
Color Limits   5-27
Source Color Limits   5-31
Destination Color Limits   5-32
Result Color Limits   5-32
Transfer Mode Matrices   5-33
Flags   5-34
Transfer Component Flags   5-35
Transfer Mode Flags   5-35
Summary of Transfer Mode Operation   5-36
Using Ink Objects   5-38
Creating and Manipulating Ink Objects   5-38
Creating and Disposing of Ink Objects   5-38
Copying, Comparing, and Cloning Ink Objects   5-39
Loading and Unloading Ink Objects   5-40
Manipulating Ink Object Properties   5-40
Getting and Setting an Ink Object’s Attributes   5-40
Manipulating an Ink Object’s Owner Count   5-41
Getting and Setting an Ink Object’s Tag References   5-41
Getting and Setting an Ink Object’s Color   5-42
Getting and Setting an Ink Object’s Transfer Mode   5-43
Working With Transfer Modes   5-44
Simple Source-to-Destination Transfers   5-44
Drawing Selected Parts of the Source   5-45
Preserving Selected Parts of the Destination   5-45
Copying or Preserving Luminance   5-46
Modifying Luminance   5-47
Isolating and Modifying Color Ranges   5-47
Masking   5-48
Partial Transparency   5-48
Anti-Aliasing   5-49
Making Color Separations   5-49
Transfer Modes and Printing   5-49
Ink Objects Reference   5-50
Constants and Data Types   5-50
The Ink Object   5-50
Ink Attributes   5-51
Color Structure   5-51
Transfer Mode Structure   5-52
Transfer Mode Flags   5-53

Languages: English

[Original PDF page 8](https://www.vintageapple.net/files/e723f0e5761a9f31c49b8b13e65cf2bf355ddef4a188963d4d111c199b4bccc9/inside-macintosh-quickdraw-gx-objects-1994-04-original.pdf#page=8)

### PDF page 9

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-qd-gx-objects-1994-d9bbdb/1#scan-ca396e545463464115709d82032e58e920f98e1d1567958b80ec751e342403a0)

Transcribed text:

ix
Transfer Component Structure   5-53
Component Modes (Transfer Mode Types)   5-55
Transfer Component Flags   5-55
Functions   5-56
Creating and Manipulating Ink Objects   5-56
Manipulating Ink Object Properties   5-60
Getting and Setting an Ink’s Color   5-68
Getting and Setting an Ink’s Transfer Mode   5-72
Summary of Ink Objects   5-77
Constants and Data Types   5-77
Functions   5-79
Chapter 6   Transform Objects   6-1
About Transform Objects   6-5
Transform Object Properties   6-6
Clip   6-7
Mapping   6-10
View Port List   6-11
Hit-Test Parameters   6-11
Default Transform Objects   6-14
Using Transform Objects   6-15
Creating and Manipulating Transform Objects   6-15
Creating and Disposing of Transform Objects   6-15
Copying, Comparing, and Cloning Transform Objects   6-16
Implicit Creation of Transform Objects   6-18
Loading and Unloading Transform Objects   6-18
Manipulating Transform Object Properties   6-19
Manipulating a Transform Object’s Owner Count   6-19
Getting and Setting a Transform Object’s Tag References   6-20
Resetting Default Transform Properties   6-20
Getting, Setting, and Modifying the Transform Clip   6-20
Moving, Scaling, Rotating, and Skewing Shapes   6-23
Modifying the Transform Mapping   6-24
Modifying Shape Geometry   6-26
Manipulating the View Port List   6-28
Setting Up Hit-Test Parameters   6-30
Transform Objects Reference   6-31
Constants and Data Types   6-31
The Transform Object   6-31
Shape Parts for Hit-Testing   6-32
Functions   6-32
Creating and Manipulating Transform Objects   6-33
Manipulating Transform Object Properties   6-38
Getting and Setting the Clip   6-43
Performing Geometric Operations on Transform Clips   6-48

Reading notes: Source appears to be a table of contents listing chapter and section titles with page numbers rather than advertising copy; no headline, products, prices, or dates are explicitly present.

Languages: English

[Original PDF page 9](https://www.vintageapple.net/files/e723f0e5761a9f31c49b8b13e65cf2bf355ddef4a188963d4d111c199b4bccc9/inside-macintosh-quickdraw-gx-objects-1994-04-original.pdf#page=9)

### PDF page 10

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-qd-gx-objects-1994-d9bbdb/1#scan-e3a31762fb5ad23605e442bf03168500281452c49c8bece5ef0226d823c48509)

Transcribed text:

x
Getting and Setting the Mapping   6-53
Transforming Shapes by Modifying Transform Mappings   6-58
Transforming Shapes by Modifying Shape Geometries   6-65
Getting and Setting the View Port List   6-73
Getting and Setting the Hit-Test Parameters   6-77
Summary of Transform Objects   6-82
Constants and Data Types   6-82
Functions   6-83
Chapter 7   View-Related Objects   7-1
About View Ports, View Devices, and View Groups   7-5
About View Port Objects   7-7
View Port Properties   7-7
View Port Clip and Mapping   7-9
Dither   7-10
Halftone   7-13
Parent and Child View Ports   7-18
View Port Attributes   7-20
The Default View Port Object   7-20
View Port Objects and Windows   7-21
About View Device Objects   7-24
View Device Properties   7-25
View Device Clip and Mapping   7-26
View Device Bitmap   7-26
View Device Attributes   7-27
The Default View Device Object   7-28
View Device Objects and Physical Devices   7-28
About View Group Objects   7-29
View Groups Have No Properties   7-29
Onscreen and Offscreen View Groups   7-29
About Drawing, Coordinate Conversion, and Clipping   7-30
QuickDraw GX Coordinates   7-31
Geometry Space   7-32
Local Space   7-33
Global Space   7-34
Device Space   7-38
Using View-Related Objects   7-39
Using View Ports   7-40
Creating and Manipulating View Port Objects   7-40
Manipulating View Port Object Properties   7-42
Getting and Setting a View Port’s Clip and Mapping   7-44
Setting Up the View Port Hierarchy for a Window   7-46
Supporting Scrolling in a Window   7-47
Identifying a View Port’s View Devices   7-49
Identifying a Shape’s View Ports   7-50

Reading notes: Source is a table of contents excerpt with no primary headline or advertised products. Leading 'x' character before the first entry may be a stray marker.

Languages: English

[Original PDF page 10](https://www.vintageapple.net/files/e723f0e5761a9f31c49b8b13e65cf2bf355ddef4a188963d4d111c199b4bccc9/inside-macintosh-quickdraw-gx-objects-1994-04-original.pdf#page=10)

### PDF page 11

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-qd-gx-objects-1994-d9bbdb/1#scan-fa7db77f39f1ca393519d69523af10ccf522a6cc7ce36a1a64070e0a020b8e2f)

Transcribed text:

xi
Measuring a Shape in Local Space   7-51
Using View Devices   7-52
Creating and Manipulating View Device Objects   7-52
Manipulating View Device Object Properties   7-54
Getting and Setting a View Device’s Clip and Mapping   7-56
Identifying a Shape’s View Devices   7-58
Measuring a Shape in Device Space   7-59
Hit-Testing a Shape on a Device   7-60
Using View Groups   7-60
Creating and Manipulating View Group Objects   7-61
Setting Up an Offscreen View Group   7-62
Measuring a Shape in Global Space   7-63
View-Related Objects Reference   7-65
Constants and Data Types   7-65
The View Port Object   7-65
The Halftone Structure   7-65
Dot Types   7-66
Tint Types   7-67
View Port Attributes   7-68
The View Device Object   7-68
View Device Attributes   7-68
The View Group Object   7-69
View Group Types   7-69
View Port Functions   7-69
Creating and Manipulating View Port Objects   7-70
Manipulating View Port Object Properties   7-74
Retrieving the View Devices That Intersect a View Port   7-94
Retrieving the View Ports That Intersect a Shape   7-95
Measuring a Shape in Local Coordinates   7-96
View Device Functions   7-97
Creating and Manipulating View Device Objects   7-97
Manipulating View Device Object Properties   7-102
Retrieving the View Devices That Intersect a Shape   7-115
Measuring a Shape in Device Coordinates   7-116
Measuring the Colors and Pattern Width of a Shape on a Device   7-118
Hit-Testing a Shape on a Device   7-120
View Group Functions   7-121
Creating and Disposing of View Group Objects   7-121
Getting the View Ports and View Devices of a View Group   7-123
Measuring a Shape in Global Coordinates   7-125
Summary of View-Related Objects   7-127
Constants and Data Types   7-127
View Port Functions   7-129
View Device Functions   7-130
View Group Functions   7-131

Reading notes: Source is a table of contents listing section titles and page numbers, not advertising copy. No explicit product names, prices, or printed dates appear in the supplied text.

Languages: English

[Original PDF page 11](https://www.vintageapple.net/files/e723f0e5761a9f31c49b8b13e65cf2bf355ddef4a188963d4d111c199b4bccc9/inside-macintosh-quickdraw-gx-objects-1994-04-original.pdf#page=11)

[Next transcribed scans](https://www.vintageapple.net/transcripts/media/va-qd-gx-objects-1994-d9bbdb/2.md)
