MM Developer's Guide
MM Interfaces | MM Methods | MM Types and Misc API
IMoaMmChangeCollector
Interface ID: IID_IMoaMmChangeCollector
Pointer type: PIMoaMmChangeCollector
Inheritance: IMoaUnknown
Header file: mmiservc.h
Description
-
This interface is supplied by the host application as a parameter
to the IMoaMmXSpriteActor::CollectChanges() method. The Xtra uses methods in this interface to inform the
host application of areas in the playback window that need updating
when moving to the next frame of animation.
Methods
- AddChangeRect()
AddChangeRectAbove()
Syntax
- AddChangeRect(ConstPMoaRect pChangeRect)
Parameters
- pChangeRect
- Pointer to a ConstPMoaRect representing the area of change
Returns
-
- MoaError
Description
-
- Adds the change rectangle pChangeRect to the list of changed rectangles for the next frame of animation.
The rectangle may include a transparent border around an irregularly
shaped image.
Syntax
- AddChangeRectAbove(ConstPMoaRect pChangeRect)
Parameters
- pChangeRect
- Pointer to a ConstPMoaRect representing the area of change
Returns
-
- MoaError
Description
-
- Call this method instead of AddChangeRect() to inform the host application that
the pChangeRect rectangle is completely opaque in the sprite's image. Based on
this information, the host application may be able to optimize
the composition of the affected area by only drawing the sprite
calling this method and any sprites above it in the area of pChangeRect.
If you aren't sure the change rectangle is fully opaque, use AddChangeRect().
Copyright © 1995-2008 Adobe Macromedia Software LLC, Inc.