public MovingImageElement(dImage img, float top, float left) { Top = top; Left = left; Width = img.Width; Height = img.Height; curimg = img; }
public abstract void DrawImage(dImage image, float x, float y, int width, int height);
public override void DrawImage(dImage image, float x, float y, int width, int height) { dImage_GDI gdiImage = (dImage_GDI)image; g.DrawImage(gdiImage.ToGDI(), (int)x, (int)y, width, height); }