In GDI+ you can do
Color::Green, Color::AliceBlue, etc, as listed here
I'm looking for a similar pre-baked color enumeration for D3DCOLOR structs from a DirectX header, but I don't know where one is.
In GDI+ you can do
Color::Green, Color::AliceBlue, etc, as listed here
I'm looking for a similar pre-baked color enumeration for D3DCOLOR structs from a DirectX header, but I don't know where one is.
It turns out if you just #include <gdiplus.h>
, the Color class defined therein is completely compatible with D3DCOLOR. So you can use the Color:: constants in GDIPlus when drawing with D3D.