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 /


GrayShrink

view:GrayShrink(bitmap, style)

Anti-aliases a 1-bit pix family and renders it on the screen.

bitmap
A 1-bit pix family or bitmap graphic shape.

style
A style frame, as used by DrawShape. This frame should contain a transform slot representing a reduction in size, either horizontally, vertically, or both. The transform slot should contain two bounds frames, i.e. not two integers. You may pass nil for the source bounds frame, in which case, bitmap's bounds are used. You may also pass nil for the destination bounds, in which case the viewBounds slot is used.

return value
Undefined, do not rely on what this method returns.

DISCUSSION

If bitmap is not 1-bit, or if style does not have a transform slot representing a reduction in size, bitmap is still rendered on the screen, but not anti-aliased.


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