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