create_solid_brush


handle create_solid_brush(color color_solid)

This function creates a brush of a given color.

Parameters

color color_solid

The color of the brush being created.

Return

handle

The handle of the brush of null if an error occurred.

Notes

Image color management is performed only when the brush is selected into a device context.

The brush may be destroyed using the function delete_object.