238 references to Matrix
System.Drawing.Common.Tests (237)
mono\System.Drawing\GraphicsTests.cs (8)
421
using Matrix matrix =
new
(123, 24, 82, 16, 47, 30);
432
using Matrix matrix =
new
(123, 24, 82, 16, 47, 30);
514
g.Transform = new
Matrix
(1, 0, 0, 1, 8, 8);
529
g.Transform = new
Matrix
(0.5f, 0, 0, 0.25f, 0, 0);
545
g.Transform = new
Matrix
(1, 0, 0, 1, 8, 8);
675
g.Transform = new
Matrix
(1, 2, 3, 4, 5, 6);
685
g.Transform = new
Matrix
(1, 2, 3, 4, 5, 6);
695
g.Transform = new
Matrix
(1, 2, 3, 4, 5, 6);
System\Drawing\Drawing2D\GraphicsPathTests.cs (3)
1088
using Matrix matrix =
new
(1f, 1f, 2f, 2f, 3f, 3f);
1102
using Matrix matrix =
new
(1f, 1f, 2f, 2f, 3f, 3f);
1772
using Matrix matrix =
new
(2, 0, 0, 2, 50, -50);
System\Drawing\Drawing2D\LinearGradientBrushTests.cs (4)
577
using Matrix transform =
new
(1, 2, 3, 4, 5, 6);
659
using Matrix matrix =
new
(1, 2, 3, 4, 5, 6);
675
using Matrix matrix =
new
(1, 2, 3, 4, 5, 6);
718
using Matrix matrix =
new
(123, 24, 82, 16, 47, 30);
System\Drawing\Drawing2D\MatrixTests.cs (118)
68
using Matrix matrix =
new
(m11, m12, m21, m22, dx, dy);
161
using Matrix matrix =
new
(1, 2, 3, 4, 5, 6);
175
yield return new object[] { new Matrix(), new
Matrix
(1, 0, 0, 1, 0, 0), true };
176
yield return new object[] { new Matrix(), new
Matrix
(123, 24, 82, 16, 47, 30), false };
177
yield return new object[] { new Matrix(), new
Matrix
(1.1f, 0.1f, -0.1f, 0.9f, 0, 0), false };
178
yield return new object[] { new Matrix(), new
Matrix
(1.01f, 0.01f, -0.01f, 0.99f, 0, 0), false };
179
yield return new object[] { new Matrix(), new
Matrix
(1.001f, 0.001f, -0.001f, 0.999f, 0, 0), false };
180
yield return new object[] { new Matrix(), new
Matrix
(1.0001f, 0.0001f, -0.0001f, 0.9999f, 0, 0), false };
181
yield return new object[] { new Matrix(), new
Matrix
(1.0009f, 0.0009f, -0.0009f, 0.99995f, 0, 0), false };
183
Matrix matrix =
new
(1, 2, 3, 4, 5, 6);
186
yield return new object[] { matrix.Clone(), new
Matrix
(1, 2, 3, 4, 5, 6), true };
187
yield return new object[] { matrix.Clone(), new
Matrix
(2, 2, 3, 4, 5, 6), false };
188
yield return new object[] { matrix.Clone(), new
Matrix
(1, 3, 3, 4, 5, 6), false };
189
yield return new object[] { matrix.Clone(), new
Matrix
(1, 2, 4, 4, 5, 6), false };
190
yield return new object[] { matrix.Clone(), new
Matrix
(1, 2, 3, 5, 5, 6), false };
191
yield return new object[] { matrix.Clone(), new
Matrix
(1, 2, 3, 4, 6, 6), false };
192
yield return new object[] { matrix.Clone(), new
Matrix
(1, 2, 3, 4, 5, 7), false };
233
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), new float[] { -2, 1, 1.5f, -0.5f, 1, -2 } };
234
yield return new object[] { new
Matrix
(1, 0, 0, 1, 8, 8), new float[] { 1, 0, 0, 1, -8, -8 } };
255
using Matrix matrix1 =
new
(f, 2, 3, 4, 5, 6);
256
using Matrix matrix2 =
new
(1, f, 3, 4, 5, 6);
257
using Matrix matrix3 =
new
(1, 2, f, 4, 5, 6);
258
using Matrix matrix4 =
new
(1, 2, 3, f, 5, 6);
259
using Matrix matrix5 =
new
(1, 2, 3, 4, f, 6);
260
using Matrix matrix6 =
new
(1, 2, 3, 4, 5, f);
289
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), new
Matrix
(10, 20, 30, 40, 50, 60), MatrixOrder.Prepend, new float[] { 700, 1000, 1500, 2200, 2350, 3460 } };
290
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), new
Matrix
(10, 20, 30, 40, 50, 60), MatrixOrder.Append, new float[] { 700, 1000, 1500, 2200, 2350, 3460 } };
292
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), new Matrix(), MatrixOrder.Prepend, new float[] { 10, 20, 30, 40, 50, 60 } };
293
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), new Matrix(), MatrixOrder.Append, new float[] { 10, 20, 30, 40, 50, 60 } };
295
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), new
Matrix
(0, 0, 0, 0, 0, 0), MatrixOrder.Prepend, new float[] { 0, 0, 0, 0, 50, 60 } };
296
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), new
Matrix
(0, 0, 0, 0, 0, 0), MatrixOrder.Append, new float[] { 0, 0, 0, 0, 0, 0 } };
298
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), new
Matrix
(1, 1, 1, 1, 1, 1), MatrixOrder.Prepend, new float[] { 40, 60, 40, 60, 90, 120 } };
299
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), new
Matrix
(1, 1, 1, 1, 1, 1), MatrixOrder.Append, new float[] { 30, 30, 70, 70, 111, 111 } };
301
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), new
Matrix
(float.NaN, float.NaN, float.NaN, float.NaN, float.NaN, float.NaN), MatrixOrder.Prepend, new float[] { float.NaN, float.NaN, float.NaN, float.NaN, float.NaN, float.NaN } };
302
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), new
Matrix
(float.NaN, float.NaN, float.NaN, float.NaN, float.NaN, float.NaN), MatrixOrder.Append, new float[] { float.NaN, float.NaN, float.NaN, float.NaN, float.NaN, float.NaN } };
304
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), new
Matrix
(float.PositiveInfinity, float.PositiveInfinity, float.PositiveInfinity, float.PositiveInfinity, float.PositiveInfinity, float.PositiveInfinity), MatrixOrder.Prepend, new float[] { float.PositiveInfinity, float.PositiveInfinity, float.PositiveInfinity, float.PositiveInfinity, float.PositiveInfinity, float.PositiveInfinity } };
305
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), new
Matrix
(float.PositiveInfinity, float.PositiveInfinity, float.PositiveInfinity, float.PositiveInfinity, float.PositiveInfinity, float.PositiveInfinity), MatrixOrder.Append, new float[] { float.PositiveInfinity, float.PositiveInfinity, float.PositiveInfinity, float.PositiveInfinity, float.PositiveInfinity, float.PositiveInfinity } };
307
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), new
Matrix
(float.NegativeInfinity, float.NegativeInfinity, float.NegativeInfinity, float.NegativeInfinity, float.NegativeInfinity, float.NegativeInfinity), MatrixOrder.Prepend, new float[] { float.NegativeInfinity, float.NegativeInfinity, float.NegativeInfinity, float.NegativeInfinity, float.NegativeInfinity, float.NegativeInfinity } };
308
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), new
Matrix
(float.NegativeInfinity, float.NegativeInfinity, float.NegativeInfinity, float.NegativeInfinity, float.NegativeInfinity, float.NegativeInfinity), MatrixOrder.Append, new float[] { float.NegativeInfinity, float.NegativeInfinity, float.NegativeInfinity, float.NegativeInfinity, float.NegativeInfinity, float.NegativeInfinity } };
310
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), new
Matrix
(float.MaxValue, float.MaxValue, float.MaxValue, float.MaxValue, float.MaxValue, float.MaxValue), MatrixOrder.Prepend, new float[] { float.MaxValue, float.MaxValue, float.MaxValue, float.MaxValue, float.MaxValue, float.MaxValue } };
311
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), new
Matrix
(float.MaxValue, float.MaxValue, float.MaxValue, float.MaxValue, float.MaxValue, float.MaxValue), MatrixOrder.Append, new float[] { float.MaxValue, float.MaxValue, float.MaxValue, float.MaxValue, float.MaxValue, float.MaxValue } };
382
using Matrix matrix =
new
(1, 2, 3, 4, 5, 6);
398
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), 180, PointF.Empty, MatrixOrder.Prepend, new float[] { -9.999996f, -19.9999943f, -30.0000019f, -40.0000038f, 50, 60 }, null, false };
399
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), 180, PointF.Empty, MatrixOrder.Append, new float[] { -9.999996f, -20, -30f, -40f, -50, -60 }, null, false };
401
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), 540, PointF.Empty, MatrixOrder.Prepend, new float[] { -9.999996f, -19.9999943f, -30.0000019f, -40.0000038f, 50, 60 }, null, false };
402
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), 540, PointF.Empty, MatrixOrder.Append, new float[] { -9.999996f, -20, -30f, -40f, -50, -60 }, null, false };
424
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), 180, new PointF(10, 10), MatrixOrder.Prepend, new float[] { -10, -20, -30, -40, 850, 1260 }, null, false };
425
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), 180, new PointF(10, 10), MatrixOrder.Append, new float[] { -10, -20, -30, -40, -30, -40 }, null, false };
427
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), float.NaN, PointF.Empty, MatrixOrder.Prepend, new float[] { float.NaN, float.NaN, float.NaN, float.NaN, 50, 60 }, new float[] { float.NaN, float.NaN, float.NaN, float.NaN, float.NaN, float.NaN }, false };
428
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), float.NaN, PointF.Empty, MatrixOrder.Append, new float[] { float.NaN, float.NaN, float.NaN, float.NaN, float.NaN, float.NaN }, null, false };
430
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), float.PositiveInfinity, PointF.Empty, MatrixOrder.Prepend, new float[] { float.NaN, float.NaN, float.NaN, float.NaN, 50, 60 }, new float[] { float.NaN, float.NaN, float.NaN, float.NaN, float.NaN, float.NaN }, false };
431
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), float.PositiveInfinity, PointF.Empty, MatrixOrder.Append, new float[] { float.NaN, float.NaN, float.NaN, float.NaN, float.NaN, float.NaN }, null, false };
433
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), float.NegativeInfinity, PointF.Empty, MatrixOrder.Prepend, new float[] { float.NaN, float.NaN, float.NaN, float.NaN, 50, 60 }, new float[] { float.NaN, float.NaN, float.NaN, float.NaN, float.NaN, float.NaN }, false };
434
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), float.NegativeInfinity, PointF.Empty, MatrixOrder.Append, new float[] { float.NaN, float.NaN, float.NaN, float.NaN, float.NaN, float.NaN }, null, false };
509
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), 2, 4, MatrixOrder.Prepend, new float[] { 20, 40, 120, 160, 50, 60 } };
510
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), 2, 4, MatrixOrder.Append, new float[] { 20, 80, 60, 160, 100, 240 } };
512
yield return new object[] { new
Matrix
(20, 40, 120, 160, 50, 60), 0.5, 0.25, MatrixOrder.Prepend, new float[] { 10, 20, 30, 40, 50, 60 } };
513
yield return new object[] { new
Matrix
(20, 40, 120, 160, 50, 60), 0.5, 0.25, MatrixOrder.Append, new float[] { 10, 10, 60, 40, 25, 15 } };
515
yield return new object[] { new
Matrix
(20, 40, 120, 160, 50, 60), 0, 0, MatrixOrder.Prepend, new float[] { 0, 0, 0, 0, 50, 60 } };
516
yield return new object[] { new
Matrix
(20, 40, 120, 160, 50, 60), 0, 0, MatrixOrder.Append, new float[] { 0, 0, 0, 0, 0, 0 } };
518
yield return new object[] { new
Matrix
(20, 40, 120, 160, 50, 60), 1, 1, MatrixOrder.Prepend, new float[] { 20, 40, 120, 160, 50, 60 } };
519
yield return new object[] { new
Matrix
(20, 40, 120, 160, 50, 60), 1, 1, MatrixOrder.Append, new float[] { 20, 40, 120, 160, 50, 60 } };
521
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), -2, -4, MatrixOrder.Prepend, new float[] { -20, -40, -120, -160, 50, 60 } };
522
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), -2, -4, MatrixOrder.Append, new float[] { -20, -80, -60, -160, -100, -240 } };
524
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), float.NaN, float.NaN, MatrixOrder.Prepend, new float[] { float.NaN, float.NaN, float.NaN, float.NaN, 50, 60 } };
525
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), float.NaN, float.NaN, MatrixOrder.Append, new float[] { float.NaN, float.NaN, float.NaN, float.NaN, float.NaN, float.NaN } };
527
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), float.PositiveInfinity, float.PositiveInfinity, MatrixOrder.Prepend, new float[] { float.PositiveInfinity, float.PositiveInfinity, float.PositiveInfinity, float.PositiveInfinity, 50, 60 } };
528
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), float.PositiveInfinity, float.PositiveInfinity, MatrixOrder.Append, new float[] { float.PositiveInfinity, float.PositiveInfinity, float.PositiveInfinity, float.PositiveInfinity, float.PositiveInfinity, float.PositiveInfinity } };
530
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), float.NegativeInfinity, float.NegativeInfinity, MatrixOrder.Prepend, new float[] { float.NegativeInfinity, float.NegativeInfinity, float.NegativeInfinity, float.NegativeInfinity, 50, 60 } };
531
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), float.NegativeInfinity, float.NegativeInfinity, MatrixOrder.Append, new float[] { float.NegativeInfinity, float.NegativeInfinity, float.NegativeInfinity, float.NegativeInfinity, float.NegativeInfinity, float.NegativeInfinity } };
533
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), float.MaxValue, float.MaxValue, MatrixOrder.Prepend, new float[] { float.MaxValue, float.MaxValue, float.MaxValue, float.MaxValue, 50, 60 } };
534
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), float.MaxValue, float.MaxValue, MatrixOrder.Append, new float[] { float.MaxValue, float.MaxValue, float.MaxValue, float.MaxValue, float.MaxValue, float.MaxValue } };
575
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), 2, 4, MatrixOrder.Prepend, new float[] { 130, 180, 50, 80, 50, 60 } };
576
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), 2, 4, MatrixOrder.Append, new float[] { 50, 60, 110, 160, 170, 260 } };
578
yield return new object[] { new
Matrix
(5, 3, 9, 2, 2, 1), 10, 20, MatrixOrder.Prepend, new float[] { 185, 43, 59, 32, 2, 1 } };
579
yield return new object[] { new
Matrix
(5, 3, 9, 2, 2, 1), 10, 20, MatrixOrder.Append, new float[] { 35, 103, 29, 182, 12, 41 } };
581
yield return new object[] { new
Matrix
(20, 40, 120, 160, 50, 60), 0, 0, MatrixOrder.Prepend, new float[] { 20, 40, 120, 160, 50, 60 } };
582
yield return new object[] { new
Matrix
(20, 40, 120, 160, 50, 60), 0, 0, MatrixOrder.Append, new float[] { 20, 40, 120, 160, 50, 60 } };
584
yield return new object[] { new
Matrix
(20, 40, 120, 160, 50, 60), 1, 1, MatrixOrder.Prepend, new float[] { 140, 200, 140, 200, 50, 60 } };
585
yield return new object[] { new
Matrix
(20, 40, 120, 160, 50, 60), 1, 1, MatrixOrder.Append, new float[] { 60, 60, 280, 280, 110, 110 } };
587
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), -2, -4, MatrixOrder.Prepend, new float[] { -110, -140, 10, 0, 50, 60 } };
588
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), -2, -4, MatrixOrder.Append, new float[] { -30, -20, -50, -80, -70, -140 } };
590
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), float.NaN, float.NaN, MatrixOrder.Prepend, new float[] { float.NaN, float.NaN, float.NaN, float.NaN, 50, 60 } };
591
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), float.NaN, float.NaN, MatrixOrder.Append, new float[] { float.NaN, float.NaN, float.NaN, float.NaN, float.NaN, float.NaN } };
593
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), float.PositiveInfinity, float.PositiveInfinity, MatrixOrder.Prepend, new float[] { float.PositiveInfinity, float.PositiveInfinity, float.PositiveInfinity, float.PositiveInfinity, 50, 60 } };
594
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), float.PositiveInfinity, float.PositiveInfinity, MatrixOrder.Append, new float[] { float.PositiveInfinity, float.PositiveInfinity, float.PositiveInfinity, float.PositiveInfinity, float.PositiveInfinity, float.PositiveInfinity } };
596
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), float.NegativeInfinity, float.NegativeInfinity, MatrixOrder.Prepend, new float[] { float.NegativeInfinity, float.NegativeInfinity, float.NegativeInfinity, float.NegativeInfinity, 50, 60 } };
597
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), float.NegativeInfinity, float.NegativeInfinity, MatrixOrder.Append, new float[] { float.NegativeInfinity, float.NegativeInfinity, float.NegativeInfinity, float.NegativeInfinity, float.NegativeInfinity, float.NegativeInfinity } };
599
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), float.MaxValue, float.MaxValue, MatrixOrder.Prepend, new float[] { float.MaxValue, float.MaxValue, float.MaxValue, float.MaxValue, 50, 60 } };
600
yield return new object[] { new
Matrix
(10, 20, 30, 40, 50, 60), float.MaxValue, float.MaxValue, MatrixOrder.Append, new float[] { float.MaxValue, float.MaxValue, float.MaxValue, float.MaxValue, float.MaxValue, float.MaxValue } };
641
yield return new object[] { new
Matrix
(2, 4, 6, 8, 10, 12), 5, 10, MatrixOrder.Prepend, new float[] { 2, 4, 6, 8, 80, 112 } };
642
yield return new object[] { new
Matrix
(2, 4, 6, 8, 10, 12), 5, 10, MatrixOrder.Append, new float[] { 2, 4, 6, 8, 15, 22 } };
647
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), float.NaN, float.NaN, MatrixOrder.Prepend, new float[] { 1, 2, 3, 4, float.NaN, float.NaN } };
648
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), float.NaN, float.NaN, MatrixOrder.Append, new float[] { 1, 2, 3, 4, float.NaN, float.NaN } };
650
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), float.PositiveInfinity, float.PositiveInfinity, MatrixOrder.Prepend, new float[] { 1, 2, 3, 4, float.PositiveInfinity, float.PositiveInfinity } };
651
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), float.PositiveInfinity, float.PositiveInfinity, MatrixOrder.Append, new float[] { 1, 2, 3, 4, float.PositiveInfinity, float.PositiveInfinity } };
653
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), float.NegativeInfinity, float.NegativeInfinity, MatrixOrder.Prepend, new float[] { 1, 2, 3, 4, float.NegativeInfinity, float.NegativeInfinity } };
654
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), float.NegativeInfinity, float.NegativeInfinity, MatrixOrder.Append, new float[] { 1, 2, 3, 4, float.NegativeInfinity, float.NegativeInfinity } };
656
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), float.MaxValue, float.MaxValue, MatrixOrder.Prepend, new float[] { 1, 2, 3, 4, float.MaxValue, float.MaxValue } };
657
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), float.MaxValue, float.MaxValue, MatrixOrder.Append, new float[] { 1, 2, 3, 4, float.MaxValue, float.MaxValue } };
698
yield return new object[] { new
Matrix
(2, 4, 6, 8, 10, 12), new Point[] { new(2, 4), new(4, 8) }, new Point[] { new(38, 52), new(66, 92) } };
700
yield return new object[] { new
Matrix
(2, 4, 6, 8, 10, 12), new Point[1], new Point[] { new(10, 12) } };
753
yield return new object[] { new
Matrix
(2, 4, 6, 8, 10, 12), new Point[] { new(2, 4), new(4, 8) }, new Point[] { new(28, 40), new(56, 80) } };
755
yield return new object[] { new
Matrix
(2, 4, 6, 8, 10, 12), new Point[1], new Point[1] };
System\Drawing\Drawing2D\PathGradientBrushTests.cs (18)
632
using Matrix defaultMatrix =
new
(1, 0, 0, 1, 0, 0);
633
using Matrix matrix =
new
(1, 0, 0, 1, 1, 1);
668
using Matrix nonInvertible =
new
(123, 24, 82, 16, 47, 30);
676
using Matrix defaultMatrix =
new
(1, 0, 0, 1, 0, 0);
677
using Matrix matrix =
new
(1, 0, 0, 1, 1, 1);
698
using Matrix defaultMatrix =
new
(1, 0, 0, 1, 0, 0);
699
using Matrix matrix =
new
(1, 0, 0, 1, 1, 1);
711
using Matrix defaultMatrix =
new
(1, 0, 0, 1, 0, 0);
712
using Matrix matrix =
new
(1, 0, 0, 1, 1, 1);
721
using Matrix matrix =
new
(1, 0, 0, 1, 1, 1);
754
using Matrix matrix =
new
(1, 1, 1, 1, 1, 1);
762
using Matrix nonInvertible =
new
(123, 24, 82, 16, 47, 30);
771
using Matrix matrix =
new
(1, 0, 0, 1, 0, 0);
783
using Matrix matrix =
new
(1, 0, 0, 1, 0, 0);
809
using Matrix matrix =
new
(1, 0, 0, 1, 0, 0);
833
using Matrix matrix =
new
(1, 0, 0, 1, 0, 0);
859
using Matrix matrix =
new
(1, 0, 0, 1, 0, 0);
874
using Matrix matrix =
new
(1, 0, 0, 1, 0, 0);
System\Drawing\GraphicsTests.cs (17)
1111
using Matrix matrix =
new
(123, 24, 82, 16, 47, 30);
1150
using Matrix transform =
new
(1, 2, 3, 4, 5, 6);
1189
using Matrix transform =
new
(1, 2, 3, 4, 5, 6);
1190
using Matrix matrix =
new
(1, 2, 3, 4, 5, 6);
1206
using Matrix transform =
new
(1, 2, 3, 4, 5, 6);
1207
using Matrix matrix =
new
(1, 2, 3, 4, 5, 6);
1245
using Matrix matrix =
new
(123, 24, 82, 16, 47, 30);
1299
using Matrix transform =
new
(1, 2, 3, 4, 5, 6);
1319
using Matrix transform =
new
(1, 2, 3, 4, 5, 6);
1373
using Matrix transform =
new
(1, 2, 3, 4, 5, 6);
1391
using Matrix transform =
new
(1, 2, 3, 4, 5, 6);
1456
using Matrix transform =
new
(1, 2, 3, 4, 5, 6);
1476
using Matrix transform =
new
(1, 2, 3, 4, 5, 6);
1741
using Matrix transform =
new
(1, 2, 3, 4, 5, 6);
1806
using Matrix transform =
new
(1, 2, 3, 4, 5, 6);
1822
using Matrix transform =
new
(1, 2, 3, 4, 5, 6);
1838
using Matrix transform =
new
(1, 2, 3, 4, 5, 6);
System\Drawing\PenTests.cs (35)
757
yield return new object[] { new Matrix(), new
Matrix
(1, 2, 3, 4, 5, 6), MatrixOrder.Prepend };
758
yield return new object[] { new Matrix(), new
Matrix
(1, 2, 3, 4, 5, 6), MatrixOrder.Append };
759
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), new
Matrix
(2, 3, 4, 5, 6, 7), MatrixOrder.Prepend };
760
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), new
Matrix
(2, 3, 4, 5, 6, 7), MatrixOrder.Append };
806
using Matrix matrix =
new
(123, 24, 82, 16, 47, 30);
816
using Matrix transform =
new
(1, 2, 3, 4, 5, 6);
835
using Matrix transform =
new
(1, 2, 3, 4, 5, 6);
860
using Matrix transform =
new
(1, 2, 3, 4, 5, 6);
885
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), 0, MatrixOrder.Prepend };
886
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), 0, MatrixOrder.Append };
887
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), 360, MatrixOrder.Prepend };
888
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), 360, MatrixOrder.Append };
889
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), -45, MatrixOrder.Prepend };
890
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), -45, MatrixOrder.Append };
943
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), 0, 0, MatrixOrder.Prepend };
944
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), 0, 0, MatrixOrder.Append };
945
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), 1, 1, MatrixOrder.Prepend };
946
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), 1, 1, MatrixOrder.Append };
947
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), -2, -3, MatrixOrder.Prepend };
948
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), -2, -3, MatrixOrder.Append };
949
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), 0.5, 0.75, MatrixOrder.Prepend };
950
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), 0.5, 0.75, MatrixOrder.Append };
1064
using Matrix matrix =
new
(1, 2, 3, 4, 5, 6);
1065
using Matrix expected =
new
(1, 2, 3, 4, 5, 6);
1087
using Matrix matrix =
new
(123, 24, 82, 16, 47, 30);
1118
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), 0, 0, MatrixOrder.Prepend };
1119
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), 0, 0, MatrixOrder.Append };
1120
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), 1, 1, MatrixOrder.Prepend };
1121
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), 1, 1, MatrixOrder.Append };
1122
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), -2, -3, MatrixOrder.Prepend };
1123
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), -2, -3, MatrixOrder.Append };
1124
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), 0.5, 0.75, MatrixOrder.Prepend };
1125
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), 0.5, 0.75, MatrixOrder.Append };
System\Drawing\RegionTests.cs (1)
1863
using Matrix matrix =
new
(2, 0, 0, 0.5f, 10, 10);
System\Drawing\TextureBrushTests.cs (33)
333
yield return new object[] { new Matrix(), new
Matrix
(1, 2, 3, 4, 5, 6), MatrixOrder.Prepend };
334
yield return new object[] { new Matrix(), new
Matrix
(1, 2, 3, 4, 5, 6), MatrixOrder.Append };
335
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), new
Matrix
(2, 3, 4, 5, 6, 7), MatrixOrder.Prepend };
336
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), new
Matrix
(2, 3, 4, 5, 6, 7), MatrixOrder.Append };
382
using Matrix matrix =
new
(123, 24, 82, 16, 47, 30);
392
using Matrix transform =
new
(1, 2, 3, 4, 5, 6);
411
using Matrix transform =
new
(1, 2, 3, 4, 5, 6);
436
using Matrix transform =
new
(1, 2, 3, 4, 5, 6);
460
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), 0, MatrixOrder.Prepend };
461
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), 0, MatrixOrder.Append };
462
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), 360, MatrixOrder.Prepend };
463
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), 360, MatrixOrder.Append };
464
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), -45, MatrixOrder.Prepend };
465
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), -45, MatrixOrder.Append };
522
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), 0, 0, MatrixOrder.Prepend };
523
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), 0, 0, MatrixOrder.Append };
524
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), 1, 1, MatrixOrder.Prepend };
525
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), 1, 1, MatrixOrder.Append };
526
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), -2, -3, MatrixOrder.Prepend };
527
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), -2, -3, MatrixOrder.Append };
528
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), 0.5, 0.75, MatrixOrder.Prepend };
529
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), 0.5, 0.75, MatrixOrder.Append };
587
using Matrix matrix =
new
(1, 2, 3, 4, 5, 6);
627
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), 0, 0, MatrixOrder.Prepend };
628
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), 0, 0, MatrixOrder.Append };
629
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), 1, 1, MatrixOrder.Prepend };
630
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), 1, 1, MatrixOrder.Append };
631
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), -2, -3, MatrixOrder.Prepend };
632
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), -2, -3, MatrixOrder.Append };
633
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), 0.5, 0.75, MatrixOrder.Prepend };
634
yield return new object[] { new
Matrix
(1, 2, 3, 4, 5, 6), 0.5, 0.75, MatrixOrder.Append };
System.Windows.Forms.Primitives.Tests (1)
System\Windows\Forms\DeviceContextScopeTests.cs (1)
43
graphics.Transform = new
Matrix
(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f);