78 instantiations of RectangleGeometry
PresentationCore (14)
System\Windows\Input\Stylus\Common\DynamicRenderer.cs (1)
217_zeroSizedFrozenRect = new RectangleGeometry(new Rect(0,0,0,0));
System\Windows\Media\DrawingDrawingContext.cs (2)
188RectangleGeometry geometry = new RectangleGeometry(rectangle) 309RectangleGeometry geometry = new RectangleGeometry(rectangle, radiusX, radiusY)
System\Windows\Media\FormattedText.cs (2)
1646RectangleGeometry rectangleGeometry = new RectangleGeometry(rect); 1962geometry = new RectangleGeometry(bound);
System\Windows\Media\Generated\RectangleGeometry.cs (1)
152return new RectangleGeometry();
System\Windows\Media\HitTestDrawingContextWalker.cs (4)
73DrawGeometry(brush, pen, new RectangleGeometry(rectangle)); 106DrawGeometry(brush, pen, new RectangleGeometry(rectangle, radiusX, radiusY)); 171DrawGeometry(imageBrush, pen: null, new RectangleGeometry(rectangle)); 193DrawGeometry(Brushes.Black, pen: null, new RectangleGeometry(rectangle));
System\Windows\Media\HitTestWithGeometryDrawingContextWalker.cs (1)
170DrawGeometry(Brushes.Black, pen: null, new RectangleGeometry(rectangle));
System\Windows\Media\Visual.cs (2)
2296RectangleGeometry rectClip = new RectangleGeometry(scrollClip.Value); 2421RectangleGeometry contentGeometry = new RectangleGeometry(GetHitTestBounds());
System\Windows\UIElement.cs (1)
3326RectangleGeometry rect = new RectangleGeometry(new Rect(RenderSize));
PresentationFramework (36)
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (2)
288rectGeometry = new RectangleGeometry(hatchRect); 301rectGeometry = new RectangleGeometry(new Rect(0, 0, RenderSize.Width, RenderSize.Height));
MS\Internal\Documents\TextBoxView.cs (7)
707CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect)); 2020CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect)); 2054CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect)); 2068CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect)); 2116CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect)); 2133CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect)); 2147CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect));
MS\Internal\PtsHost\CellParaClient.cs (1)
319geometry = new RectangleGeometry(_rect.FromTextDpi());
MS\Internal\PtsHost\PtsHelper.cs (1)
61((ContainerVisual)visualChildren[index]).Clip = new RectangleGeometry(rect);
MS\Internal\PtsHost\TableParaClient.cs (1)
182Visual.Clip = new RectangleGeometry(_columnRect.FromTextDpi());
MS\Internal\PtsHost\TextParaClient.cs (3)
1904RectangleGeometry rectGeometry = new RectangleGeometry(rectangles[i]); 2016RectangleGeometry rectGeometry = new RectangleGeometry(rectangles[i]); 2350RectangleGeometry objectGeometry = new RectangleGeometry(objectRect);
MS\Internal\PtsHost\UIElementParaClient.cs (1)
144return new RectangleGeometry(_rect.FromTextDpi());
System\Windows\Controls\Canvas.cs (1)
338return new RectangleGeometry(new Rect(RenderSize));
System\Windows\Controls\DataGridCellsPanel.cs (1)
2448private RectangleGeometry _childClipForFrozenBehavior = new RectangleGeometry();
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (1)
177RectangleGeometry clip = new RectangleGeometry(new Rect(RenderSize));
System\Windows\Controls\Primitives\ScrollContentPresenter.cs (1)
506return new RectangleGeometry(new Rect(RenderSize));
System\Windows\Controls\TextBlock.cs (1)
2333RectangleGeometry rectGeometry = new RectangleGeometry(rect);
System\windows\Documents\CaretElement.cs (1)
495Geometry viewportGeometry = new RectangleGeometry(viewport);
System\Windows\Documents\FixedTextBuilder.cs (2)
1287g = new RectangleGeometry(designRect); 1297g = new RectangleGeometry(new Rect(0, 0, im.Width, im.Height));
System\Windows\Documents\FixedTextView.cs (1)
278Geometry thisGeometry = new RectangleGeometry(backgroundRect)
System\Windows\Documents\HighlightVisual.cs (3)
84dc.PushClip(new RectangleGeometry(clipRect)); 225Geometry thisGeometry = new RectangleGeometry(backgroundRect) 308dc.PushClip(new RectangleGeometry(clipRect));
System\Windows\FrameworkElement.cs (4)
4939RectangleGeometry localClip = new RectangleGeometry(clipRect); 4960RectangleGeometry slotClip = new RectangleGeometry(slotClipRect); 4977RectangleGeometry localClip = new RectangleGeometry(localClipRect); 5018RectangleGeometry combinedClip = new RectangleGeometry(slotRect);
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9149DefaultConstructor = delegate () { return new System.Windows.Media.RectangleGeometry(); },
System\Windows\Markup\KnownTypes.cs (1)
1490case KnownElements.RectangleGeometry: o = new System.Windows.Media.RectangleGeometry(); break;
System\Windows\Shapes\Rectangle.cs (2)
104return new RectangleGeometry(_rect, RadiusX, RadiusY); 223return new RectangleGeometry(_rect, RadiusX, RadiusY);
ReachFramework (28)
AlphaFlattener\BrushProxy.cs (9)
670return IsDrawingOpaque(GetDrawingPrimitive(), new RectangleGeometry(vb), Matrix.Identity); 742Geometry viewboxGeometry = new RectangleGeometry(vb, 0, 0, new MatrixTransform(viewboxToViewportTransformHint)); 1473geometry = new RectangleGeometry(new Rect(0, 0, 1, 1)); 1478geometry = new RectangleGeometry(bounds); 1506geometry = new RectangleGeometry(new Rect(0, 0, 1, 1)); 1511geometry = new RectangleGeometry(bounds); 1566childGeometry = new RectangleGeometry(childBounds); 3043new RectangleGeometry(visualBounds) 3140new RectangleGeometry(visualBounds)
AlphaFlattener\Flattener.cs (1)
1251clip = new RectangleGeometry(new Rect(0, 0, width, height));
AlphaFlattener\Primitive.cs (10)
431Geometry = new RectangleGeometry(id.Rect) 970tilePrimitive.Clip = new RectangleGeometry(tileBounds); 977tilePrimitive.Clip = new RectangleGeometry( 1406RectangleGeometry viewportGeometry = new RectangleGeometry(tb.Viewport) 1448RectangleGeometry contentGeometry = new RectangleGeometry(content) 1462Geometry = new RectangleGeometry(tb.Viewport) 1705_bounds = new RectangleGeometry(GetRectBounds(true)); 1833return Utility.TransformGeometry(new RectangleGeometry(DstRect), Transform); 1842Clip = Utility.TransformGeometry(new RectangleGeometry(DstRect), Transform); 1931Geometry dest = Utility.TransformGeometry(new RectangleGeometry(DstRect), Transform);
AlphaFlattener\PrimitiveRenderer.cs (3)
32bounds = Utility.TransformGeometry(new RectangleGeometry(dest), trans); 114if ((_overlapping != null) && FindIntersection(new RectangleGeometry(bounds), ref start, out topPI, out topBounds, out inter)) 469Geometry clip = Utility.Intersect(inter, Utility.TransformGeometry(new RectangleGeometry(ip.DstRect), ip.Transform), ip.Transform, out empty);
AlphaFlattener\Utility.cs (1)
714IntersectionDetail detail = one.FillContainsWithDetail(new RectangleGeometry(bounds2));
Serialization\DrawingContextFlattener.cs (1)
291DrawGeometry(new DrawingBrush(drawingImage.Drawing), null, new RectangleGeometry(rectangle));
Serialization\Manager\ReachSerializationUtils.cs (1)
935geometry.AddGeometry(new RectangleGeometry(rect, 0, 0, transform));
Serialization\VisualSerializer.cs (2)
1940((IMetroDrawingContext)this).DrawGeometry(brush, null, new RectangleGeometry(rectangle)); 1945((IMetroDrawingContext)this).DrawGeometry(null, null, new RectangleGeometry(rectangle));
50 references to RectangleGeometry
PresentationCore (31)
System\Windows\Media\BoundsDrawingContextWalker.cs (2)
111Rect geometryBounds = RectangleGeometry.GetBoundsHelper( 159Rect geometryBounds = RectangleGeometry.GetBoundsHelper(
System\Windows\Media\DrawingDrawingContext.cs (6)
188RectangleGeometry geometry = new RectangleGeometry(rectangle) 207geometry.ApplyAnimationClock(RectangleGeometry.RectProperty, rectangleAnimations); 309RectangleGeometry geometry = new RectangleGeometry(rectangle, radiusX, radiusY) 330geometry.ApplyAnimationClock(RectangleGeometry.RectProperty, rectangleAnimations); 335geometry.ApplyAnimationClock(RectangleGeometry.RadiusXProperty, radiusXAnimations); 340geometry.ApplyAnimationClock(RectangleGeometry.RadiusYProperty, radiusYAnimations);
System\Windows\Media\FormattedText.cs (1)
1646RectangleGeometry rectangleGeometry = new RectangleGeometry(rect);
System\Windows\Media\Generated\RectangleGeometry.cs (11)
41public new RectangleGeometry Clone() 43return (RectangleGeometry)base.Clone(); 50public new RectangleGeometry CloneCurrentValue() 52return (RectangleGeometry)base.CloneCurrentValue(); 68RectangleGeometry target = ((RectangleGeometry) d); 75RectangleGeometry target = ((RectangleGeometry) d); 82RectangleGeometry target = ((RectangleGeometry) d); 365Type typeofThis = typeof(RectangleGeometry);
System\Windows\Media\RectangleGeometry.cs (8)
109boundsRect = RectangleGeometry.GetBoundsHelper( 127RectangleGeometry rectGeometry2 = geometry as RectangleGeometry; 131RectangleGeometry rectGeometry1 = this; 160return RectangleGeometry.GetBoundsHelper( 208RectangleGeometry.GetPointList(pPoints, pointCount, rect, radiusX, radiusY); 247RectangleGeometry.GetPointList(pPoints, pointCount, rect, radiusX, radiusY); 450RectangleGeometry.GetPointList(pPoints, pointCount, rect, radiusX, radiusY);
System\Windows\Media\Visual.cs (2)
2296RectangleGeometry rectClip = new RectangleGeometry(scrollClip.Value); 2421RectangleGeometry contentGeometry = new RectangleGeometry(GetHitTestBounds());
System\Windows\UIElement.cs (1)
3326RectangleGeometry rect = new RectangleGeometry(new Rect(RenderSize));
PresentationFramework (13)
MS\Internal\PtsHost\TextParaClient.cs (3)
1904RectangleGeometry rectGeometry = new RectangleGeometry(rectangles[i]); 2016RectangleGeometry rectGeometry = new RectangleGeometry(rectangles[i]); 2350RectangleGeometry objectGeometry = new RectangleGeometry(objectRect);
System\Windows\Controls\DataGridCellsPanel.cs (1)
2448private RectangleGeometry _childClipForFrozenBehavior = new RectangleGeometry();
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (1)
177RectangleGeometry clip = new RectangleGeometry(new Rect(RenderSize));
System\Windows\Controls\TextBlock.cs (1)
2333RectangleGeometry rectGeometry = new RectangleGeometry(rect);
System\Windows\FrameworkElement.cs (4)
4939RectangleGeometry localClip = new RectangleGeometry(clipRect); 4960RectangleGeometry slotClip = new RectangleGeometry(slotClipRect); 4977RectangleGeometry localClip = new RectangleGeometry(localClipRect); 5018RectangleGeometry combinedClip = new RectangleGeometry(slotRect);
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
608case 515: t = () => typeof(RectangleGeometry); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9146typeof(System.Windows.Media.RectangleGeometry),
System\Windows\Markup\KnownTypes.cs (1)
6062case KnownElements.RectangleGeometry: t = typeof(System.Windows.Media.RectangleGeometry); break;
ReachFramework (6)
AlphaFlattener\BrushProxy.cs (1)
1499RectangleGeometry geometry = null;
AlphaFlattener\Primitive.cs (2)
1406RectangleGeometry viewportGeometry = new RectangleGeometry(tb.Viewport) 1448RectangleGeometry contentGeometry = new RectangleGeometry(content)
AlphaFlattener\Utility.cs (3)
466bool rect = geometry is RectangleGeometry; 673if (g is RectangleGeometry) 730if (one is RectangleGeometry && one.Transform.Value.IsIdentity)