beautypg.com

Apple Newton Programmer’s Newton 2.0 (for Newton 2.0) User Manual

Page 17

background image

xvii

Drawing Compatibility

13-8

New Functions

13-8

New Style Attribute Slots

13-8

Changes to Bitmaps

13-8

Changes to the HitShape Method

13-8

Changes to View Classes

13-9

Using the Drawing Interface

13-9

How to Draw

13-9

Responding to the ViewDrawScript Message

13-9

Drawing Immediately

13-10

Using Nested Arrays of Shapes

13-10

The Transform Slot in Nested Shape Arrays

13-11

Default Transfer Mode

13-12

Transfer Modes at Print Time

13-12

Controlling Clipping

13-12

Transforming a Shape

13-13

Using Drawing View Classes and Protos

13-14

Displaying Graphics Shapes and Ink

13-14

Displaying Bitmaps, Pictures, and Graphics Shapes

13-15

Displaying Pictures in a clEditView

13-15

Displaying Scaled Images of Other Views

13-15

Translating Data Shapes

13-16

Finding Points Within a Shape

13-16

Using Bitmaps

13-17

Making CopyBits Scale Its Output Bitmap

13-18

Storing Compressed Pictures and Bitmaps

13-18

Capturing a Portion of a View Into a Bitmap

13-18

Rotating or Flipping a Bitmap

13-19

Importing Macintosh PICT Resources

13-20

Drawing Non-Default Fonts

13-20

PICT Swapping During Run-Time Operations

13-21

Optimizing Drawing Performance

13-22

Summary of Drawing

13-23

Data Structure

13-23

View Classes

13-23

Protos

13-24

Functions and Methods

13-26