get_brush_origin


bool get_brush_origin(handle device,
                      ipoint* origin)

This function obtains the current origin of the brush.

Parameters

handle device

The handle of the device context.

ipoint* origin

A pointer to a variable that is updated to contain the current brush origin for the device context.

Return

bool

true The function succeeded.
false The call failed.