102 references to MatrixTypes
WindowsBase (102)
Base\System\Windows\Media\Matrix.cs (78)
86
_type =
MatrixTypes
.TRANSFORM_IS_UNKNOWN;
114
_type =
MatrixTypes
.TRANSFORM_IS_IDENTITY;
124
return (_type ==
MatrixTypes
.TRANSFORM_IS_IDENTITY ||
303
if (_type ==
MatrixTypes
.TRANSFORM_IS_IDENTITY)
311
MatrixTypes
.TRANSFORM_IS_TRANSLATION);
313
else if (_type ==
MatrixTypes
.TRANSFORM_IS_UNKNOWN)
324
_type |=
MatrixTypes
.TRANSFORM_IS_TRANSLATION;
415
case
MatrixTypes
.TRANSFORM_IS_IDENTITY:
416
case
MatrixTypes
.TRANSFORM_IS_TRANSLATION:
418
case
MatrixTypes
.TRANSFORM_IS_SCALING:
419
case
MatrixTypes
.TRANSFORM_IS_SCALING |
MatrixTypes
.TRANSFORM_IS_TRANSLATION:
457
case
MatrixTypes
.TRANSFORM_IS_IDENTITY:
459
case
MatrixTypes
.TRANSFORM_IS_SCALING:
465
case
MatrixTypes
.TRANSFORM_IS_TRANSLATION:
469
case
MatrixTypes
.TRANSFORM_IS_SCALING |
MatrixTypes
.TRANSFORM_IS_TRANSLATION:
486
MatrixTypes
.TRANSFORM_IS_UNKNOWN);
503
if (_type ==
MatrixTypes
.TRANSFORM_IS_IDENTITY)
514
if (_type ==
MatrixTypes
.TRANSFORM_IS_IDENTITY)
519
MatrixTypes
.TRANSFORM_IS_SCALING);
524
if (_type !=
MatrixTypes
.TRANSFORM_IS_UNKNOWN)
526
_type |=
MatrixTypes
.TRANSFORM_IS_SCALING;
539
if (_type ==
MatrixTypes
.TRANSFORM_IS_IDENTITY)
550
if (_type ==
MatrixTypes
.TRANSFORM_IS_IDENTITY)
555
MatrixTypes
.TRANSFORM_IS_UNKNOWN);
560
_type =
MatrixTypes
.TRANSFORM_IS_UNKNOWN;
572
if (_type ==
MatrixTypes
.TRANSFORM_IS_IDENTITY)
583
if (_type ==
MatrixTypes
.TRANSFORM_IS_IDENTITY)
588
MatrixTypes
.TRANSFORM_IS_UNKNOWN);
593
_type =
MatrixTypes
.TRANSFORM_IS_UNKNOWN;
605
if (_type ==
MatrixTypes
.TRANSFORM_IS_IDENTITY)
616
if (_type ==
MatrixTypes
.TRANSFORM_IS_IDENTITY)
621
MatrixTypes
.TRANSFORM_IS_SCALING);
626
if (_type !=
MatrixTypes
.TRANSFORM_IS_UNKNOWN)
628
_type |=
MatrixTypes
.TRANSFORM_IS_SCALING;
641
if (_type ==
MatrixTypes
.TRANSFORM_IS_IDENTITY)
652
if (_type ==
MatrixTypes
.TRANSFORM_IS_IDENTITY)
657
MatrixTypes
.TRANSFORM_IS_TRANSLATION);
662
if (_type !=
MatrixTypes
.TRANSFORM_IS_UNKNOWN)
664
_type |=
MatrixTypes
.TRANSFORM_IS_TRANSLATION;
677
if (_type ==
MatrixTypes
.TRANSFORM_IS_IDENTITY)
688
if (_type ==
MatrixTypes
.TRANSFORM_IS_IDENTITY)
693
MatrixTypes
.TRANSFORM_IS_TRANSLATION);
698
if (_type !=
MatrixTypes
.TRANSFORM_IS_UNKNOWN)
700
_type |=
MatrixTypes
.TRANSFORM_IS_TRANSLATION;
716
case
MatrixTypes
.TRANSFORM_IS_IDENTITY:
717
case
MatrixTypes
.TRANSFORM_IS_TRANSLATION:
719
case
MatrixTypes
.TRANSFORM_IS_SCALING:
720
case
MatrixTypes
.TRANSFORM_IS_SCALING |
MatrixTypes
.TRANSFORM_IS_TRANSLATION:
742
case
MatrixTypes
.TRANSFORM_IS_IDENTITY:
744
case
MatrixTypes
.TRANSFORM_IS_TRANSLATION:
748
case
MatrixTypes
.TRANSFORM_IS_SCALING:
752
case
MatrixTypes
.TRANSFORM_IS_SCALING |
MatrixTypes
.TRANSFORM_IS_TRANSLATION:
796
MatrixTypes
.TRANSFORM_IS_UNKNOWN);
815
MatrixTypes
.TRANSFORM_IS_SCALING |
MatrixTypes
.TRANSFORM_IS_TRANSLATION);
831
MatrixTypes
.TRANSFORM_IS_SCALING);
847
MatrixTypes
.TRANSFORM_IS_UNKNOWN);
864
MatrixTypes
.TRANSFORM_IS_TRANSLATION);
881
MatrixTypes
.TRANSFORM_IS_IDENTITY);
895
MatrixTypes
type)
916
_type =
MatrixTypes
.TRANSFORM_IS_UNKNOWN;
922
_type =
MatrixTypes
.TRANSFORM_IS_SCALING;
927
_type |=
MatrixTypes
.TRANSFORM_IS_TRANSLATION;
930
if (0 == (_type & (
MatrixTypes
.TRANSFORM_IS_TRANSLATION |
MatrixTypes
.TRANSFORM_IS_SCALING)))
933
_type =
MatrixTypes
.TRANSFORM_IS_IDENTITY;
947
case
MatrixTypes
.TRANSFORM_IS_IDENTITY:
949
case
MatrixTypes
.TRANSFORM_IS_UNKNOWN:
951
case
MatrixTypes
.TRANSFORM_IS_SCALING:
957
case
MatrixTypes
.TRANSFORM_IS_TRANSLATION:
963
case
MatrixTypes
.TRANSFORM_IS_SCALING|
MatrixTypes
.TRANSFORM_IS_TRANSLATION:
986
return _type ==
MatrixTypes
.TRANSFORM_IS_IDENTITY;
1002
internal
MatrixTypes
_type;
Shared\MS\Internal\MatrixUtil.cs (24)
61
MatrixTypes
matrixType = matrix._type;
64
if (matrixType ==
MatrixTypes
.TRANSFORM_IS_IDENTITY)
70
if (0 != (matrixType &
MatrixTypes
.TRANSFORM_IS_SCALING))
95
if (0 != (matrixType &
MatrixTypes
.TRANSFORM_IS_TRANSLATION))
104
if (matrixType ==
MatrixTypes
.TRANSFORM_IS_UNKNOWN)
130
MatrixTypes
type1 = matrix1._type;
131
MatrixTypes
type2 = matrix2._type;
136
if (type2 ==
MatrixTypes
.TRANSFORM_IS_IDENTITY)
142
if (type1 ==
MatrixTypes
.TRANSFORM_IS_IDENTITY)
149
if (type2 ==
MatrixTypes
.TRANSFORM_IS_TRANSLATION)
156
if (type1 !=
MatrixTypes
.TRANSFORM_IS_UNKNOWN)
158
matrix1._type |=
MatrixTypes
.TRANSFORM_IS_TRANSLATION;
165
if (type1 ==
MatrixTypes
.TRANSFORM_IS_TRANSLATION)
177
if (type2 ==
MatrixTypes
.TRANSFORM_IS_UNKNOWN)
179
matrix1._type =
MatrixTypes
.TRANSFORM_IS_UNKNOWN;
183
matrix1._type =
MatrixTypes
.TRANSFORM_IS_SCALING |
MatrixTypes
.TRANSFORM_IS_TRANSLATION;
211
matrix1._type =
MatrixTypes
.TRANSFORM_IS_TRANSLATION |
MatrixTypes
.TRANSFORM_IS_SCALING;
258
if (matrix._type ==
MatrixTypes
.TRANSFORM_IS_IDENTITY)
261
matrix._type =
MatrixTypes
.TRANSFORM_IS_TRANSLATION;
279
Debug.Assert(matrix._type !=
MatrixTypes
.TRANSFORM_IS_IDENTITY);
280
if (matrix._type !=
MatrixTypes
.TRANSFORM_IS_UNKNOWN)
282
matrix._type |=
MatrixTypes
.TRANSFORM_IS_TRANSLATION;