ID2D1DeviceContext5::CreateColorContextFromSimpleColorProfile method
Creates a color context from a simple color profile. It is only valid to use this with the Color Management Effect in 'Best' mode.
Syntax
HRESULT CreateColorContextFromSimpleColorProfile(
[ref] const D2D1_SIMPLE_COLOR_PROFILE &simpleProfile,
[out] ID2D1ColorContext1 **colorContext
);
Parameters
- simpleProfile [ref]
-
Type: const D2D1_SIMPLE_COLOR_PROFILE
The simple color profile to create the color context from.
- colorContext [out]
-
Type: ID2D1ColorContext1**
The created color context.
Return value
Type: HRESULT
This method returns an HRESULT success or error code.
Requirements
|
Header |
|
|---|---|
|
DLL |
|
See also
Show: