示例#1
0
 private static extern int FillRect(IntPtr hdc, [In] ref GDIRect lprc, IntPtr hbr);
示例#2
0
        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);
        }
示例#3
0
        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);
        }
示例#4
0
 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);
 }
示例#5
0
		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);
		}