beautypg.com

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

Page 553

background image

C H A P T E R 1 3

Drawing and Graphics

Summary of Drawing

13-27

IsPtInRect(

x

,

y

,

bounds

)

FitToBox(

sourceBox

,

boundingBox

,

justify

)

OffsetRect(

rect

,

deltaX

,

deltaY

)

SectRect(

rect1

,

rect2

)

UnionRect(

rect1

,

rect2

)

RectsOverlap

(

rect1

,

rect2

)

Utility Functions

13

view:

DoDrawing(

drawMethodSym

,

parameters

)

view:

CopyBits(

picture

,

x

,

y

,

mode

)

DrawXBitmap(

bounds

,

picture

,

index

,

mode

)

view:

LockScreen(

lock

)

IsPrimShape(

shape

)

PointsToArray(

polygonShape

)

ArrayToPoints(

pointsArray

)