次の方法で共有


IXRBrush::SetRelativeTransform (Compact 2013)

3/28/2014

This method sets the transformation to apply to this brush by using relative coordinates.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetRelativeTransform(
    IXRTransform* pRelativeTransform
) = 0;

Parameters

  • pRelativeTransform
    [in] Pointer to an IXRTransform-derived object that describes the new transformation to apply to this brush by using relative coordinates.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

This method is especially useful when you want to rotate, skew, or otherwise transform a brush about its center, and you do not know the size of the area painted with the brush, or you are using the same brush to paint different areas with different sizes.

.NET Framework Equivalent

System.Windows.Media.Brush.RelativeTransform

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRBrush
IXRBrush::GetRelativeTransform