42 references to IsIdentity
System.Drawing.Common.Tests (41)
mono\System.Drawing\GraphicsTests.cs (4)
385Assert.True(g.Transform.IsIdentity); 415Assert.True(g.Transform.IsIdentity); 917Assert.True(g.Transform.IsIdentity, message + ".Transform.IsIdentity"); 933Assert.False(g.Transform.IsIdentity, message + ".Transform.IsIdentity");
mono\System.Imaging\MetafileTest.cs (3)
347Assert.True(g.Transform.IsIdentity); 349Assert.False(g.Transform.IsIdentity); 373Assert.True(g.Transform.IsIdentity);
System\Drawing\Drawing2D\LinearGradientBrushTests.cs (10)
34Assert.False(brush.Transform.IsIdentity); 61Assert.False(brush.Transform.IsIdentity); 95Assert.Equal(linearGradientMode == LinearGradientMode.Horizontal, brush.Transform.IsIdentity); 112Assert.Equal(linearGradientMode == LinearGradientMode.Horizontal, brush.Transform.IsIdentity); 138Assert.Equal((angle % 360) == 0, brush.Transform.IsIdentity); 155Assert.Equal((angle % 360) == 0, brush.Transform.IsIdentity); 181Assert.Equal((angle % 360) == 0, brush.Transform.IsIdentity); 198Assert.Equal((angle % 360) == 0, brush.Transform.IsIdentity); 640Assert.False(brush.Transform.IsIdentity); 643Assert.True(brush.Transform.IsIdentity);
System\Drawing\Drawing2D\MatrixTests.Core.cs (2)
18Assert.Equal(isIdentity, matrix.IsIdentity); 33Assert.Equal(isIdentity, matrix.IsIdentity);
System\Drawing\Drawing2D\MatrixTests.cs (9)
44Assert.True(matrix.IsIdentity); 70Assert.Equal(isIdentity, matrix.IsIdentity); 109Assert.Equal(isIdentity, matrix.IsIdentity); 121Assert.Equal(isIdentity, matrix.IsIdentity); 278AssertExtensions.Throws<ArgumentException>(null, () => CreateDisposedMatrix().IsIdentity); 450Assert.Equal(isIdentity, clone1.IsIdentity); 456Assert.False(clone2.IsIdentity); 464Assert.Equal(isIdentity, clone3.IsIdentity); 470Assert.False(clone4.IsIdentity);
System\Drawing\Drawing2D\PathGradientBrushTests.cs (9)
348Assert.True(brush.Transform.IsIdentity); 380Assert.True(brush.Transform.IsIdentity); 451Assert.True(brush.Transform.IsIdentity); 477Assert.True(brush.Transform.IsIdentity); 478Assert.True(brush.Transform.IsIdentity); 645Assert.True(brush.Transform.IsIdentity); 816Assert.True(brush.Transform.IsIdentity); 865Assert.True(brush.Transform.IsIdentity); 949Assert.True(brush.Transform.IsIdentity);
System\Drawing\Graphics_GetContextTests.cs (2)
25Assert.True(matrix.IsIdentity); 40Assert.True(matrix.IsIdentity);
System\Drawing\GraphicsTests.cs (2)
1152Assert.False(graphics.Transform.IsIdentity); 1155Assert.True(graphics.Transform.IsIdentity);
System.Windows.Forms (1)
System\Windows\Forms\Rendering\TextRenderer.cs (1)
642|| graphics.Transform.IsIdentity,