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 /


MungeShape

MungeShape(shape, action, style)

Flips a shape, or rotates it to the right.

shape
A shape or shape array.

action
On of the following symbols: 'rotateRight, 'flipHorizontal, or 'flipVertical.

style
Style frame to use if shape must be converted to a bitmap.

return value
A shape or shape array.

DISCUSSION

This function modifies the shape in-place, unless the shape is unmodifiable. In that case, it will create a bitmap that looks like the shape, and operate on the new bitmap.

SPECIAL CONSIDERATIONS

You cannot use the 'rotateRight or 'flipHorizontal options, with bitmap shapes of bit depth greater than 1.

SEE ALSO

For an example use of this function, see "The MungeShape Function".


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