Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Converts GDI color and alpha values to the D2D1_COLOR_F object.
static D2D1_COLOR_F COLORREF_TO_D2DCOLOR(
COLORREF color,
int nAlpha = 255
);
Parameters
color
RGB value.nAlpha
Return Value
D2D1_COLOR_F value.
Requirements
Header: afxrendertarget.h