8 references to DrawImageUnscaledAndClipped
System.Drawing.Common.Tests (8)
mono\System.Drawing\GraphicsTests.cs (8)
2829Assert.Throws<ArgumentNullException>(() => g.DrawImageUnscaledAndClipped(null, new Rectangle(0, 0, 0, 0)));
2839g.DrawImageUnscaledAndClipped(bmp, new Rectangle(0, 0, 0, 0));
2841g.DrawImageUnscaledAndClipped(bmp, new Rectangle(20, 40, 0, 0));
2843g.DrawImageUnscaledAndClipped(bmp, new Rectangle(10, 20, -1, 0));
2844g.DrawImageUnscaledAndClipped(bmp, new Rectangle(20, 10, 0, -1));
2846g.DrawImageUnscaledAndClipped(bmp, new Rectangle(0, 0, 10, 20));
2847g.DrawImageUnscaledAndClipped(bmp, new Rectangle(0, 0, 40, 10));
2848g.DrawImageUnscaledAndClipped(bmp, new Rectangle(0, 0, 80, 20));