Andwho.Windows.Helper.DrawHelper.DrawImage C# (CSharp) Method

DrawImage() public static method

public static DrawImage ( Graphics g, Image image, int x1, int y1, int width1, int height1, int x2, int y2, int width2, int height2 ) : void
g System.Drawing.Graphics
image Image
x1 int
y1 int
width1 int
height1 int
x2 int
y2 int
width2 int
height2 int
return void
        public static void DrawImage(Graphics g, Image image, int x1, int y1, int width1, int height1, int x2, int y2, int width2, int height2)
        {
            g.DrawImage(image, new Rectangle(x1, y1, width1, height1), x2, y2, width2, height2, GraphicsUnit.Pixel);
        }