Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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.

Requirements

Header

D2d1_1.h

Library

D2D1.lib

DLL

D2D1.dll

 

 

Show:
© 2017 Microsoft