Beispiel #1
0
        public void DrawToImage(IImage other, int x, int y, int width, int height, float trnasparency = 1.0f)
        {
            ImageRgba32 oth = CastToSelf(other);

            _image.DrawImage(oth._image, trnasparency, new Size(width, height), new Point(x, y));
        }
Beispiel #2
0
        public void DrawToImage(IImage other, int x, int y, float trnasparency = 1)
        {
            ImageRgba32 oth = CastToSelf(other);

            _image.DrawImage(oth._image, trnasparency, default(Size), new Point(x, y));
        }