Ejemplo n.º 1
0
 public static void FillRectangle(this DirectBitmap dbmp, Color c, Rectangle r)
 {
     FillRectangle(dbmp, c, r.X, r.Y, r.Width, r.Height);
 }
Ejemplo n.º 2
0
 public static void DrawLine(this DirectBitmap dbmp, Color c, Point p1, Point p2)
 {
     dbmp.DrawLine(c, p1.X, p1.Y, p2.X, p2.Y);
 }