33 references to IsInfinite
System.Drawing.Common.Tests (31)
mono\System.Drawing\GraphicsTests.cs (5)
167Assert.True(g.Clip.IsInfinite(g)); 170Assert.True(g.Clip.IsInfinite(g)); 536Assert.True(g.Clip.IsInfinite(g)); 907Assert.True(g.Clip.IsInfinite(g), message + ".Clip.IsInfinite"); 922Assert.False(g.Clip.IsInfinite(g), message + ".Clip.IsInfinite");
System\Drawing\Graphics_GetContextTests.cs (2)
24Assert.True(region.IsInfinite(graphics)); 55Assert.True(region.IsInfinite(graphics));
System\Drawing\RegionTests.cs (24)
46Assert.True(region.IsInfinite(s_graphic)); 60Assert.False(region.IsInfinite(s_graphic)); 76Assert.False(region.IsInfinite(s_graphic)); 227Assert.Equal(isInfinite, region.IsInfinite(s_graphic)); 377Assert.False(region.IsInfinite(s_graphic)); 885Assert.True(region.IsInfinite(s_graphic)); 1051Assert.False(clipRegion.IsInfinite(s_graphic)); 1186Assert.False(region.IsInfinite(s_graphic)); 1214Assert.False(region.IsInfinite(s_graphic)); 1282AssertExtensions.Throws<ArgumentNullException>("g", () => region.IsInfinite(null)); 1292AssertExtensions.Throws<ArgumentException>(null, () => region.IsInfinite(graphics)); 1298AssertExtensions.Throws<ArgumentException>(null, () => CreateDisposedRegion().IsInfinite(s_graphic)); 1444Assert.False(region.IsInfinite(s_graphic)); 1471Assert.True(region.IsInfinite(s_graphic)); 1476Assert.True(region.IsInfinite(s_graphic)); 1781Assert.True(region.IsInfinite(s_graphic)); 1841Assert.True(region.IsInfinite(s_graphic)); 1855Assert.False(region.IsInfinite(s_graphic)); 1868Assert.False(region.IsInfinite(s_graphic)); 1906Assert.False(region.IsInfinite(s_graphic)); 1929Assert.False(region.IsInfinite(s_graphic)); 1941Assert.True(region.IsInfinite(s_graphic)); 1958Assert.False(region.IsInfinite(s_graphic)); 2139Assert.True(region.IsInfinite(s_graphic));
System.Windows.Forms (1)
System\Windows\Forms\Rendering\DrawingEventArgs.cs (1)
161bool isInfinite = clip?.IsInfinite(graphics) ?? true;
System.Windows.Forms.Primitives.Tests (1)
System\Windows\Forms\DeviceContextScopeTests.cs (1)
38Assert.True(oldRegion.IsInfinite(graphics));