示例#1
0
文件: Gdi.cs 项目: xorkrus/vk_wm
 public BrushGdi SelectObject(BrushGdi brush)
 {
     return Win32.SelectObject(_hdc, (IntPtr)brush);
 }
示例#2
0
文件: Gdi.cs 项目: xorkrus/vk_wm
 public int FillRect(int x, int y, int w, int h, BrushGdi hbrush)
 {
     Win32.RECT rect = new Win32.RECT(x, y, w, h);
     return Win32.FillRect(_hdc, ref rect, (IntPtr)hbrush);
 }
示例#3
0
文件: Gdi.cs 项目: xorkrus/vk_wm
 public int FillRect(Rectangle rect, BrushGdi hbrush)
 {
     return FillRect(new Win32.RECT(rect), hbrush);
 }
示例#4
0
文件: Gdi.cs 项目: xorkrus/vk_wm
 public int FillRect(Win32.RECT rect, BrushGdi hbrush)
 {
     return Win32.FillRect(_hdc, ref rect, (IntPtr)hbrush);
 }