public void DrawImage(Image image, float x, float y, float width, float height) { SetOffset(true); var bmp = image.ToDx(Control); Control.DrawBitmap(bmp, new s.RectangleF(x, y, width, height), 1f, ImageInterpolation.ToDx()); }
public void DrawImage(Image image, float x, float y, float width, float height) { SetOffset(true); var bmp = image.ToDx(Control, Size.Ceiling(CurrentTransform.TransformSize(new SizeF(width, height)))); Control.DrawBitmap(bmp, new s.RectangleF(x, y, width, height), 1f, ImageInterpolation.ToDx()); }
public void DrawImage(Image image, float x, float y) { var bmp = image.ToDx(Control); Control.DrawBitmap(bmp, new s.RectangleF(x, y, bmp.Size.Width, bmp.Size.Height), 1f, ImageInterpolation.ToDx()); }
public void DrawImage(Image image, float x, float y) { SetOffset(true); var bmp = image.ToDx(Control); if (bmp != null) { Control.DrawBitmap(bmp, new s.RectangleF(x, y, bmp.Size.Width, bmp.Size.Height), 1f, ImageInterpolation.ToDx()); } }