41 instantiations of Matrix
PresentationCore (14)
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (1)
1464return new Matrix(M00, M01, M10, M11, M20, M21);
Core\CSharp\MS\Internal\Media3D\M3DUtil.cs (1)
499return new Matrix(
Core\CSharp\System\Windows\Media\Animation\MatrixAnimationUsingPath.cs (1)
284Matrix matrix = new Matrix();
Core\CSharp\System\Windows\Media\BoundsDrawingContextWalker.cs (1)
643_transform = new Matrix();
Core\CSharp\System\Windows\Media\Generated\MatrixTransform.cs (2)
287internal static Matrix s_Matrix = new Matrix(); 316new Matrix(),
Core\CSharp\System\Windows\Media\MatrixTransform.cs (1)
63Matrix = new Matrix(m11, m12, m21, m22, offsetX, offsetY);
Core\CSharp\System\Windows\Media\Renderer.cs (1)
78Matrix deviceTransform = new Matrix(
Core\CSharp\System\Windows\Media\RotateTransform.cs (1)
72Matrix m = new Matrix();
Core\CSharp\System\Windows\Media\ScaleTransform.cs (1)
77Matrix m = new Matrix();
Core\CSharp\System\Windows\Media\SkewTransform.cs (1)
68Matrix matrix = new Matrix();
Core\CSharp\System\Windows\Media\TransformGroup.cs (1)
59return new Matrix();
Core\CSharp\System\Windows\Media\Visual.cs (2)
4670simpleTransform = new Matrix(); 4683simpleTransform = new Matrix();
PresentationFramework (6)
src\Framework\MS\Internal\Ink\InkCanvasSelection.cs (1)
967return new Matrix(m11, 0, 0, m22, dx, dy);
src\Framework\System\Windows\Controls\ComboBox.cs (1)
938visualBrush.Transform = new MatrixTransform(new Matrix(-1.0, 0.0, 0.0, 1.0, _clonedElement.RenderSize.Width, 0.0));
src\Framework\System\Windows\Controls\Primitives\Popup.cs (1)
1854popupTransform = new Matrix();
src\Framework\System\Windows\Documents\AdornerLayer.cs (1)
993matrix = new Matrix(-1.0, 0.0, 0.0, 1.0, adorner.RenderSize.Width, 0.0);
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
6594bamlType.DefaultConstructor = delegate() { return new System.Windows.Media.Matrix(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1396case KnownElements.Matrix: o = new System.Windows.Media.Matrix(); break;
PresentationFramework.Aero (3)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
55Matrix m1 = new Matrix(); 57Matrix m2 = new Matrix();
Microsoft\Windows\Themes\ScrollChrome.cs (1)
731Matrix matrix = new Matrix();
PresentationFramework.Classic (3)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (3)
1202_tabCache.Transform = new MatrixTransform(new Matrix(0.0, 1.0, 1.0, 0.0, xOffset, yOffset)); 1205_tabCache.Transform = new MatrixTransform(new Matrix(0.0, -1.0, -1.0, 0.0, xOffset, yOffset)); 1208_tabCache.Transform = new MatrixTransform(new Matrix(-1.0, 0.0, 0.0, -1.0, xOffset, yOffset));
PresentationFramework.Luna (3)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
94Matrix m1 = new Matrix(); 96Matrix m2 = new Matrix();
Microsoft\Windows\Themes\ScrollChrome.cs (1)
590Matrix matrix = new Matrix();
PresentationFramework.Royale (3)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
50Matrix m1 = new Matrix(); 52Matrix m2 = new Matrix();
Microsoft\Windows\Themes\ScrollChrome.cs (1)
550Matrix matrix = new Matrix();
WindowsBase (9)
Base\System\Windows\Media\Generated\Matrix.cs (1)
208value = new Matrix(
Base\System\Windows\Media\Matrix.cs (6)
786Matrix matrix = new Matrix(); 810Matrix matrix = new Matrix(); 827Matrix matrix = new Matrix(); 842Matrix matrix = new Matrix(); 859Matrix matrix = new Matrix(); 877Matrix matrix = new Matrix();
Shared\MS\Internal\MatrixUtil.cs (2)
232matrix1 = new Matrix( 260matrix = new Matrix(1, 0, 0, 1, offsetX, offsetY);
397 references to Matrix
PresentationCore (271)
Core\CSharp\MS\Internal\AnimatedTypeHelpers.cs (3)
419internal static Double GetSegmentLengthMatrix(Matrix from, Matrix to) 655internal static bool IsValidAnimationValueMatrix(Matrix value)
Core\CSharp\MS\Internal\Ink\EllipticalNodeOperations.cs (3)
834private Matrix _transform; 835private Matrix _nodeShapeToCircle; 836private Matrix _circleToNodeShape;
Core\CSharp\MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (2)
560Matrix matrix = Matrix.Identity;
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\CustomAttributeSerializer.cs (5)
874if ( t != typeof(String) && t != typeof(Matrix) ) 876throw new ArgumentException(SR.Get(SRID.InvalidValueType1, typeof(String), typeof(Matrix)), "value"); 878else if ( t == typeof(Matrix) ) 880Matrix matrix = (Matrix)value;
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (4)
298Matrix matrix = Matrix.Parse((string)data); 610Matrix matrix = (Matrix)epcClone[x].Value;
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (3)
338Matrix currentTabletToInkTransform = Matrix.Identity; 1412private Matrix LoadTransform(TransformDescriptor tdrd)
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\StrokeSerializer.cs (3)
69Matrix transform, 156Matrix transform, 384Matrix transform,
Core\CSharp\MS\Internal\Ink\StrokeRenderer.cs (2)
224Matrix stylusTipTransform = drawingAttributes.StylusTipTransform; 225if (stylusTipTransform != Matrix.Identity && stylusTipTransform._type != MatrixTypes.TRANSFORM_IS_SCALING)
Core\CSharp\MS\Internal\Ink\StylusShape.cs (7)
38private Matrix _transform = Matrix.Identity; 159internal Matrix Transform 226Matrix rotationTransform = Matrix.Identity; 306Matrix transform = Matrix.Identity;
Core\CSharp\MS\Internal\Media3D\M3DUtil.cs (1)
492internal static Matrix GetHomogeneousToViewportTransform(Rect viewport)
Core\CSharp\System\Windows\Ink\DrawingAttributes.cs (9)
130public Matrix StylusTipTransform 137Debug.Assert(Matrix.Identity == (Matrix)GetDefaultDrawingAttributeValue(KnownIds.StylusTipTransform)); 138return Matrix.Identity; 140return (Matrix)GetExtendedPropertyBackedProperty(KnownIds.StylusTipTransform); 144Matrix m = (Matrix) value; 695return Matrix.Identity; 724throw new ArgumentException(SR.Get(SRID.InvalidValueType, typeof(Matrix)), "propertyData");
Core\CSharp\System\Windows\Ink\Stroke.cs (4)
158public virtual void Transform(Matrix transformMatrix, bool applyToStylusTip) 199Matrix newMatrix = _drawingAttributes.StylusTipTransform; 1143internal static bool ContainsNaN(Matrix matrix) 1158internal static bool ContainsInfinity(Matrix matrix)
Core\CSharp\System\Windows\Ink\Stroke2.cs (4)
429Matrix innerTransform, outerTransform; 725private static void CalcHollowTransforms(DrawingAttributes originalDa, out Matrix innerTransform, out Matrix outerTransform) 730innerTransform = outerTransform = Matrix.Identity;
Core\CSharp\System\Windows\Ink\StrokeCollection.cs (1)
244public void Transform(Matrix transformMatrix, bool applyToStylusTip)
Core\CSharp\System\Windows\Input\InputElement.cs (2)
278Matrix mUp; 342Matrix mDown;
Core\CSharp\System\Windows\Interop\HwndTarget.cs (6)
2523public override Matrix TransformToDevice 2528Matrix m = Matrix.Identity; 2538public override Matrix TransformFromDevice 2543Matrix m = Matrix.Identity;
Core\CSharp\System\Windows\Media\Animation\AnimationStorage.cs (1)
1133else if (type == typeof(Matrix))
Core\CSharp\System\Windows\Media\Animation\Generated\DiscreteKeyFrames.cs (4)
736public DiscreteMatrixKeyFrame(Matrix value) 744public DiscreteMatrixKeyFrame(Matrix value, KeyTime keyTime) 772protected override Matrix InterpolateValueCore(Matrix baseValue, double keyFrameProgress)
Core\CSharp\System\Windows\Media\Animation\Generated\KeyFrames.cs (10)
1344protected MatrixKeyFrame(Matrix value) 1353protected MatrixKeyFrame(Matrix value, KeyTime keyTime) 1396typeof(Matrix), 1411Value = (Matrix)value; 1418public Matrix Value 1422return (Matrix)GetValue(ValueProperty); 1439public Matrix InterpolateValue( 1440Matrix baseValue, 1460protected abstract Matrix InterpolateValueCore( 1461Matrix baseValue,
Core\CSharp\System\Windows\Media\Animation\Generated\MatrixAnimationBase.cs (9)
103return GetCurrentValue((Matrix)defaultOriginValue, (Matrix)defaultDestinationValue, animationClock); 115return typeof(Matrix); 152public Matrix GetCurrentValue(Matrix defaultOriginValue, Matrix defaultDestinationValue, AnimationClock animationClock) 215protected abstract Matrix GetCurrentValueCore(Matrix defaultOriginValue, Matrix defaultDestinationValue, AnimationClock animationClock);
Core\CSharp\System\Windows\Media\Animation\Generated\MatrixAnimationUsingKeyFrames.cs (8)
331protected sealed override Matrix GetCurrentValueCore( 332Matrix defaultOriginValue, 333Matrix defaultDestinationValue, 359Matrix currentIterationValue; 395Matrix fromValue; 551private Matrix GetResolvedKeyFrameValue(Int32 resolvedKeyFrameIndex) 862Matrix prevKeyValue = _keyFrames[index - 1].Value; 866Matrix currentKeyValue = _keyFrames[index].Value;
Core\CSharp\System\Windows\Media\Animation\Generated\MatrixIndependentAnimationStorage.cs (2)
61Matrix tempValue = (Matrix)dobj.GetValue(_dependencyProperty);
Core\CSharp\System\Windows\Media\Animation\MatrixAnimationUsingPath.cs (5)
256protected override Matrix GetCurrentValueCore(Matrix defaultOriginValue, Matrix defaultDestinationValue, AnimationClock animationClock) 284Matrix matrix = new Matrix(); 307return Matrix.Multiply(matrix, defaultOriginValue);
Core\CSharp\System\Windows\Media\ArcSegment.cs (1)
76Matrix matrix, // The transformation matrid
Core\CSharp\System\Windows\Media\BezierSegment.cs (1)
68Matrix matrix, // The transformation matrid
Core\CSharp\System\Windows\Media\BoundsDrawingContextWalker.cs (10)
61_transform = Matrix.Identity; 96Matrix.Identity, // geometry transform 134Matrix.Identity, // geometry transform 182Matrix.Identity, // geometry transform 232Matrix.Identity, // geometry transform 414_transformStack = new Stack<Matrix>(2); 423Matrix newValue = Matrix.Identity; 662private Matrix _transform; 670private Stack<Matrix> _transformStack;
Core\CSharp\System\Windows\Media\CombinedGeometry.cs (2)
139internal override Rect GetBoundsInternal(Pen pen, Matrix matrix, double tolerance, ToleranceType type) 168Matrix matrix = transform.Value;
Core\CSharp\System\Windows\Media\Composition.cs (5)
92internal static MilMatrix4x4D MatrixToMilMatrix4x4D(Matrix m) 152Matrix m = t.Value; 165internal static MilMatrix3x2D MatrixToMilMatrix3x2D(Matrix m) 170internal static MilMatrix3x2D MatrixToMilMatrix3x2D(ref Matrix m) 196internal static Matrix MilMatrix3x2DToMatrix(ref MilMatrix3x2D m)
Core\CSharp\System\Windows\Media\CompositionTarget.cs (6)
215public abstract Matrix TransformToDevice { get; } 221public abstract Matrix TransformFromDevice { get; } 249_worldTransform = (Matrix)argArray[1]; 409internal Matrix WorldTransform 600private Matrix _worldTransform = Matrix.Identity;
Core\CSharp\System\Windows\Media\EllipseGeometry.cs (7)
120Matrix geometryMatrix; 126Matrix.Identity, 144internal override Rect GetBoundsInternal(Pen pen, Matrix matrix, double tolerance, ToleranceType type) 146Matrix geometryMatrix; 166internal static Rect GetBoundsHelper(Pen pen, Matrix worldMatrix, Point center, double radiusX, double radiusY, 167Matrix geometryMatrix, double tolerance, ToleranceType type) 290Matrix matrix = GetCombinedMatrix(transform);
Core\CSharp\System\Windows\Media\GeneralTransformGroup.cs (2)
143Matrix matrix = Matrix.Identity;
Core\CSharp\System\Windows\Media\Generated\MatrixTransform.cs (4)
104public Matrix Matrix 108return (Matrix) GetValue(MatrixProperty); 287internal static Matrix s_Matrix = new Matrix(); 314typeof(Matrix),
Core\CSharp\System\Windows\Media\Generated\PolyBezierSegmentFigureLogic.cs (1)
83Matrix matrix, // The transformation matrix
Core\CSharp\System\Windows\Media\Generated\PolyLineSegmentFigureLogic.cs (1)
83Matrix matrix, // The transformation matrix
Core\CSharp\System\Windows\Media\Generated\PolyQuadraticBezierSegmentFigureLogic.cs (1)
83Matrix matrix, // The transformation matrix
Core\CSharp\System\Windows\Media\Geometry.cs (13)
71Matrix.Identity, 102Matrix matrix = Matrix.Identity; 114Matrix matrix = Matrix.Identity; 137internal virtual Rect GetBoundsInternal(Pen pen, Matrix matrix, double tolerance, ToleranceType type) 159internal Rect GetBoundsInternal(Pen pen, Matrix matrix) 171Matrix *pWorldMatrix, 176Matrix *pGeometryMatrix, 958internal Matrix GetCombinedMatrix(Transform transform) 960Matrix matrix = Matrix.Identity; 1072data.Matrix = CompositionResourceManager.MatrixToMilMatrix3x2D(Matrix.Identity);
Core\CSharp\System\Windows\Media\GeometryHitTestParameters.cs (4)
131internal void PushMatrix(ref Matrix newMatrix) 137Matrix composedMatrix = matrixTransform.Value; 153Matrix matrix = _matrixStack.Peek(); 171Matrix matrix = ((MatrixTransform) (_hitGeometryInternal.Transform)).Matrix;
Core\CSharp\System\Windows\Media\GlyphRun.cs (1)
1772internal Scale(ref Matrix matrix)
Core\CSharp\System\Windows\Media\GlyphTypeface.cs (1)
1643pathGeoData.Matrix = CompositionResourceManager.MatrixToMilMatrix3x2D(Matrix.Identity);
Core\CSharp\System\Windows\Media\HitTestWithGeometryDrawingContextWalker.cs (1)
281Matrix combined = _currentTransform.Value * transform.Value;
Core\CSharp\System\Windows\Media\HitTestWithPointDrawingContextWalker.cs (1)
212Matrix matrix = transform.Value;
Core\CSharp\System\Windows\Media\Imaging\BitmapVisualManager.cs (2)
66Render(visual, Matrix.Identity, Rect.Empty); 83internal void Render(Visual visual, Matrix worldTransform, Rect windowClip)
Core\CSharp\System\Windows\Media\Imaging\TransformedBitmap.cs (2)
122Matrix m = newTransform.Value; 143Matrix m = newTransform.Value;
Core\CSharp\System\Windows\Media\LineGeometry.cs (6)
92internal override Rect GetBoundsInternal(Pen pen, Matrix worldMatrix, double tolerance, ToleranceType type) 94Matrix geometryMatrix; 113internal static Rect GetBoundsHelper(Pen pen, Matrix worldMatrix, Point pt1, Point pt2, 114Matrix geometryMatrix, double tolerance, ToleranceType type) 235Matrix matrix = internalTransform.Value; 244Matrix matrix = transform.Value;
Core\CSharp\System\Windows\Media\LineSegment.cs (1)
66Matrix matrix, // The transformation matrid
Core\CSharp\System\Windows\Media\MatrixStack.cs (8)
20private Matrix[] _items; 38_items = new Matrix[s_initialSize]; 50Matrix[] newItems = new Matrix[s_growFactor * _size]; 63public void Push(ref Matrix matrix, bool combine) 146_items[_size] = Matrix.Identity; 175public Matrix Peek() 208_items = new Matrix[newSize];
Core\CSharp\System\Windows\Media\MatrixTransform.cs (5)
70public MatrixTransform(Matrix matrix) 80public override Matrix Value 126Matrix matrix = Matrix; 130internal override void MultiplyValueByMatrix(ref Matrix result, ref Matrix matrixToMultiplyBy)
Core\CSharp\System\windows\Media\MILUtilities.cs (2)
41/* in */ Matrix* matrix, 83/* out */ Matrix* matrix
Core\CSharp\System\Windows\Media\Parsers.cs (2)
311Matrix matrix = Matrix.Parse(transformString);
Core\CSharp\System\Windows\Media\PathFigure.cs (1)
144internal PathFigure GetTransformedCopy(Matrix matrix)
Core\CSharp\System\Windows\Media\PathGeometry.cs (4)
358Matrix matrix = GetCombinedMatrix(transform); 762Matrix.Identity, 781Matrix worldMatrix, 819Matrix worldMatrix,
Core\CSharp\System\Windows\Media\PathSegment.cs (1)
43Matrix matrix, // The transformation matrid
Core\CSharp\System\Windows\Media\QuadraticBezierSegment.cs (1)
68Matrix matrix, // The transformation matrid
Core\CSharp\System\Windows\Media\RectangleGeometry.cs (7)
123Matrix geometryMatrix; 129Matrix.Identity, 172internal override Rect GetBoundsInternal(Pen pen, Matrix worldMatrix, double tolerance, ToleranceType type) 174Matrix geometryMatrix; 194internal static Rect GetBoundsHelper(Pen pen, Matrix worldMatrix, Rect rect, double radiusX, double radiusY, 195Matrix geometryMatrix, double tolerance, ToleranceType type) 337Matrix matrix = GetCombinedMatrix(transform);
Core\CSharp\System\Windows\Media\Renderer.cs (3)
46Render(pRenderTarget, channel, visual, width, height, dpiX, dpiY, Matrix.Identity, Rect.Empty); 66Matrix worldTransform, 78Matrix deviceTransform = new Matrix(
Core\CSharp\System\Windows\Media\RotateTransform.cs (2)
66public override Matrix Value 72Matrix m = new Matrix();
Core\CSharp\System\Windows\Media\ScaleTransform.cs (5)
71public override Matrix Value 77Matrix m = new Matrix(); 130internal override void MultiplyValueByMatrix(ref Matrix result, ref Matrix matrixToMultiplyBy) 132result = Matrix.Identity;
Core\CSharp\System\Windows\Media\SkewTransform.cs (2)
62public override Matrix Value 68Matrix matrix = new Matrix();
Core\CSharp\System\Windows\Media\StreamGeometry.cs (1)
212Matrix.Identity,
Core\CSharp\System\Windows\Media\TileBrush.cs (5)
77out Matrix tileBrushMapping 85tileBrushMapping = Matrix.Identity; 116Matrix transformValue; 117Matrix relativeTransformValue; 166Matrix contentToShape;
Core\CSharp\System\Windows\Media\Transform.cs (10)
55Transform identity = new MatrixTransform(Matrix.Identity); 65public abstract Matrix Value { get; } 81Matrix matrix = Value; 90internal virtual void MultiplyValueByMatrix(ref Matrix result, ref Matrix matrixToMultiplyBy) 104Matrix matrix = Value; 121out Matrix currentTransformValue 130currentTransformValue = Matrix.Identity; 142Matrix m = Value; 169Matrix matrix = Value;
Core\CSharp\System\Windows\Media\TransformGroup.cs (2)
50public override Matrix Value 62Matrix transform = children.Internal_GetItem(0).Value;
Core\CSharp\System\Windows\Media\TranslateTransform.cs (6)
60public override Matrix Value 66Matrix matrix = Matrix.Identity; 100internal override void MultiplyValueByMatrix(ref Matrix result, ref Matrix matrixToMultiplyBy) 102result = Matrix.Identity;
Core\CSharp\System\Windows\Media\Visual.cs (20)
602Matrix m = transform.Value; 1137Matrix m = transform.Value; 2146Matrix inv = childTransform.Value; 2208Matrix m = Matrix.Identity; 2224Matrix cm = affineTransform.Value; 2245Matrix cm = transform.Value; 2344Matrix inv = Matrix.Identity; 2350Matrix m = childTransform.Value; 4433Matrix m0; 4441Matrix m1; 4494Matrix simpleTransform; 4528out Matrix simpleTransform) 4536Matrix m = Matrix.Identity; 4576Matrix cm = affineTransform.Value; 4587m = Matrix.Identity; 4597Matrix cm = transform.Value; 4617m = Matrix.Identity;
Core\CSharp\System\Windows\Media\VisualTarget.cs (3)
127public override Matrix TransformToDevice 132Matrix m = WorldTransform; 142public override Matrix TransformFromDevice
Core\CSharp\System\Windows\Media3D\Viewport3DVisual.cs (1)
594Matrix homoToLocal = M3DUtil.GetHomogeneousToViewportTransform(viewport);
Shared\MS\Internal\PointUtil.cs (9)
124Matrix m = GetVisualTransform(v); 150internal static Matrix GetVisualTransform(Visual v) 154Matrix m = Matrix.Identity; 159Matrix cm = transform.Value; 160m = Matrix.Multiply(m, cm); 169return Matrix.Identity; 281Matrix matrixRootTransform = PointUtil.GetVisualTransform(target.RootVisual); 283Matrix matrixDPI = target.TransformToDevice;
PresentationFramework (59)
src\Framework\MS\Internal\Ink\ClipboardProcessor.cs (3)
164Matrix transform = Matrix.Identity; 342private bool CopySelectionInXAML(IDataObject dataObject, StrokeCollection strokes, List<UIElement> elements, Matrix transform, Size size)
src\Framework\MS\Internal\Ink\EditBehavior.cs (2)
226protected Matrix GetElementTransformMatrix() 230Matrix xf = layoutTransform.Value;
src\Framework\MS\Internal\Ink\EraserBehavior.cs (2)
295Matrix xf = GetElementTransformMatrix(); 307xf = Matrix.Identity;
src\Framework\MS\Internal\Ink\InkCanvasSelection.cs (5)
377internal void UpdateElementBounds(UIElement element, Matrix transform) 390internal void UpdateElementBounds(UIElement originalElement, UIElement updatedElement, Matrix transform) 507internal void TransformStrokes(StrokeCollection strokes, Matrix matrix) 741Matrix matrix = InkCanvasSelection.MapRectToRect(newRect, previousRect); 937private static Matrix MapRectToRect(Rect target, Rect source)
src\Framework\MS\Internal\Ink\InkCollectionBehavior.cs (1)
402Matrix xf = GetElementTransformMatrix();
src\Framework\MS\Internal\Ink\PenCursorManager.cs (5)
69internal static Cursor GetPointEraserCursor(StylusShape stylusShape, Matrix tranform, double dpiScaleX, double dpiScaleY) 98Matrix rotationMatrix = Matrix.Identity; 413singleStroke.DrawingAttributes.StylusTipTransform = Matrix.Identity; 419Matrix xf = singleStroke.DrawingAttributes.StylusTipTransform;
src\Framework\System\Windows\Controls\Primitives\Popup.cs (8)
1814Matrix popupTransform = LayoutTransform.Value * RenderTransform.Value; 3107Matrix transform = PointUtil.GetVisualTransform(rootVisual) * ct.TransformToDevice; 3172internal Matrix GetTransformToDevice() 3180return Matrix.Identity; 3188internal static Matrix GetTransformToDevice(Visual targetVisual) 3205return Matrix.Identity; 3213internal Matrix GetTransformFromDevice() 3221return Matrix.Identity;
src\Framework\System\Windows\Documents\AdornerLayer.cs (1)
989Matrix matrix;
src\Framework\System\Windows\Documents\FixedSOMElement.cs (2)
180internal Matrix Matrix 201protected Matrix _mat;
src\Framework\System\Windows\Documents\FixedSOMFixedBlock.cs (2)
118public Matrix Matrix 261private Matrix _matrix; //This matrix is to keep track of rotation and scale. Offsets are not stored
src\Framework\System\Windows\Documents\FixedSOMPageConstructor.cs (7)
44private Matrix _transform; // Transformation from page root 62public void FindLines(StreamGeometry geometry, bool stroke, bool fill, Matrix trans) 285public void ProcessPath(Path path, Matrix transform) 853public void _AddLine(Point startP, Point endP, Matrix transform) 926internal bool _ProcessFilledRect(Matrix transform, Rect bounds) 950private void _ProcessSolidPath(Matrix transform, PathGeometry pathGeom) 968private void _ProcessOutlinePath(Matrix transform, PathGeometry pathGeom)
src\Framework\System\Windows\Documents\FixedSOMTextRun.cs (2)
59Matrix inversionMat = _mat; 146Matrix mat = trans.Value;
src\Framework\System\Windows\Documents\FixedTextBuilder.cs (2)
920Matrix.Identity); 958Matrix transform
src\Framework\System\Windows\Documents\TextStore.cs (1)
2752Matrix tf = t.Value;
src\Framework\System\Windows\FrameworkElement.cs (2)
4158Matrix trMatrix = layoutTransform.Value; 4975Matrix m = ltd.Transform.Value;
src\Framework\System\Windows\Input\KeyboardNavigation.cs (1)
773!Matrix.Equals(((MatrixTransform)oldTransform).Matrix, ((MatrixTransform)_hostToAdornedElement).Matrix))
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
477case 385: t = () => typeof(Matrix); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
6592typeof(System.Windows.Media.Matrix),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5929case KnownElements.Matrix: t = typeof(System.Windows.Media.Matrix); break;
src\Framework\System\Windows\Shapes\Shape.cs (6)
567Matrix stretchMatrix = Matrix.Identity; 759Matrix stretchMatrix = (boxedStretchMatrix == null) ? Matrix.Identity : boxedStretchMatrix.Value; 787public BoxedMatrix(Matrix value) 792public Matrix Value;
src\Framework\System\Windows\Standard\DpiHelper.cs (4)
15private static Matrix _transformToDevice; 17private static Matrix _transformToDip; 26_transformToDevice = Matrix.Identity; 38_transformToDip = Matrix.Identity;
PresentationFramework.Aero (3)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
55Matrix m1 = new Matrix(); 57Matrix m2 = new Matrix();
Microsoft\Windows\Themes\ScrollChrome.cs (1)
731Matrix matrix = new Matrix();
PresentationFramework.Luna (3)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
94Matrix m1 = new Matrix(); 96Matrix m2 = new Matrix();
Microsoft\Windows\Themes\ScrollChrome.cs (1)
590Matrix matrix = new Matrix();
PresentationFramework.Royale (3)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
50Matrix m1 = new Matrix(); 52Matrix m2 = new Matrix();
Microsoft\Windows\Themes\ScrollChrome.cs (1)
550Matrix matrix = new Matrix();
System.Activities.Core.Presentation (2)
System\Activities\Core\Presentation\FreeFormPanelUtilities.cs (2)
20Matrix matrix = trf != null ? trf.Value : Matrix.Identity;
WindowsBase (56)
Base\System\Windows\Media\Converters\Generated\MatrixValueSerializer.cs (5)
52if (!(value is Matrix)) 68return Matrix.Parse(value ); 82if (value is Matrix) 84Matrix instance = (Matrix) value;
Base\System\Windows\Media\Generated\Matrix.cs (14)
63public static bool operator == (Matrix matrix1, Matrix matrix2) 91public static bool operator != (Matrix matrix1, Matrix matrix2) 107public static bool Equals (Matrix matrix1, Matrix matrix2) 137if ((null == o) || !(o is Matrix)) 142Matrix value = (Matrix)o; 143return Matrix.Equals(this,value); 157public bool Equals(Matrix value) 159return Matrix.Equals(this, value); 190public static Matrix Parse(string source) 196Matrix value;
Base\System\Windows\Media\Generated\MatrixConverter.cs (4)
96return Matrix.Parse(source); 118if (destinationType != null && value is Matrix) 120Matrix instance = (Matrix)value;
Base\System\Windows\Media\Matrix.cs (23)
66private static Matrix s_identity = CreateIdentity(); 101public static Matrix Identity 135public static Matrix operator *(Matrix trans1, Matrix trans2) 145public static Matrix Multiply(Matrix trans1, Matrix trans2) 160public void Append(Matrix matrix) 169public void Prepend(Matrix matrix) 773internal static Matrix CreateRotationRadians(double angle) 784internal static Matrix CreateRotationRadians(double angle, double centerX, double centerY) 786Matrix matrix = new Matrix(); 808internal static Matrix CreateScaling(double scaleX, double scaleY, double centerX, double centerY) 810Matrix matrix = new Matrix(); 825internal static Matrix CreateScaling(double scaleX, double scaleY) 827Matrix matrix = new Matrix(); 840internal static Matrix CreateSkewRadians(double skewX, double skewY) 842Matrix matrix = new Matrix(); 857internal static Matrix CreateTranslation(double offsetX, double offsetY) 859Matrix matrix = new Matrix(); 875private static Matrix CreateIdentity() 877Matrix matrix = new Matrix();
Base\System\Windows\Point.cs (2)
134public static Point operator * (Point point, Matrix matrix) 142public static Point Multiply(Point point, Matrix matrix)
Base\System\Windows\Rect.cs (2)
713public static Rect Transform(Rect rect, Matrix matrix) 725public void Transform(Matrix matrix)
Base\System\Windows\Vector.cs (2)
232public static Vector operator * (Vector vector, Matrix matrix) 240public static Vector Multiply(Vector vector, Matrix matrix)
Shared\MS\Internal\MatrixUtil.cs (4)
54internal static void TransformRect(ref Rect rect, ref Matrix matrix) 128internal static void MultiplyMatrix(ref Matrix matrix1, ref Matrix matrix2) 254ref Matrix matrix,