次の方法で共有


IXRGeneralTransform (Compact 2013)

3/28/2014

This base class provides generalized support for applying transformations to UI elements, such as points and rectangles.

Syntax

class IXRGeneralTransform : public IXRDependencyObject

Inheritance Hierarchy

IXRDependencyObject

    IXRGeneralTransform

        IXRTransform

            IXRMatrix

            IXRRotateTransform

            IXRScaleTransform

            IXRSkewTransform

            IXRTransformGroup

            IXRTranslateTransform

Methods

Method

Description

IXRGeneralTransform::Transform

Transforms the specified x-y coordinate, and returns the target x-y coordinate.

IXRGeneralTransform::TransformBounds

Transforms the specified bounding box and returns an axis-aligned bounding box that is exactly large enough to contain it.

Thread Safety

Members of this class are thread-safe if you previously called IXRApplication::CreateHostFromXaml and supplied it with an XRWindowCreateParams structure that has AllowsMultipleThreadAccess set to true.

Remarks

A transform defines how to map points from one coordinate space into another coordinate space. Transforms can be used to produce effects such as rotation, scaling, and skewing. Typically, an application developer uses one of the derived classes to transform an object.

If you create a class instance, use an IXRGeneralTransformPtr smart pointer instead of a raw interface pointer. For more information, see XRPtr<Interface>.

.NET Framework Equivalent

System.Windows.Media.GeneralTransform

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

Classes for Visual Appearance