previous chapter contents page top page next chapter

Zoomer

February 29, 1996

inherits from Object;

Class Description

When the user touches some viewables, Magic Cap uses a visual effect of animated zooming windows to draw the user's eye to a particular viewable or location. For example, when the user touches a minicard, Magic Cap draws zooming rectangles as the card fills the screen. Magic Cap defines class Zoomer with an intrinsic operation to perform this animation.

Programming information

Instantiate: never
Subclass: never
Call its methods: sometimes

You'll never create an object or subclass of Zoomer. If you want to create zooming rectangles, you can call the intrinsic operation ZoomBoxToBox.

Methods defined by class Zoomer

Class Zoomer defines the following method:

Method Description
ZoomBoxToBox Draw zooming rectangle animation.

Fields defined by class Zoomer

Class Zoomer defines no fields.

Method Descriptions

ZoomBoxToBox

intrinsic ZoomBoxToBox(smallBox: Box; bigBox: Box; startAtSmall: 
Boolean)

Call: sometimes
Override: rarely

Call ZoomBoxToBox to create a zooming rectangle animation. ZoomBoxToBox draws frames that vary in size from smallBox to bigBox. If startAtSmall is false, the frames will zoom from bigBox to smallBox.