Compartilhar via


CDC::GetBrushOrg

Retrieves the origin (in device units) of the brush currently selected for the device context.

CPoint GetBrushOrg( ) const;

Return Value

The current origin of the brush (in device units) as a CPoint object.

Remarks

The initial brush origin is at (0,0) of the client area. The return value specifies this point in device units relative to the origin of the desktop window.

Requirements

Header: afxwin.h

See Also

Reference

CDC Class

Hierarchy Chart

CDC::SetBrushOrg

CPoint Class

Other Resources

CDC Members