XMConvertFloatToHalfStream
XMConvertHalfToFloatStream
XMMatrixDecompose
XMPlaneTransformStream
XMVector2TransformCoordStream
XMVector2TransformNormalStream
XMVector2TransformStream
XMVector3ProjectStream
XMVector3TransformCoordStream
XMVector3TransformNormalStream
XMVector3TransformStream
XMVector3UnprojectStream
XMVector4TransformStream
Expand Minimize

D2D1ConvertColorSpace function

Converts the given color from one colorspace to another.

Syntax


D2D1_COLOR_F WINAPI D2D1ConvertColorSpace(
  D2D1_COLOR_SPACE sourceColorSpace,
  D2D1_COLOR_SPACE destinationColorSpace,
  _In_  const D2D1_COLOR_F *color
);

Parameters

sourceColorSpace

Type: D2D1_COLOR_SPACE

The source color space.

destinationColorSpace

Type: D2D1_COLOR_SPACE

The destination color space.

color [in]

Type: const D2D1_COLOR_F*

The source color.

Return value

Type: D2D1_COLOR_F

The converted color.

Remarks

Windows Phone 8.1: This API is supported.

Requirements

Header

D2d1_1.h

 

 

Community Additions

ADD
Show:
© 2015 Microsoft