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