IDCompositionScaleTransform

IDCompositionScaleTransform interface

Represents a 2D transformation that affects the scale of a visual along the x-axis and y-axis. The coordinate system is scaled from the specified center point.

When to implement

Client applications do not implement IDCompositionScaleTransform; custom implementations are not supported.

Members

The IDCompositionScaleTransform interface inherits from IDCompositionTransform. IDCompositionScaleTransform also has these types of members:

Methods

The IDCompositionScaleTransform interface has these methods.

MethodDescription
SetCenterX Overloaded.

Changes or animates the value of the CenterX property of a 2D scale transform.

SetCenterY Overloaded.

Changes or animates the value of the CenterY property of a 2D scale transform.

SetScaleX Overloaded.

Changes or animates the value of the ScaleX property of a 2D scale transform.

SetScaleY Overloaded.

Changes or animates the value of the ScaleY property of a 2D scale transform.

 

Remarks

A scale transform represents the following 3-by-3 matrix:

Three-by-three scale matrix

The effect is to scale the coordinate system up or down and apply the corresponding translation such that the center point does not move.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Dcomp.h

Library

Dcomp.lib

DLL

Dcomp.dll

See also

IDCompositionTransform
IDCompositionVisual::SetTransform

 

 

Community Additions

ADD
Show:
© 2016 Microsoft