DirectAnimation Animated Header --Matte DirectAnimation Animated Header --Matte* Microsoft DirectAnimation SDK
*Index  *Topic Contents
*Previous Topic: Button
*Next Topic: Opacity

Matte


This example displays a simple text matte. A matte is analagous to a stencil. In this example, the word "Matte" acts as the stencil, and an image (a SolidColorImage) with a time-varying color is clipped to fit it. An animated matte is also demonstrated. This uses a variety of transforms, including translation, rotation, shearing, and scaling. To see what each of these do, comment out all the transforms but one.

To see the source code, right-click the title above the button and choose View Source from the menu that appears.


© 1998 Microsoft Corporation. All rights reserved. Terms of Use.

*Top of Page