Title Banner

Previous Book Contents Book Index Next

Newton Developer Technical Information: Newton Programmer's Guide: 2.1 OS Addendum /
Chapter 2 - Newton Works Draw Application / Draw Application Reference


Data Structures

This section describes the canvas view.

The Canvas

The canvas is the view in which all drawing takes place. You can get a reference to the canvas with the Draw application's viewDef *GetCanvas method. It has one slot of interest:

Slot Descriptions

currentDrawStyle
The current (default) drawing style.
The canvas's methods are described in the following sections.


Subtopics
The Canvas
AddShape
AddShapeToSelection
ClearSelection
SelectAll
GetSelectedShapes
DirtyShape
EditGroup
EditUnGroup
EditCopy
EditCut
EditPaste
EditDelete
EditDuplicate
EditUndo

Previous Book Contents Book Index Next

© Apple Computer, Inc.
26 APR 1997



Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help