49 instantiations of RectangleGeometry
PresentationCore (13)
Core\CSharp\System\Windows\Media\DrawingDrawingContext.cs (2)
217RectangleGeometry geometry = new RectangleGeometry(rectangle); 339RectangleGeometry geometry = new RectangleGeometry(rectangle, radiusX, radiusY);
Core\CSharp\System\Windows\Media\FormattedText.cs (2)
1700RectangleGeometry rectangleGeometry = new RectangleGeometry(rect); 2014geometry = new RectangleGeometry(bound);
Core\CSharp\System\Windows\Media\Generated\RectangleGeometry.cs (1)
176return new RectangleGeometry();
Core\CSharp\System\Windows\Media\HitTestDrawingContextWalker.cs (4)
90DrawGeometry(brush, pen, new RectangleGeometry(rectangle)); 123DrawGeometry(brush, pen, new RectangleGeometry(rectangle, radiusX, radiusY)); 187DrawGeometry(imageBrush, null /* pen */, new RectangleGeometry(rectangle)); 209DrawGeometry(Brushes.Black, null /* pen */, new RectangleGeometry(rectangle));
Core\CSharp\System\Windows\Media\HitTestWithGeometryDrawingContextWalker.cs (1)
186DrawGeometry(Brushes.Black, null /* pen */, new RectangleGeometry(rectangle));
Core\CSharp\System\Windows\Media\Visual.cs (2)
2332RectangleGeometry rectClip = new RectangleGeometry(scrollClip.Value); 2463RectangleGeometry contentGeometry = new RectangleGeometry(GetHitTestBounds());
Core\CSharp\System\Windows\UIElement.cs (1)
3381RectangleGeometry rect = new RectangleGeometry(new Rect(RenderSize));
PresentationFramework (36)
src\Framework\MS\Internal\Controls\InkCanvasSelectionAdorner.cs (2)
302rectGeometry = new RectangleGeometry(hatchRect); 315rectGeometry = new RectangleGeometry(new Rect(0, 0, RenderSize.Width, RenderSize.Height));
src\Framework\MS\Internal\Documents\TextBoxView.cs (7)
756CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect)); 2059CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect)); 2093CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect)); 2107CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect)); 2155CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect)); 2172CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect)); 2186CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect));
src\Framework\MS\Internal\PtsHost\CellParaClient.cs (1)
352geometry = new RectangleGeometry(_rect.FromTextDpi());
src\Framework\MS\Internal\PtsHost\PtsHelper.cs (1)
71((ContainerVisual)visualChildren[index]).Clip = new RectangleGeometry(rect);
src\Framework\MS\Internal\PtsHost\TableParaClient.cs (1)
209Visual.Clip = new RectangleGeometry(_columnRect.FromTextDpi());
src\Framework\MS\Internal\PtsHost\TextParaClient.cs (3)
2120RectangleGeometry rectGeometry = new RectangleGeometry(rectangles[i]); 2237RectangleGeometry rectGeometry = new RectangleGeometry(rectangles[i]); 2575RectangleGeometry objectGeometry = new RectangleGeometry(objectRect);
src\Framework\MS\Internal\PtsHost\UIElementParaClient.cs (1)
156return new RectangleGeometry(_rect.FromTextDpi());
src\Framework\System\Windows\Controls\Canvas.cs (1)
355return new RectangleGeometry(new Rect(RenderSize));
src\Framework\System\Windows\Controls\DataGridCellsPanel.cs (1)
2462private RectangleGeometry _childClipForFrozenBehavior = new RectangleGeometry();
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (1)
183RectangleGeometry clip = new RectangleGeometry(new Rect(RenderSize));
src\Framework\System\Windows\Controls\Primitives\ScrollContentPresenter.cs (1)
523return new RectangleGeometry(new Rect(RenderSize));
src\Framework\System\Windows\Controls\TextBlock.cs (1)
2443RectangleGeometry rectGeometry = new RectangleGeometry(rect);
src\Framework\System\windows\Documents\CaretElement.cs (1)
504Geometry viewportGeometry = new RectangleGeometry(viewport);
src\Framework\System\Windows\Documents\FixedTextBuilder.cs (2)
1324g = new RectangleGeometry(designRect); 1334g = new RectangleGeometry(new Rect(0, 0, im.Width, im.Height));
src\Framework\System\Windows\Documents\FixedTextView.cs (1)
300Geometry thisGeometry = new RectangleGeometry(backgroundRect);
src\Framework\System\Windows\Documents\HighlightVisual.cs (3)
98dc.PushClip(new RectangleGeometry(clipRect)); 239Geometry thisGeometry = new RectangleGeometry(backgroundRect); 321dc.PushClip(new RectangleGeometry(clipRect));
src\Framework\System\Windows\FrameworkElement.cs (4)
4953RectangleGeometry localClip = new RectangleGeometry(clipRect); 4974RectangleGeometry slotClip = new RectangleGeometry(slotClipRect); 4991RectangleGeometry localClip = new RectangleGeometry(localClipRect); 5032RectangleGeometry combinedClip = new RectangleGeometry(slotRect);
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
8279bamlType.DefaultConstructor = delegate() { return new System.Windows.Media.RectangleGeometry(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1498case KnownElements.RectangleGeometry: o = new System.Windows.Media.RectangleGeometry(); break;
src\Framework\System\Windows\Shapes\Rectangle.cs (2)
116return new RectangleGeometry(_rect, RadiusX, RadiusY); 235return new RectangleGeometry(_rect, RadiusX, RadiusY);
45 references to RectangleGeometry
PresentationCore (32)
Core\CSharp\System\Windows\Media\BoundsDrawingContextWalker.cs (2)
128Rect geometryBounds = RectangleGeometry.GetBoundsHelper( 176Rect geometryBounds = RectangleGeometry.GetBoundsHelper(
Core\CSharp\System\Windows\Media\DrawingDrawingContext.cs (6)
217RectangleGeometry geometry = new RectangleGeometry(rectangle); 235geometry.ApplyAnimationClock(RectangleGeometry.RectProperty, rectangleAnimations); 339RectangleGeometry geometry = new RectangleGeometry(rectangle, radiusX, radiusY); 359geometry.ApplyAnimationClock(RectangleGeometry.RectProperty, rectangleAnimations); 364geometry.ApplyAnimationClock(RectangleGeometry.RadiusXProperty, radiusXAnimations); 369geometry.ApplyAnimationClock(RectangleGeometry.RadiusYProperty, radiusYAnimations);
Core\CSharp\System\Windows\Media\FormattedText.cs (1)
1700RectangleGeometry rectangleGeometry = new RectangleGeometry(rect);
Core\CSharp\System\Windows\Media\Generated\RectangleGeometry.cs (11)
65public new RectangleGeometry Clone() 67return (RectangleGeometry)base.Clone(); 74public new RectangleGeometry CloneCurrentValue() 76return (RectangleGeometry)base.CloneCurrentValue(); 92RectangleGeometry target = ((RectangleGeometry) d); 99RectangleGeometry target = ((RectangleGeometry) d); 106RectangleGeometry target = ((RectangleGeometry) d); 396Type typeofThis = typeof(RectangleGeometry);
Core\CSharp\System\Windows\Media\RectangleGeometry.cs (9)
127boundsRect = RectangleGeometry.GetBoundsHelper( 145RectangleGeometry rectGeometry2 = geometry as RectangleGeometry; 149RectangleGeometry rectGeometry1 = this; 178return RectangleGeometry.GetBoundsHelper( 234RectangleGeometry.GetPointList(pPoints, pointCount, rect, radiusX, radiusY); 236fixed (byte *pTypes = RectangleGeometry.GetTypeList(rect, radiusX, radiusY)) 278RectangleGeometry.GetPointList(pPoints, pointCount, rect, radiusX, radiusY); 484RectangleGeometry.GetPointList(pPoints, pointCount, rect, radiusX, radiusY);
Core\CSharp\System\Windows\Media\Visual.cs (2)
2332RectangleGeometry rectClip = new RectangleGeometry(scrollClip.Value); 2463RectangleGeometry contentGeometry = new RectangleGeometry(GetHitTestBounds());
Core\CSharp\System\Windows\UIElement.cs (1)
3381RectangleGeometry rect = new RectangleGeometry(new Rect(RenderSize));
PresentationFramework (13)
src\Framework\MS\Internal\PtsHost\TextParaClient.cs (3)
2120RectangleGeometry rectGeometry = new RectangleGeometry(rectangles[i]); 2237RectangleGeometry rectGeometry = new RectangleGeometry(rectangles[i]); 2575RectangleGeometry objectGeometry = new RectangleGeometry(objectRect);
src\Framework\System\Windows\Controls\DataGridCellsPanel.cs (1)
2462private RectangleGeometry _childClipForFrozenBehavior = new RectangleGeometry();
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (1)
183RectangleGeometry clip = new RectangleGeometry(new Rect(RenderSize));
src\Framework\System\Windows\Controls\TextBlock.cs (1)
2443RectangleGeometry rectGeometry = new RectangleGeometry(rect);
src\Framework\System\Windows\FrameworkElement.cs (4)
4953RectangleGeometry localClip = new RectangleGeometry(clipRect); 4974RectangleGeometry slotClip = new RectangleGeometry(slotClipRect); 4991RectangleGeometry localClip = new RectangleGeometry(localClipRect); 5032RectangleGeometry combinedClip = new RectangleGeometry(slotRect);
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
607case 515: t = () => typeof(RectangleGeometry); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
8277typeof(System.Windows.Media.RectangleGeometry),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
6059case KnownElements.RectangleGeometry: t = typeof(System.Windows.Media.RectangleGeometry); break;