private static extern int FillRect(IntPtr hdc, [In] ref GDIRect lprc, IntPtr hbr);
public void FillRectangle(int x, int y, int w, int h) { var r = new GDIRect(new Rectangle(x, y, w, h)); FillRect(CurrentHdc, ref r, _currentBrush); }
public void FillRectangle(int x, int y, int w, int h) { var r = new GDIRect(new Rectangle(x, y, x + w, y + h)); FillRect(_hdc, ref r, _brush); }
public void FillRectangle(int x, int y, int w, int h) { var r = new GDIRect(new Rectangle(x, y, w, h)); FillRect(CurrentHDC, ref r, _currentBrush); }
public void FillRectangle(int x,int y, int w, int h) { var r = new GDIRect(new Rectangle(x, y, x + w, y + h)); FillRect(_hdc, ref r, _brush); }