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