Partager via


IXRCompositeTransform::GetSkewX (Compact 2013)

3/28/2014

This method retrieves the x-axis skew angle, which is measured in degrees counterclockwise from the y-axis. A skew transform can be useful for creating the illusion of three-dimensional depth in a two-dimensional object.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetSkewX(
    __out float* pSkewX
) = 0;

Parameters

  • pSkewX
    [out] Pointer to a float value that indicates the skew angle, which is measured in degrees counterclockwise from the y-axis. The default is 0.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

This property accepts negative values. Positive values are interpreted as counterclockwise skew. Negative values are interpreted as clockwise skew. For values less than -360 or greater than 360, the values wrap around and are treated as if the mathematical operation mod(360) was applied.

.NET Framework Equivalent

System.Windows.Media.CompositeTransform.SkewX

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRCompositeTransform