Exemplo n.º 1
0
Arquivo: Gdi.cs Projeto: xorkrus/vk_wm
 public BrushGdi SelectObject(BrushGdi brush)
 {
     return Win32.SelectObject(_hdc, (IntPtr)brush);
 }
Exemplo n.º 2
0
Arquivo: Gdi.cs Projeto: 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);
 }
Exemplo n.º 3
0
Arquivo: Gdi.cs Projeto: xorkrus/vk_wm
 public int FillRect(Rectangle rect, BrushGdi hbrush)
 {
     return FillRect(new Win32.RECT(rect), hbrush);
 }
Exemplo n.º 4
0
Arquivo: Gdi.cs Projeto: xorkrus/vk_wm
 public int FillRect(Win32.RECT rect, BrushGdi hbrush)
 {
     return Win32.FillRect(_hdc, ref rect, (IntPtr)hbrush);
 }