Beispiel #1
0
 public GDIBrush(int Style, Color color)
 {
     hBrush = NativeGdi32Api.CreateHatchBrush(Style, NativeUser32Api.ColorToInt(color));
     Create();
 }
Beispiel #2
0
 public GDIPen(Color color, int width)
 {
     hPen = NativeGdi32Api.CreatePen(0, width, NativeUser32Api.ColorToInt(color));
     Create();
 }
Beispiel #3
0
 public GDIBrush(Color color)
 {
     hBrush = NativeGdi32Api.CreateSolidBrush(NativeUser32Api.ColorToInt(color));
     Create();
 }