/// <summary> /// Draw the given image on this image. /// </summary> /// <param name="srcData">The image to draw</param> /// <param name="destX">The X position on this image.</param> /// <param name="destY">The Y position on this image.</param> /// <param name="srcX">The X position on the source image.</param> /// <param name="srcY">The Y position on the source image.</param> /// <param name="srcWidth">The width of the source image to draw.</param> /// <param name="srcHeight">The height of the source image to draw.</param> public void Draw(ImageData srcData, int destX, int destY, int srcX, int srcY, int srcWidth, int srcHeight) { Draw(srcData.Data, destX, destY, srcX, srcY, srcWidth, srcHeight); }
/// <summary> /// Draw the given image on this image. /// </summary> /// <param name="srcData">The image to draw</param> /// <param name="destX">The X position on this image.</param> /// <param name="destY">The Y position on this image.</param> public void Draw(ImageData srcData, int destX, int destY) { Draw(srcData.Data, destX, destY); }