public MovingImageElement(dImage img, float top, float left)
        {
            Top = top;
            Left = left;

            Width = img.Width;
            Height = img.Height;

            curimg = img;
        }
Example #2
0
 public abstract void DrawImage(dImage image, float x, float y, int width, int height);
Example #3
0
 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);
 }