XRBrushMappingMode (Compact 2013)

3/28/2014

This enumeration specifies the coordinate system that is used by an IXRBrush object.

Syntax

enum XRBrushMappingMode
{
    XRBrushMappingMode_Absolute=0,
    XRBrushMappingMode_RelativeToBoundingBox=1,
};

Members

  • XRBrushMappingMode_Absolute
    The coordinate system is not relative to a bounding box. Values are interpreted directly in local space.
  • XRBrushMappingMode_RelativeToBoundingBox
    The coordinate system is relative to a bounding box. The point (0,0) describes the upper-left corner, and (1,1) describes the lower-right corner of the bounding box.

Remarks

The bounding box for the XRBrushMappingMode_RelativeToBoundingBox value depends on the object using the gradient that has the mapping mode set.

.NET Framework Equivalent

System.Windows.Media.BrushMappingMode

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

XAML for Windows Embedded Enumerations
IXRGradientBrush::GetMappingMode
IXRGradientBrush::SetMappingMode