CDC::SetBrushOrg
Visual Studio 2012
Specifies the origin that GDI will assign to the next brush that the application selects into the device context.
CPoint SetBrushOrg( int x, int y ); CPoint SetBrushOrg( POINT point );
The default coordinates for the brush origin are (0, 0). To alter the origin of a brush, call the UnrealizeObject function for the CBrush object, call SetBrushOrg, and then call the SelectObject member function to select the brush into the device context.
Do not use SetBrushOrg with stock CBrush objects.