Код: Выделить всё
private static void InvCopy(Graphics g, Rectangle source, Point destination)
{
Bitmap copiedImg = new Bitmap(source.Width, source.Height);
using (Graphics copiedGraphics = Graphics.FromImage(copiedImg))
{
copiedGraphics.DrawImage(copiedImg,source);
}
copiedImg.RotateFlip(RotateFlipType.RotateNoneFlipX);
g.DrawImage(copiedImg, destination);
}
< /code>
Это не бросает никаких ошибок, но он тоже ничего не публикует на экране, когда я использую его как: < /p>
InvCopy(graphics,source,destination);
Подробнее здесь: https://stackoverflow.com/questions/794 ... grams-area
Мобильная версия