Beispiel #1
0
 public override void DrawImage(GraphicsHandler graphics, RectangleF source, RectangleF destination)
 {
     CopyTo(bmp, Rectangle.Truncate(source));
     bmp.DrawImage(graphics, source, destination);
 }
 public override void DrawImage(GraphicsHandler graphics, Rectangle source, Rectangle destination)
 {
     CopyTo(bmp, source);
     bmp.DrawImage(graphics, source, destination);
 }
Beispiel #3
0
 public abstract void DrawImage(GraphicsHandler graphics, Rectangle source, Rectangle destination);
Beispiel #4
0
 public virtual void DrawImage(GraphicsHandler graphics, int x, int y, int width, int height)
 {
     DrawImage(graphics, new Rectangle(new Point(0, 0), Size), new Rectangle(x, y, width, height));
 }
Beispiel #5
0
 public virtual void DrawImage(GraphicsHandler graphics, int x, int y)
 {
     DrawImage(graphics, x, y, Size.Width, Size.Height);
 }
Beispiel #6
0
 public virtual void DrawImage(GraphicsHandler graphics, float x, float y, float width, float height)
 {
     DrawImage(graphics, new RectangleF(PointF.Empty, Size), new RectangleF(x, y, width, height));
 }