94 references to MatrixTypes
Microsoft.Maui.Controls (94)
Shapes\Matrix.cs (94)
25 internal MatrixTypes _type; 41 _type = MatrixTypes.Unknown; 53 _type = MatrixTypes.Identity; 61 return _type == MatrixTypes.Identity || 172 if (_type == MatrixTypes.Identity) 177 MatrixTypes.Translation); 179 else if (_type == MatrixTypes.Unknown) 189 _type |= MatrixTypes.Translation; 237 case MatrixTypes.Identity: 238 case MatrixTypes.Translation: 240 case MatrixTypes.Scaling: 241 case MatrixTypes.Scaling | MatrixTypes.Translation: 264 case MatrixTypes.Identity: 266 case MatrixTypes.Scaling: 272 case MatrixTypes.Translation: 276 case MatrixTypes.Scaling | MatrixTypes.Translation: 293 MatrixTypes.Unknown); 304 if (_type == MatrixTypes.Identity) 315 if (_type == MatrixTypes.Identity) 320 MatrixTypes.Scaling); 325 if (_type != MatrixTypes.Unknown) 327 _type |= MatrixTypes.Scaling; 338 if (_type == MatrixTypes.Identity) 349 if (_type == MatrixTypes.Identity) 354 MatrixTypes.Unknown); 359 _type = MatrixTypes.Unknown; 369 if (_type == MatrixTypes.Identity) 380 if (_type == MatrixTypes.Identity) 385 MatrixTypes.Unknown); 390 _type = MatrixTypes.Unknown; 400 if (_type == MatrixTypes.Identity) 411 if (_type == MatrixTypes.Identity) 416 MatrixTypes.Scaling); 421 if (_type != MatrixTypes.Unknown) 423 _type |= MatrixTypes.Scaling; 434 if (_type == MatrixTypes.Identity) 445 if (_type == MatrixTypes.Identity) 450 MatrixTypes.Translation); 455 if (_type != MatrixTypes.Unknown) 457 _type |= MatrixTypes.Translation; 468 if (_type == MatrixTypes.Identity) 479 if (_type == MatrixTypes.Identity) 484 MatrixTypes.Translation); 489 if (_type != MatrixTypes.Unknown) 491 _type |= MatrixTypes.Translation; 501 case MatrixTypes.Identity: 502 case MatrixTypes.Translation: 504 case MatrixTypes.Scaling: 505 case MatrixTypes.Scaling | MatrixTypes.Translation: 524 case MatrixTypes.Identity: 526 case MatrixTypes.Translation: 530 case MatrixTypes.Scaling: 534 case MatrixTypes.Scaling | MatrixTypes.Translation: 568 MatrixTypes.Unknown); 580 MatrixTypes.Scaling | MatrixTypes.Translation); 591 MatrixTypes.Scaling); 602 MatrixTypes.Unknown); 619 MatrixTypes.Translation); 630 MatrixTypes.Identity); 637 MatrixTypes type) 654 _type = MatrixTypes.Unknown; 660 _type = MatrixTypes.Scaling; 665 _type |= MatrixTypes.Translation; 668 if (0 == (_type & (MatrixTypes.Translation | MatrixTypes.Scaling))) 670 _type = MatrixTypes.Identity; 699 MatrixTypes matrixType = matrix._type; 701 if (matrixType == MatrixTypes.Identity) 707 if (0 != (matrixType & MatrixTypes.Scaling)) 728 if (0 != (matrixType & MatrixTypes.Translation)) 737 if (matrixType == MatrixTypes.Unknown) 754 MatrixTypes type1 = matrix1._type; 755 MatrixTypes type2 = matrix2._type; 757 if (type2 == MatrixTypes.Identity) 762 if (type1 == MatrixTypes.Identity) 768 if (type2 == MatrixTypes.Translation) 773 if (type1 != MatrixTypes.Unknown) 775 matrix1._type |= MatrixTypes.Translation; 782 if (type1 == MatrixTypes.Translation) 792 if (type2 == MatrixTypes.Unknown) 794 matrix1._type = MatrixTypes.Unknown; 798 matrix1._type = MatrixTypes.Scaling | MatrixTypes.Translation; 822 matrix1._type = MatrixTypes.Translation | MatrixTypes.Scaling; 860 if (matrix._type == MatrixTypes.Identity) 864 _type = MatrixTypes.Translation 872 if (matrix._type != MatrixTypes.Unknown) 874 matrix._type |= MatrixTypes.Translation;