# Inside Macintosh: QuickDraw GX Environment and Utilities — source transcripts, page 1

[Canonical transcript page](https://www.vintageapple.net/transcripts/media/va-qd-gx-environment-utils-1994-f079f7/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-environment-utils-1994-f079f7/1#scan-697e03af4e0e90b03a843d5358418766da88d10d7e57a312bdf7325e291f09bc)

QuickDraw GX Environment and Utilities

Transcribed text:

INSIDE MACINTOSH

QuickDraw GX
Environment and Utilities

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 title page with a black Apple logo at top, the spaced-letter heading INSIDE MACINTOSH above a horizontal rule, a large serif title, and a small publisher logo with publisher name and city list at the bottom on white background.

Reading notes: Publisher city list is set in a single block with spacing between names; reading order follows visual lines left to right. No printed dates or years are visible on the page.

Languages: English

[Original Image 1](https://www.vintageapple.net/files/a8f200445e491169f139549ed1c0f9e26c1e656e2994d02894bd3043fa288625/989c912ce0e72d317fe2b42f.webp)

### PDF page 1

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-qd-gx-environment-utils-1994-f079f7/1#scan-ae89caa6b5bc168f3badf19039d6a184266da535360dff038730c6c89e26a57e)

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
Environment and Utilities

Reading notes: Transcript is intentionally empty because the exact extracted text is preserved separately; the headline and other fields were filled from the supplied copy only. The document is a book title page rather than an advertisement, so no advertised products, prices, or dates are listed; QuickDraw GX is a title element, not a confirmed advertised product. The headline INSIDE MACINTOSH is shown with letter spacing in the supplied copy and is treated as the primary title. No publication year or date appears in the supplied copy. The city names listed under the publisher are office locations and were not treated as languages or dates.

Languages: English

[Original PDF page 1](https://www.vintageapple.net/files/6a5f8e15670da19f0896d43a973d04456b5a48b928b31ecf4313fe8fb0c88c0a/inside-macintosh-quickdraw-gx-environment-and-utilities-1994-06-original.pdf#page=1)

### PDF page 2

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-qd-gx-environment-utils-1994-f079f7/1#scan-dd757eb1578b470564c681160369e4e793b06c399d124da8466ec89e4bf44ecf)

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.
1 Infinite Loop
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.
QuickDraw is a trademark of Apple
Computer, Inc.
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.
AGFA is a trademark of Agfa-Gevaert.
FrameMaker is a registered trademark
of Frame Technology Corporation.
Helvetica and Palatino are registered
trademarks of Linotype Company.
Internet is a trademark of Digital
Equipment Corporation.
ITC Zapf Dingbats is a registered
trademark of International Typeface
Corporation.
Optrotech is a trademark of Orbotech
Corporation.
PowerPC is a trademark of
International Business Machines
Corporation, used under license
therefrom.
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-40676-4
1 2 3 4 5 6 7 8 9-CRW-9897969594
First Printing, June 1994
The paper used in this book meets the
EPA standards for recycled fiber.

Reading notes: Transcript is intentionally empty because the exact text is preserved separately. No readable advertising headline; 'LIMITED WARRANTY ON MEDIA AND REPLACEMENT' is a section heading and was not set as the headline. Trademarked names such as Macintosh, LaserWriter, PostScript, and PowerPC appear only as trademark notices, not as advertised products, so productNames is empty. Layout, column order, and the visual appearance of the page were not verified from the image and are inferred only from the supplied copy.

Printed dates: © 1994 · June 1994

Languages: English

[Original PDF page 2](https://www.vintageapple.net/files/6a5f8e15670da19f0896d43a973d04456b5a48b928b31ecf4313fe8fb0c88c0a/inside-macintosh-quickdraw-gx-environment-and-utilities-1994-06-original.pdf#page=2)

### PDF page 3

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-qd-gx-environment-utils-1994-f079f7/1#scan-1bbf252f1991e0bf32cc381e210e86671dde63323e9b662b11f90687071f8c78)

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   xxiii
Type Definitions for Enumerations   xxiii
Development Environment   xxiii
Developer Products and Support   xxiv
Chapter 1   QuickDraw GX and the Macintosh Environment   1-1
About QuickDraw GX and the Macintosh Environment   1-3
The Macintosh Interface   1-3
The QuickDraw–to–QuickDraw GX Translator   1-4
Using QuickDraw GX in the Macintosh Environment   1-4
Testing for the Presence and Version of QuickDraw GX   1-4
Using the Macintosh Interface Functions   1-6
Creating and Using View Ports with Macintosh Windows   1-6
Using View Devices With Graphics Devices   1-7
Converting From QuickDraw to QuickDraw GX Coordinates   1-7
Intercepting Drawing Calls to a View Port   1-9
Using the QuickDraw–to–QuickDraw GX Translator   1-10
Factors in Translation   1-10
Graphics Port and View Port   1-10
Scaling During Translation   1-11
Translation Options   1-11
How Option Settings Affect Translation of Lines   1-14
Translation of Fill Patterns   1-16
Translation of QuickDraw Picture Comments   1-17
Translation Statistics   1-20
Using the Translator With QuickDraw Pictures   1-20
Installing and Removing the Translator   1-21
QuickDraw GX and the Macintosh Environment Reference   1-22
Constants and Data Types   1-22
Gestalt Selectors and Attributes   1-22
Translator Options and Statistics   1-23

Printed product names: QuickDraw GX · QuickDraw · QuickDraw–to–QuickDraw GX Translator · Macintosh

Languages: English

[Original PDF page 3](https://www.vintageapple.net/files/6a5f8e15670da19f0896d43a973d04456b5a48b928b31ecf4313fe8fb0c88c0a/inside-macintosh-quickdraw-gx-environment-and-utilities-1994-06-original.pdf#page=3)

### PDF page 4

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-qd-gx-environment-utils-1994-f079f7/1#scan-47e3cecac010968e0ce77ba10fc0b30ee2f1eb30d2bc05c6c9ad57e65fd4718f)

Transcribed text:

iv
Macintosh Interface Functions   1-24
Associating View Ports With Macintosh Windows   1-24
Associating View Devices With Macintosh Graphics Devices   1-27
Converting From QuickDraw to QuickDraw GX Coordinates   1-28
Installing a View Port Filter   1-31
QuickDraw–to–QuickDraw GX Translator Functions   1-33
Converting a GrafPort Font and Face Specification   1-33
Converting QuickDraw Pictures   1-34
Installing and Removing the Translator   1-36
Application-Defined Functions   1-40
Filtering Drawing Calls to a View Port   1-40
Handling Translated QuickDraw Data   1-41
Summary of QuickDraw GX and the Macintosh Environment   1-43
Constants and Data Types   1-43
Macintosh Interface Functions   1-44
QuickDraw–to–QuickDraw GX Translator Functions   1-44
Application-Defined Functions   1-45
Chapter 2   QuickDraw GX Memory Management   2-1
About QuickDraw GX Memory Management   2-3
Memory Heaps   2-3
Graphics Clients and Graphics Client Heaps   2-4
Additional Topics   2-5
Using Graphics Clients and Graphics Client Heaps   2-5
Creating a Graphics Client and Its Graphics Client Heap   2-5
Implicit Creation   2-5
Explicit Creation   2-6
Determining Memory Requirements for a Graphics Client Heap   2-8
Disposing of a Graphics Client and Graphics Client Heap   2-9
Additional Memory Management Topics   2-10
Low-Memory Conditions   2-10
Freeing Up Already Allocated Memory   2-10
Allocating New Memory and Unloading Objects   2-11
Functions That Create Additional Memory Demands   2-12
Loading and Unloading Objects   2-12
Functions That Do Not Require a Graphics Client or Heap   2-14
Specifying the Starting Location of a Graphics Client   2-14
Working With Multiple Graphics Clients   2-16
QuickDraw GX Memory Management Reference   2-17
Constants and Data Types   2-18
Graphics Client Object   2-18
Graphics Client Attributes   2-18
Functions   2-18
Creating and Disposing of a Graphics Client   2-19
Allocating and Disposing of a Graphics Client Heap   2-22

Reading notes: Source is a table of contents excerpt with page numbers rather than advertising copy; no headline or product, price, or date content is present.

Languages: English

[Original PDF page 4](https://www.vintageapple.net/files/6a5f8e15670da19f0896d43a973d04456b5a48b928b31ecf4313fe8fb0c88c0a/inside-macintosh-quickdraw-gx-environment-and-utilities-1994-06-original.pdf#page=4)

### PDF page 5

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-qd-gx-environment-utils-1994-f079f7/1#scan-292b059ece1b73b87894df96830d7a9bc8bfe681c6b8734549292c7ca830ec25)

Transcribed text:

v
Working With Multiple Graphics Clients   2-24
Loading and Unloading Objects   2-26
Summary of QuickDraw GX Memory Management   2-38
Constants and Data Types   2-38
Functions   2-38
Chapter 3   Errors, Warnings, and Notices   3-1
About QuickDraw GX Errors, Warnings, and Notices   3-3
Non-Debugging Version   3-5
Errors   3-6
Warnings   3-10
Debugging Version   3-13
Errors   3-14
Warnings   3-25
Notices   3-27
Using Errors, Warnings, and Notices   3-30
Obtaining Errors, Warnings, and Notices   3-30
Changing the Error, Warning, or Notice Posted   3-35
Ignoring Warnings and Notices   3-37
Installing an Error, Warning, or Notice Handler   3-40
Errors, Warnings, and Notices Reference   3-42
Constants and Data Types   3-42
Errors   3-42
Warnings   3-50
Notices   3-53
Error, Warning, and Notice Number Ranges   3-55
Functions   3-56
Error Posting and Handling   3-56
Warning Posting and Handling   3-60
Notice Posting and Handling   3-66
Application-Defined Functions   3-72
Summary of Errors, Warnings, and Notices   3-75
Constants and Data Types   3-75
Functions   3-75
Application-Defined Functions   3-76
Chapter 4   QuickDraw GX Debugging   4-1
About QuickDraw GX Debugging   4-3
Debugging Version of QuickDraw GX   4-5
QuickDraw GX Errors, Warnings, and Notices   4-5
Application-Defined Error, Warning, and Notice Handlers   4-5
The Drawing Error Function   4-6

Reading notes: Source appears to be a table of contents fragment; no headline or advertised products are present. Reading order and page numbers are fragmented across the extracted lines.

Languages: English

[Original PDF page 5](https://www.vintageapple.net/files/6a5f8e15670da19f0896d43a973d04456b5a48b928b31ecf4313fe8fb0c88c0a/inside-macintosh-quickdraw-gx-environment-and-utilities-1994-06-original.pdf#page=5)

### PDF page 6

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-qd-gx-environment-utils-1994-f079f7/1#scan-26c94246367c01dfdcc6242c200092b85293551dbe354a565775b50192c379e9)

Transcribed text:

vi
Validation Functions   4-6
MacsBug and GraphicsBug   4-7
Using QuickDraw GX Debugging   4-8
Analyzing Drawing Problems   4-8
Using Validation Functions   4-15
Controlling Validation   4-15
Validating Objects   4-20
Analyzing the Cause of Validation Errors   4-21
Distinguishing Between Application Bugs and QuickDraw GX
Bugs   4-22
Detecting Corrupted Objects   4-22
Debugging With GraphicsBug   4-23
Analyzing a Picture Shape   4-25
QuickDraw GX Debugging Reference   4-28
Constants and Data Types   4-28
Drawing Errors   4-29
Validation Levels   4-31
Functions   4-33
Obtaining Drawing Errors   4-33
Setting and Getting Validation Options and Errors   4-34
Validating Objects   4-36
Summary of QuickDraw GX Debugging   4-44
Constants and Data Types   4-44
Functions   4-47
Chapter 5   Collection Manager   5-1
About the Collection Manager   5-5
Collection Objects   5-5
Collection Items   5-8
Collection Attributes   5-9
Methods of Identifying Collection Items   5-11
Using the Collection Manager   5-12
Determining Whether the Collection Manager Is Available   5-13
Creating or Disposing of a Collection   5-14
Cloning or Copying a Collection   5-14
Changing the Default Attributes of a Collection   5-15
Adding Items to a Collection   5-17
Determining the Collection Index of an Item   5-19
Determining the Tag and ID of an Item   5-21
Determining the Size of an Item’s Variable-Length Data   5-22
Getting and Setting the Attributes of an Item   5-24
Replacing Items in a Collection   5-28
Removing Items From a Collection   5-30
Retrieving the Variable-Length Data From an Item   5-33
Examining the Collection Tags of a Collection   5-35

Languages: English

[Original PDF page 6](https://www.vintageapple.net/files/6a5f8e15670da19f0896d43a973d04456b5a48b928b31ecf4313fe8fb0c88c0a/inside-macintosh-quickdraw-gx-environment-and-utilities-1994-06-original.pdf#page=6)

### PDF page 7

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-qd-gx-environment-utils-1994-f079f7/1#scan-e36fa67c208319f06e117fd593382f64427b49cb31c69ab6e10125e622f2b8ff)

Transcribed text:

vii
Flattening and Unflattening a Collection   5-37
Reading Collections From and Writing Collections to Disk   5-41
Reading a Collection From a Collection Resource   5-44
Installing an Exception Procedure   5-45
Collection Manager Reference   5-48
Data Types   5-48
Collection Objects   5-48
Collection Tags   5-49
Optional Return Value Constants   5-49
Attributes Masks   5-49
Attribute Bit Numbers   5-50
Attribute Bit Masks   5-52
Functions   5-53
Creating and Disposing of Collection Objects   5-53
Cloning and Copying Collection Objects   5-55
Getting and Setting the Exception Procedure for a Collection   5-58
Getting and Setting the Default Attributes for a Collection   5-60
Adding and Replacing Items in a Collection   5-62
Removing Items From a Collection   5-65
Counting Items in a Collection   5-69
Retrieving the Variable-Length Data From an Item   5-70
Getting Information About a Collection Item   5-76
Editing Item Attributes   5-82
Getting Information About Collection Tags   5-85
Flattening and Unflattening a Collection   5-88
Working With Macintosh Memory Manager Handles   5-92
Reading Collections From Resource Files   5-98
Application-Defined Functions   5-100
Resources   5-102
The Collection Resource   5-102
Summary of the Collection Manager   5-104
Data Types   5-104
Functions   5-106
Application-Defined Functions   5-110
Resources   5-110
Chapter 6   Message Manager   6-1
About the Message Manager   6-4
Message Terminology   6-6
Global Data Storage for Printing Extensions and Printer Drivers   6-7
Message Sending and Forwarding   6-7
Using the Message Manager   6-8
Determining the Version of the Message Manager   6-8
Allocating Memory for and Disposing of Global Data   6-8
Setting and Getting Global Data for a Single Handler Instance   6-10

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

Languages: English

[Original PDF page 7](https://www.vintageapple.net/files/6a5f8e15670da19f0896d43a973d04456b5a48b928b31ecf4313fe8fb0c88c0a/inside-macintosh-quickdraw-gx-environment-and-utilities-1994-06-original.pdf#page=7)

### PDF page 8

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-qd-gx-environment-utils-1994-f079f7/1#scan-16089ddd3dce05d019d50d2edf0bb14017e9c434ecddaf978275505f86deb172)

Transcribed text:

viii
Setting and Getting Global Data for Multiple Handler Instances   6-12
Sending and Forwarding Messages   6-15
Message Manager Reference   6-16
Constants and Data Types   6-16
Message Manager Gestalt Selector   6-16
Message Globals Initiatialization Procedure   6-16
Functions   6-17
Allocating Memory for and Disposing of Global Data   6-17
Setting and Getting Global Data for a Single Handler Instance   6-19
Setting and Getting Global Data for Multiple Handler Instances   6-21
Sending and Forwarding Messages   6-22
Driver- or Extension-Defined Functions   6-26
Summary of the Message Manager   6-27
Constants and Data Types   6-27
Functions   6-27
Application-DefinedFunctions   6-28
Chapter 7   QuickDraw GX Stream Format   7-1
About QuickDraw GX Stream Format   7-5
Characteristics   7-6
Stream Design   7-7
Operation Opcode Byte   7-10
Operation Opcode   7-10
Record Size   7-11
Data Type Opcode Byte   7-13
Compression Type Opcode   7-13
Data Type Opcode   7-15
Data   7-22
Omit Byte Masks and Omit Byte Shifts   7-22
Header Data   7-27
New Shape Object Data   7-28
Modified Shape Object Data   7-34
New Style Object Data   7-35
Modified Style Object Data   7-36
New Ink Object Data   7-43
Modified Ink Object Data   7-43
New Object Transform Data   7-45
Modified Transform Object Data   7-45
New Color Profile Object Data   7-47
Modified Color Profile Object Data   7-47
New Color Set Object Data   7-48
Modified Color Set Object Data   7-48
New Tag Object Data   7-49
New Bit Image Object Data   7-49

Reading notes: Source appears to be a table of contents excerpt; 'Initiatialization' may be a typo in the printed copy 'Application-DefinedFunctions' and 'Driver- or Extension-Defined Functions' lack spacing in the printed copy

Languages: English

[Original PDF page 8](https://www.vintageapple.net/files/6a5f8e15670da19f0896d43a973d04456b5a48b928b31ecf4313fe8fb0c88c0a/inside-macintosh-quickdraw-gx-environment-and-utilities-1994-06-original.pdf#page=8)

### PDF page 9

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-qd-gx-environment-utils-1994-f079f7/1#scan-aaf3336f1640f4c594fd544199f3251fc361e2b7cd839148994d5ad7df6606ab)

Transcribed text:

ix
New Font Name Data   7-50
New Trailer Object Data   7-51
About Print Files and Portable Digital Documents   7-51
Print Files   7-51
Portable Digital Documents   7-53
Using QuickDraw GX Stream Format   7-53
Flattening Shapes With GraphicsBug   7-54
Analyzing the Data Streams of Flattened Shapes   7-56
Creating a Picture With Seven Shapes   7-56
Analyzing a Flattened Line Shape   7-60
Analyzing a Flattened Rectangle Shape   7-64
Analyzing a Flattened Curve Shape   7-67
Analyzing a Flattened Path Shape   7-69
Analyzing a Flattened Text Shape   7-72
Analyzing a Flattened Polygon Shape   7-79
Analyzing a Flattened Bitmap Shape   7-81
Obtaining Data From a Print File   7-89
QuickDraw GX Stream Format Reference   7-91
Opcode Constants and Data Types   7-91
Operation Opcode Byte   7-91
Data Type Opcode Byte   7-92
Generic Data Opcode   7-92
Bit Image Compression Opcode Byte   7-93
Modified Shape Data Opcodes   7-93
Modified Style Data Opcodes   7-94
Modified Ink Data Opcodes   7-96
Modified Color Set Data Opcodes   7-96
Modified Color Profile Data Opcodes   7-97
Modified Transform Data Opcodes   7-97
Bit Image Compression Opcodes   7-98
Flatten Header Bytes   7-98
Style Object Omit Byte Constants and Data Types   7-99
Dash Style Omit Byte Masks and Shifts   7-99
Pattern Style Omit Byte Masks and Shifts   7-101
Join Style Omit Byte Masks and Shifts   7-103
Cap Style Omit Byte Masks and Shifts   7-104
Text Face Style Omit Byte Masks and Shifts   7-105
Face Layer Omit Byte Masks and Shifts   7-106
Ink Object Omit Byte Constants and Data Types   7-108
Colors Omit Byte Masks and Shifts   7-108
Transfer Omit Byte Masks and Shifts   7-110
Transfer Component Omit Byte Masks and Shifts   7-112
Shape Object Omit Byte Constants and Data Types   7-115
Path Shape Omit Byte Masks and Shifts   7-115
Bitmap Shape Omit Byte Masks and Shifts   7-116
Bit Image Omit Byte Masks and Shifts   7-120
Text Shape Omit Byte Masks and Shifts   7-121

Reading notes: Source appears to be a table of contents fragment with no primary heading; headline set to null.

Printed product names: QuickDraw GX · GraphicsBug

Languages: English

[Original PDF page 9](https://www.vintageapple.net/files/6a5f8e15670da19f0896d43a973d04456b5a48b928b31ecf4313fe8fb0c88c0a/inside-macintosh-quickdraw-gx-environment-and-utilities-1994-06-original.pdf#page=9)

### PDF page 10

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-qd-gx-environment-utils-1994-f079f7/1#scan-8629aac0b76d35be30013d3da2242de07e0cde353e0d63ecac549c0c6b36e8bb)

Transcribed text:

x
Glyph Shape Omit Byte Masks and Shifts   7-122
Layout Shape Omit Byte Masks and Shifts   7-125
Picture Shape Omit Byte Masks and Shifts   7-129
QuickDraw GX Stream Format Summary   7-131
Opcode Constants and Data Types   7-131
Style Object Omit Byte Constants and Data Types   7-134
Ink Object Omit Byte Constants and Data Types   7-137
Shape Object Omit Byte Constants and Data Types   7-139
Chapter 8   QuickDraw GX Mathematics   8-1
About QuickDraw GX Mathematics   8-5
Number Formats   8-5
Integer Formats   8-6
Floating-Point Formats   8-6
Fixed-Point Formats   8-6
Working With Bias in Fixed-Point Operations   8-7
Number-Conversion Macros   8-8
Mathematical Functions   8-9
Operations on Fixed, long, and fract Numbers   8-9
Operations on wide Numbers   8-10
Vector Operations   8-10
Cartesian and Polar Coordinate Conversion   8-10
Random Number Generation   8-11
Roots of Linear and Quadratic Equations   8-12
Bit Analysis   8-12
Transformation Operations With Mappings   8-12
Characteristics of a Mapping   8-15
Translation by a Relative Amount   8-17
Translation to a Specified Point   8-18
Scaling   8-20
Rotation   8-22
Skewing   8-24
Perspective   8-26
Using QuickDraw GX Mathematics   8-26
Converting Number Formats   8-26
Performing Fixed-Point Operations   8-27
Converting Between Cartesian and Polar Coordinates   8-29
Performing Vector Operations   8-29
Shifting the Bits of a wide Number   8-31
Determining the Highest Order Bit of a wide Number   8-32
Generating Random Numbers   8-33
Analyzing the Bits in a Number   8-33
Resetting a Mapping   8-34

Reading notes: Source is a table of contents listing chapter and section headings with page numbers; no advertised products, prices, or dates appear.

Languages: English

[Original PDF page 10](https://www.vintageapple.net/files/6a5f8e15670da19f0896d43a973d04456b5a48b928b31ecf4313fe8fb0c88c0a/inside-macintosh-quickdraw-gx-environment-and-utilities-1994-06-original.pdf#page=10)

### PDF page 11

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-qd-gx-environment-utils-1994-f079f7/1#scan-d79492429a20c20ef500e6b7c33e97859b2edd5bc7c3c08c3ccf89de97f28c80)

Transcribed text:

xi
QuickDraw GX Mathematics Reference   8-35
Constants and Data Types   8-35
Number Formats and Constants   8-35
The Mapping Structure   8-36
Number-Conversion Macros   8-36
Format Conversions   8-36
Rounding, Truncating, and Square Root Operations   8-41
Mathematical Functions   8-42
Fixed-Point Operations   8-42
Operations on wide Numbers   8-49
Vector Operations   8-54
Cartesian and Polar Coordinate Point Conversions   8-56
Random Number Generation   8-58
Linear and Quadratic Roots   8-60
Bit Analysis   8-62
Mapping Functions   8-62
Manipulating and Applying Mappings   8-63
Modifying Mappings   8-67
Summary of QuickDraw GX Mathematics   8-73
Constants and Data Types   8-73
Number-Conversion Macros   8-74
Mathematical Functions   8-74
Mapping Functions   8-76
Glossary   GL-1
Index   IN-1

Reading notes: Source is a table of contents with page numbers; no advertised products, prices, or dates are present.

Languages: English

[Original PDF page 11](https://www.vintageapple.net/files/6a5f8e15670da19f0896d43a973d04456b5a48b928b31ecf4313fe8fb0c88c0a/inside-macintosh-quickdraw-gx-environment-and-utilities-1994-06-original.pdf#page=11)

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