Share via


IXRTransform (Windows Embedded CE 6.0)

1/6/2010

This class defines transformations in a two-dimensional plane on the graphical window.

Syntax

class IXRTransform : public IXRGeneralTransform

Methods

This class provides no new methods. It inherits its methods from IXRGeneralTransform.

Remarks

Transformations define a visual effect for an object, such as rotation, scaling, skewing, and positioning translation. When you use a transformation, you do not have to modify an IXRMatrix directly. Unlike IXRMatrix, IXRTransform supports animation and enumeration semantics.

For Silverlight methods that retrieve or set an IXRTransform, you must specify a derived class. Typically, this is one of the following classes: IXRMatrixTransform, IXRRotateTransform, IXRScaleTransform, IXRSkewTransform, IXRTransformGroup, and IXRTranslateTransform.

When you create an object derived from IXRTransform and associate it with a UI object derived from classes such as IXRBrush, IXRGeometry, or IXRUIElement, you can change its properties during run-time by calling its methods inside an event handler.

You can use the IXRMatrixTransform class to create custom transformations that are not provided by the other derived classes.

A two-dimensional x,y plane on a graphical window uses a matrix with 3 × 3 dimensions. You can multiply affine transformation matrices to form linear transformations, such as rotation and skew transformations that are followed by positioning translation.

The final column of an affine transformation matrix is equal to (0, 0, 1). Therefore, you only have to specify the members in the first two columns.

You cannot extract the matrix-specific information from non-matrix transformations.

Inheritance Hierarchy

IXRDependencyObject

    IXRGeneralTransform

        IXRTransform

            IXRMatrix

            IXRRotateTransform

            IXRScaleTransform

            IXRSkewTransform

            IXRTransformGroup

            IXRTranslateTransform

.NET Framework Equivalent

System.Windows.Media.Transform

Requirements

Header XamlRuntime.h
sysgen SYSGEN_XAML_RUNTIME
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

Classes for Visual Appearance and Behavior