Title Banner

Previous Book Contents Book Index Next

Newton Developer Technical Information: Newton Programmer's Guide: 2.1 OS Addendum /
Chapter 6 - Drawing and Graphics 2.1 / Drawing and Graphics Reference
Functions and Methods /


PictToShape

PictToShape(pict, bounds)

Converts a picture binary object and returns an array of shapes that will produce the same bits on the screen.

pict
The PICT binary object to convert.

bounds
A bounds frame for the rectangle you would like pict to be imaged into. If you pass nil, it uses the bounds stored in the PICT (which is the normal thing to do).

return value
A shape or shape array.

DISCUSSION

Unlike *MakeShape, this function creates an array of shapes for the individual drawing commands that comprise the PICT object. For a discussion of this, see the note on page 6-13.


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