IXRTransformGroup (Windows Embedded CE 6.0)
1/6/2010
This class represents a composite transformation object that is composed of other objects derived from IXRTransform.
Syntax
class IXRTransformGroup : public IXRTransform
Methods
Method | Description |
---|---|
Retrieves the collection of child objects. |
|
Retrieves the IXRMatrix structure calculated by Silverlight for Windows Embedded that describes the transformationIXRTransformGroup. |
|
Sets the collection of child objects. |
Remarks
When you want to apply multiple transformation operations to a single object, use an IXRTransformGroup object, which contains an IXRTransformCollection collection of children objects.
In a composite transformation, the order of individual transformations is important. For example, if you first rotate, then scale, then translate, the result is different than if you first translate, then rotate, then scale. Order is significant in part because transformations like rotation and scaling are performed with respect to the origin of the coordinate system. Scaling or rotating an object that is centered at the origin produces a different result than scaling or rotating an object that is moved away from the origin.
To define the order in which transformations are applied, you can use the inherited IXRCollection<In_T, Out_T>::Insert method to define an index for adding objects to the IXRTransformCollection. Or you can add each IXRTransform object to the collection in the order in which they should be applied by using IXRCollection<In_T, Out_T>::Add.
You can also define a composite transformation in Microsoft Silverlight 2 XAML. For information about the differences between XAML in Silverlight for Windows Embedded and Silverlight 2, see Differences Between Silverlight for the Web and Silverlight for Windows Embedded. For more information about how to define this element in the source XAML for your application, see this Microsoft Web site.
Inheritance Hierarchy
IXRTransformGroup
.NET Framework Equivalent
System.Windows.Media.TransformGroup
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