78 instantiations of RectangleGeometry
PresentationCore (14)
System\Windows\Input\Stylus\Common\DynamicRenderer.cs (1)
218_zeroSizedFrozenRect = new RectangleGeometry(new Rect(0,0,0,0));
System\Windows\Media\DrawingDrawingContext.cs (2)
189RectangleGeometry geometry = new RectangleGeometry(rectangle) 310RectangleGeometry geometry = new RectangleGeometry(rectangle, radiusX, radiusY)
System\Windows\Media\FormattedText.cs (2)
1649RectangleGeometry rectangleGeometry = new RectangleGeometry(rect); 1965geometry = new RectangleGeometry(bound);
System\Windows\Media\Generated\RectangleGeometry.cs (1)
142return new RectangleGeometry();
System\Windows\Media\HitTestDrawingContextWalker.cs (4)
74DrawGeometry(brush, pen, new RectangleGeometry(rectangle)); 107DrawGeometry(brush, pen, new RectangleGeometry(rectangle, radiusX, radiusY)); 172DrawGeometry(imageBrush, null /* pen */, new RectangleGeometry(rectangle)); 194DrawGeometry(Brushes.Black, null /* pen */, new RectangleGeometry(rectangle));
System\Windows\Media\HitTestWithGeometryDrawingContextWalker.cs (1)
171DrawGeometry(Brushes.Black, null /* pen */, new RectangleGeometry(rectangle));
System\Windows\Media\Visual.cs (2)
2297RectangleGeometry rectClip = new RectangleGeometry(scrollClip.Value); 2422RectangleGeometry contentGeometry = new RectangleGeometry(GetHitTestBounds());
System\Windows\UIElement.cs (1)
3333RectangleGeometry rect = new RectangleGeometry(new Rect(RenderSize));
PresentationFramework (36)
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (2)
292rectGeometry = new RectangleGeometry(hatchRect); 305rectGeometry = new RectangleGeometry(new Rect(0, 0, RenderSize.Width, RenderSize.Height));
MS\Internal\Documents\TextBoxView.cs (7)
750CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect)); 2063CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect)); 2097CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect)); 2111CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect)); 2159CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect)); 2176CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect)); 2190CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect));
MS\Internal\PtsHost\CellParaClient.cs (1)
320geometry = new RectangleGeometry(_rect.FromTextDpi());
MS\Internal\PtsHost\PtsHelper.cs (1)
62((ContainerVisual)visualChildren[index]).Clip = new RectangleGeometry(rect);
MS\Internal\PtsHost\TableParaClient.cs (1)
183Visual.Clip = new RectangleGeometry(_columnRect.FromTextDpi());
MS\Internal\PtsHost\TextParaClient.cs (3)
1905RectangleGeometry rectGeometry = new RectangleGeometry(rectangles[i]); 2017RectangleGeometry rectGeometry = new RectangleGeometry(rectangles[i]); 2351RectangleGeometry objectGeometry = new RectangleGeometry(objectRect);
MS\Internal\PtsHost\UIElementParaClient.cs (1)
145return new RectangleGeometry(_rect.FromTextDpi());
System\Windows\Controls\Canvas.cs (1)
340return new RectangleGeometry(new Rect(RenderSize));
System\Windows\Controls\DataGridCellsPanel.cs (1)
2456private RectangleGeometry _childClipForFrozenBehavior = new RectangleGeometry();
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (1)
178RectangleGeometry clip = new RectangleGeometry(new Rect(RenderSize));
System\Windows\Controls\Primitives\ScrollContentPresenter.cs (1)
507return new RectangleGeometry(new Rect(RenderSize));
System\Windows\Controls\TextBlock.cs (1)
2343RectangleGeometry rectGeometry = new RectangleGeometry(rect);
System\windows\Documents\CaretElement.cs (1)
496Geometry viewportGeometry = new RectangleGeometry(viewport);
System\Windows\Documents\FixedTextBuilder.cs (2)
1291g = new RectangleGeometry(designRect); 1301g = new RectangleGeometry(new Rect(0, 0, im.Width, im.Height));
System\Windows\Documents\FixedTextView.cs (1)
279Geometry thisGeometry = new RectangleGeometry(backgroundRect)
System\Windows\Documents\HighlightVisual.cs (3)
85dc.PushClip(new RectangleGeometry(clipRect)); 226Geometry thisGeometry = new RectangleGeometry(backgroundRect) 309dc.PushClip(new RectangleGeometry(clipRect));
System\Windows\FrameworkElement.cs (4)
4946RectangleGeometry localClip = new RectangleGeometry(clipRect); 4967RectangleGeometry slotClip = new RectangleGeometry(slotClipRect); 4984RectangleGeometry localClip = new RectangleGeometry(localClipRect); 5025RectangleGeometry combinedClip = new RectangleGeometry(slotRect);
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9150DefaultConstructor = delegate () { return new System.Windows.Media.RectangleGeometry(); },
System\Windows\Markup\KnownTypes.cs (1)
1491case KnownElements.RectangleGeometry: o = new System.Windows.Media.RectangleGeometry(); break;
System\Windows\Shapes\Rectangle.cs (2)
105return new RectangleGeometry(_rect, RadiusX, RadiusY); 224return new RectangleGeometry(_rect, RadiusX, RadiusY);
ReachFramework (28)
AlphaFlattener\BrushProxy.cs (9)
671return IsDrawingOpaque(GetDrawingPrimitive(), new RectangleGeometry(vb), Matrix.Identity); 743Geometry viewboxGeometry = new RectangleGeometry(vb, 0, 0, new MatrixTransform(viewboxToViewportTransformHint)); 1477geometry = new RectangleGeometry(new Rect(0, 0, 1, 1)); 1482geometry = new RectangleGeometry(bounds); 1510geometry = new RectangleGeometry(new Rect(0, 0, 1, 1)); 1515geometry = new RectangleGeometry(bounds); 1570childGeometry = new RectangleGeometry(childBounds); 3047new RectangleGeometry(visualBounds) 3144new RectangleGeometry(visualBounds)
AlphaFlattener\Flattener.cs (1)
1258clip = new RectangleGeometry(new Rect(0, 0, width, height));
AlphaFlattener\Primitive.cs (10)
432Geometry = new RectangleGeometry(id.Rect) 971tilePrimitive.Clip = new RectangleGeometry(tileBounds); 978tilePrimitive.Clip = new RectangleGeometry( 1413RectangleGeometry viewportGeometry = new RectangleGeometry(tb.Viewport) 1455RectangleGeometry contentGeometry = new RectangleGeometry(content) 1469Geometry = new RectangleGeometry(tb.Viewport) 1712_bounds = new RectangleGeometry(GetRectBounds(true)); 1840return Utility.TransformGeometry(new RectangleGeometry(DstRect), Transform); 1849Clip = Utility.TransformGeometry(new RectangleGeometry(DstRect), Transform); 1938Geometry dest = Utility.TransformGeometry(new RectangleGeometry(DstRect), Transform);
AlphaFlattener\PrimitiveRenderer.cs (3)
33bounds = Utility.TransformGeometry(new RectangleGeometry(dest), trans); 115if ((_overlapping != null) && FindIntersection(new RectangleGeometry(bounds), ref start, out topPI, out topBounds, out inter)) 470Geometry clip = Utility.Intersect(inter, Utility.TransformGeometry(new RectangleGeometry(ip.DstRect), ip.Transform), ip.Transform, out empty);
AlphaFlattener\Utility.cs (1)
715IntersectionDetail detail = one.FillContainsWithDetail(new RectangleGeometry(bounds2));
Serialization\DrawingContextFlattener.cs (1)
292DrawGeometry(new DrawingBrush(drawingImage.Drawing), null, new RectangleGeometry(rectangle));
Serialization\Manager\ReachSerializationUtils.cs (1)
937geometry.AddGeometry(new RectangleGeometry(rect, 0, 0, transform));
Serialization\VisualSerializer.cs (2)
1941((IMetroDrawingContext)this).DrawGeometry(brush, null, new RectangleGeometry(rectangle)); 1946((IMetroDrawingContext)this).DrawGeometry(null, null, new RectangleGeometry(rectangle));
50 references to RectangleGeometry
PresentationCore (31)
System\Windows\Media\BoundsDrawingContextWalker.cs (2)
112Rect geometryBounds = RectangleGeometry.GetBoundsHelper( 160Rect geometryBounds = RectangleGeometry.GetBoundsHelper(
System\Windows\Media\DrawingDrawingContext.cs (6)
189RectangleGeometry geometry = new RectangleGeometry(rectangle) 208geometry.ApplyAnimationClock(RectangleGeometry.RectProperty, rectangleAnimations); 310RectangleGeometry geometry = new RectangleGeometry(rectangle, radiusX, radiusY) 331geometry.ApplyAnimationClock(RectangleGeometry.RectProperty, rectangleAnimations); 336geometry.ApplyAnimationClock(RectangleGeometry.RadiusXProperty, radiusXAnimations); 341geometry.ApplyAnimationClock(RectangleGeometry.RadiusYProperty, radiusYAnimations);
System\Windows\Media\FormattedText.cs (1)
1649RectangleGeometry rectangleGeometry = new RectangleGeometry(rect);
System\Windows\Media\Generated\RectangleGeometry.cs (11)
31public new RectangleGeometry Clone() 33return (RectangleGeometry)base.Clone(); 40public new RectangleGeometry CloneCurrentValue() 42return (RectangleGeometry)base.CloneCurrentValue(); 58RectangleGeometry target = ((RectangleGeometry) d); 65RectangleGeometry target = ((RectangleGeometry) d); 72RectangleGeometry target = ((RectangleGeometry) d); 351Type typeofThis = typeof(RectangleGeometry);
System\Windows\Media\RectangleGeometry.cs (8)
110boundsRect = RectangleGeometry.GetBoundsHelper( 128RectangleGeometry rectGeometry2 = geometry as RectangleGeometry; 132RectangleGeometry rectGeometry1 = this; 161return RectangleGeometry.GetBoundsHelper( 209RectangleGeometry.GetPointList(pPoints, pointCount, rect, radiusX, radiusY); 248RectangleGeometry.GetPointList(pPoints, pointCount, rect, radiusX, radiusY); 451RectangleGeometry.GetPointList(pPoints, pointCount, rect, radiusX, radiusY);
System\Windows\Media\Visual.cs (2)
2297RectangleGeometry rectClip = new RectangleGeometry(scrollClip.Value); 2422RectangleGeometry contentGeometry = new RectangleGeometry(GetHitTestBounds());
System\Windows\UIElement.cs (1)
3333RectangleGeometry rect = new RectangleGeometry(new Rect(RenderSize));
PresentationFramework (13)
MS\Internal\PtsHost\TextParaClient.cs (3)
1905RectangleGeometry rectGeometry = new RectangleGeometry(rectangles[i]); 2017RectangleGeometry rectGeometry = new RectangleGeometry(rectangles[i]); 2351RectangleGeometry objectGeometry = new RectangleGeometry(objectRect);
System\Windows\Controls\DataGridCellsPanel.cs (1)
2456private RectangleGeometry _childClipForFrozenBehavior = new RectangleGeometry();
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (1)
178RectangleGeometry clip = new RectangleGeometry(new Rect(RenderSize));
System\Windows\Controls\TextBlock.cs (1)
2343RectangleGeometry rectGeometry = new RectangleGeometry(rect);
System\Windows\FrameworkElement.cs (4)
4946RectangleGeometry localClip = new RectangleGeometry(clipRect); 4967RectangleGeometry slotClip = new RectangleGeometry(slotClipRect); 4984RectangleGeometry localClip = new RectangleGeometry(localClipRect); 5025RectangleGeometry combinedClip = new RectangleGeometry(slotRect);
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
609case 515: t = () => typeof(RectangleGeometry); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9147typeof(System.Windows.Media.RectangleGeometry),
System\Windows\Markup\KnownTypes.cs (1)
6063case KnownElements.RectangleGeometry: t = typeof(System.Windows.Media.RectangleGeometry); break;
ReachFramework (6)
AlphaFlattener\BrushProxy.cs (1)
1503RectangleGeometry geometry = null;
AlphaFlattener\Primitive.cs (2)
1413RectangleGeometry viewportGeometry = new RectangleGeometry(tb.Viewport) 1455RectangleGeometry contentGeometry = new RectangleGeometry(content)
AlphaFlattener\Utility.cs (3)
467bool rect = geometry is RectangleGeometry; 674if (g is RectangleGeometry) 731if (one is RectangleGeometry && one.Transform.Value.IsIdentity)