GetBrushOrg

Syntax

DWORD GetBrushOrg(hDC)

This function retrieves the current brush origin for the given device context.

Parameter Type/Description  

hDC HDC Identifies the device context.  

Return Value

The return value specifies the current origin of the brush. The x-coordinate is in the low word, and the y-coordinate is in the high word. The coordinates are assumed to be in device units.

Comments

The initial brush origin is at the coordinate (0,0).