Windows Dev Center

ID2D1ColorContext interface

Represents a color context that can be used with an ID2D1Bitmap1 object.

When to implement

Custom implementations are not supported.

Members

The ID2D1ColorContext interface inherits from ID2D1Resource. ID2D1ColorContext also has these types of members:

Methods

The ID2D1ColorContext interface has these methods.

MethodDescription
GetColorSpace

Gets the color space of the color context.

GetProfile

Gets the color profile bytes for an ID2D1ColorContext.

GetProfileSize

Gets the size of the color profile associated with the bitmap.

 

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]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

D2d1_1.h

DLL

D2d1.dll

See also

ID2D1Resource
ID2D1Bitmap1

 

 

Community Additions

ADD
Show:
© 2015 Microsoft