beautypg.com

Text and ink display functions and methods 8 – Apple Newton Programmer’s Newton 2.0 (for Newton 2.0) User Manual

Page 339

background image

C H A P T E R 8

Text and Ink Input and Display

Summary of Text

8-47

protoPhoneKeyboard

8

aprotoPhoneKeyboard:= {

_proto : protoPhoneKeyboard,

viewBounds:

boundsFrame

,

viewJustify:

constant

,

...

}

protoDateKeyboard

8

aprotoDateKeyboard:= {

_proto : protoDateKeyboard,

viewBounds:

boundsFrame

,

viewJustify:

constant

,

...

}

Text and Ink Display Functions and Methods

8

This section summarizes the functions and methods you can use to work with text
and ink in your applications.

Functions and Methods for Edit Views

8

view:

EditAddWordScript(

form, bounds

)

NotesText(

childArray

)

Functions and Methods for Measuring Text Views

8

TextBounds(

rStr, fontSpec, viewBounds

)

TotalTextBounds(

paraSpec

,

editSpec

)

Functions and Methods for Determining View Ink Types

8

AddInk(

edit

,

poly

)

ViewAllowsInk(

view

)

ViewAllowsInkWords(

view

)