public void SetBrushOrg(int x, int y) { APIPoint p; p.x = 0; p.y = 0; NativeMethods.SetBrushOrgEx(mhDC, x, y, ref p); } }