XRColorInterpolationMode (Compact 2013)

3/28/2014

This enumeration describes how the colors in a gradient are interpolated.

Syntax

enum XRColorInterpolationMode{
    XRColorInterpolationMode_ScRgbLinearInterpolation=0,
    XRColorInterpolationMode_SRgbLinearInterpolation=1,
};

Members

  • XRColorInterpolationMode_ScRgbLinearInterpolation
    Colors are interpolated in the extended RGB color space (scRGB).
  • XRColorInterpolationMode_SRgbLinearInterpolation
    Colors are interpolated in the standard RGB color space (sRGB).

Remarks

The mapping mode stored in IXRGradientBrush::GetMappingMode also affects interpolation.

.NET Framework Equivalent

System.Windows.Media.ColorInterpolationMode

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

XAML for Windows Embedded Enumerations
IXRGradientBrush::GetColorInterpolationMode
IXRGradientBrush::SetColorInterpolationMode