Share via


IXRSkewTransform::SetCenterY (Windows Embedded CE 6.0)

1/6/2010

This method sets the y-coordinate of the transform center.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetCenterY(
    float CenterY
) = 0;

Parameters

  • CenterX
    [in] A float value that indicates the new y-coordinate of the transform center.

Remarks

To skew an object in place, use this method and the IXRSkewTransform::SetCenterX method to set the transformation to the center point of the object.

You can offset the local origin point (0,0) for a UI element on an IXRCanvas container object by setting the attached properties Canvas.Left and Canvas.Top. However, this is not considered a transformation; the UI object keeps its own local origin point for transformation purposes.

The following illustration shows three skew transformations of a rectangle:

Ee503019.c38ea949-4f03-45a0-a4d6-9b98737f0663(en-US,WinEmbedded.60).jpg

.NET Framework Equivalent

System.Windows.Media.SkewTransform.CenterY

Requirements

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

See Also

Reference

IXRSkewTransform
IXRDoubleAnimation
IXRSkewTransform::GetCenterY