42 references to RectangleGeometry
PresentationCore (11)
Core\CSharp\System\Windows\Media\DrawingDrawingContext.cs (1)
217
RectangleGeometry geometry = new
RectangleGeometry
(rectangle);
Core\CSharp\System\Windows\Media\FormattedText.cs (2)
1700
RectangleGeometry rectangleGeometry = new
RectangleGeometry
(rect);
2014
geometry = new
RectangleGeometry
(bound);
Core\CSharp\System\Windows\Media\HitTestDrawingContextWalker.cs (3)
90
DrawGeometry(brush, pen, new
RectangleGeometry
(rectangle));
187
DrawGeometry(imageBrush, null /* pen */, new
RectangleGeometry
(rectangle));
209
DrawGeometry(Brushes.Black, null /* pen */, new
RectangleGeometry
(rectangle));
Core\CSharp\System\Windows\Media\HitTestWithGeometryDrawingContextWalker.cs (1)
186
DrawGeometry(Brushes.Black, null /* pen */, new
RectangleGeometry
(rectangle));
Core\CSharp\System\Windows\Media\RectangleGeometry.cs (1)
56
double radiusY) :
this
(rect)
Core\CSharp\System\Windows\Media\Visual.cs (2)
2332
RectangleGeometry rectClip = new
RectangleGeometry
(scrollClip.Value);
2463
RectangleGeometry contentGeometry = new
RectangleGeometry
(GetHitTestBounds());
Core\CSharp\System\Windows\UIElement.cs (1)
3381
RectangleGeometry rect = new
RectangleGeometry
(new Rect(RenderSize));
PresentationFramework (31)
src\Framework\MS\Internal\Controls\InkCanvasSelectionAdorner.cs (2)
302
rectGeometry = new
RectangleGeometry
(hatchRect);
315
rectGeometry = new
RectangleGeometry
(new Rect(0, 0, RenderSize.Width, RenderSize.Height));
src\Framework\MS\Internal\Documents\TextBoxView.cs (7)
756
CaretElement.AddGeometry(ref geometry, new
RectangleGeometry
(rect));
2059
CaretElement.AddGeometry(ref geometry, new
RectangleGeometry
(rect));
2093
CaretElement.AddGeometry(ref geometry, new
RectangleGeometry
(rect));
2107
CaretElement.AddGeometry(ref geometry, new
RectangleGeometry
(rect));
2155
CaretElement.AddGeometry(ref geometry, new
RectangleGeometry
(rect));
2172
CaretElement.AddGeometry(ref geometry, new
RectangleGeometry
(rect));
2186
CaretElement.AddGeometry(ref geometry, new
RectangleGeometry
(rect));
src\Framework\MS\Internal\PtsHost\CellParaClient.cs (1)
352
geometry = 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)
209
Visual.Clip = new
RectangleGeometry
(_columnRect.FromTextDpi());
src\Framework\MS\Internal\PtsHost\TextParaClient.cs (3)
2120
RectangleGeometry rectGeometry = new
RectangleGeometry
(rectangles[i]);
2237
RectangleGeometry rectGeometry = new
RectangleGeometry
(rectangles[i]);
2575
RectangleGeometry objectGeometry = new
RectangleGeometry
(objectRect);
src\Framework\MS\Internal\PtsHost\UIElementParaClient.cs (1)
156
return new
RectangleGeometry
(_rect.FromTextDpi());
src\Framework\System\Windows\Controls\Canvas.cs (1)
355
return new
RectangleGeometry
(new Rect(RenderSize));
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (1)
183
RectangleGeometry clip = new
RectangleGeometry
(new Rect(RenderSize));
src\Framework\System\Windows\Controls\Primitives\ScrollContentPresenter.cs (1)
523
return new
RectangleGeometry
(new Rect(RenderSize));
src\Framework\System\Windows\Controls\TextBlock.cs (1)
2443
RectangleGeometry rectGeometry = new
RectangleGeometry
(rect);
src\Framework\System\windows\Documents\CaretElement.cs (1)
504
Geometry viewportGeometry = new
RectangleGeometry
(viewport);
src\Framework\System\Windows\Documents\FixedTextBuilder.cs (2)
1324
g = new
RectangleGeometry
(designRect);
1334
g = new
RectangleGeometry
(new Rect(0, 0, im.Width, im.Height));
src\Framework\System\Windows\Documents\FixedTextView.cs (1)
300
Geometry thisGeometry = new
RectangleGeometry
(backgroundRect);
src\Framework\System\Windows\Documents\HighlightVisual.cs (3)
98
dc.PushClip(new
RectangleGeometry
(clipRect));
239
Geometry thisGeometry = new
RectangleGeometry
(backgroundRect);
321
dc.PushClip(new
RectangleGeometry
(clipRect));
src\Framework\System\Windows\FrameworkElement.cs (4)
4953
RectangleGeometry localClip = new
RectangleGeometry
(clipRect);
4974
RectangleGeometry slotClip = new
RectangleGeometry
(slotClipRect);
4991
RectangleGeometry localClip = new
RectangleGeometry
(localClipRect);
5032
RectangleGeometry combinedClip = new
RectangleGeometry
(slotRect);