Exemple #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);
 }
Exemple #3
0
 public abstract void DrawImage(GraphicsHandler graphics, Rectangle source, Rectangle destination);
Exemple #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));
 }
Exemple #5
0
 public virtual void DrawImage(GraphicsHandler graphics, int x, int y)
 {
     DrawImage(graphics, x, y, Size.Width, Size.Height);
 }
Exemple #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));
 }