ID2D1GradientStopCollection1::GetPreInterpolationSpace method

Gets the color space of the input colors as well as the space in which gradient stops are interpolated.

Syntax


D2D1_COLOR_SPACE GetPreInterpolationSpace();

Parameters

This method has no parameters.

Return value

Type: D2D1_COLOR_SPACE

This method returns the color space.

Remarks

If this object was created using ID2D1RenderTarget::CreateGradientStopCollection, this method returns the color space related to the color interpolation gamma.

Requirements

Minimum supported client

Windows 8 and Platform Update for Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | Windows Store apps]

Header

D2d1_1.h

DLL

D2d1.dll

See also

ID2D1GradientStopCollection1
ID2D1DeviceContext::CreateGradientStopCollection
ID2D1RenderTarget::CreateGradientStopCollection
ID2D1DeviceContext::CreateEffect

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.