get_device_context_brush_color


color get_device_context_brush_color(handle device)

This function obtains the color of the device context brush.

Parameters

handle device

The handle of the device context.

Return

color

The color of the device context brush (standard_brush::device) or error_returns::color if an error occurred.

Notes

Even when standard_brush::device is not selected, its color value is returned.

color management is performed when Image color Management is enabled.