68 references to RectangleGeometry
PresentationCore (12)
System\Windows\Input\Stylus\Common\DynamicRenderer.cs (1)
216_zeroSizedFrozenRect = new RectangleGeometry(new Rect(0,0,0,0));
System\Windows\Media\DrawingDrawingContext.cs (1)
188RectangleGeometry geometry = new RectangleGeometry(rectangle);
System\Windows\Media\FormattedText.cs (2)
1667RectangleGeometry rectangleGeometry = new RectangleGeometry(rect); 1981geometry = new RectangleGeometry(bound);
System\Windows\Media\HitTestDrawingContextWalker.cs (3)
74DrawGeometry(brush, pen, new RectangleGeometry(rectangle)); 171DrawGeometry(imageBrush, null /* pen */, new RectangleGeometry(rectangle)); 193DrawGeometry(Brushes.Black, null /* pen */, new RectangleGeometry(rectangle));
System\Windows\Media\HitTestWithGeometryDrawingContextWalker.cs (1)
171DrawGeometry(Brushes.Black, null /* pen */, new RectangleGeometry(rectangle));
System\Windows\Media\RectangleGeometry.cs (1)
39double radiusY) : this(rect)
System\Windows\Media\Visual.cs (2)
2297RectangleGeometry rectClip = new RectangleGeometry(scrollClip.Value); 2422RectangleGeometry contentGeometry = new RectangleGeometry(GetHitTestBounds());
System\Windows\UIElement.cs (1)
3341RectangleGeometry rect = new RectangleGeometry(new Rect(RenderSize));
PresentationFramework (31)
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (2)
286rectGeometry = new RectangleGeometry(hatchRect); 299rectGeometry = new RectangleGeometry(new Rect(0, 0, RenderSize.Width, RenderSize.Height));
MS\Internal\Documents\TextBoxView.cs (7)
750CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect)); 2061CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect)); 2095CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect)); 2109CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect)); 2157CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect)); 2174CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect)); 2188CaretElement.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\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)
2345RectangleGeometry rectGeometry = new RectangleGeometry(rect);
System\windows\Documents\CaretElement.cs (1)
497Geometry 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)
284Geometry thisGeometry = new RectangleGeometry(backgroundRect);
System\Windows\Documents\HighlightVisual.cs (3)
85dc.PushClip(new RectangleGeometry(clipRect)); 226Geometry thisGeometry = new RectangleGeometry(backgroundRect); 307dc.PushClip(new RectangleGeometry(clipRect));
System\Windows\FrameworkElement.cs (4)
4947RectangleGeometry localClip = new RectangleGeometry(clipRect); 4968RectangleGeometry slotClip = new RectangleGeometry(slotClipRect); 4985RectangleGeometry localClip = new RectangleGeometry(localClipRect); 5026RectangleGeometry combinedClip = new RectangleGeometry(slotRect);
ReachFramework (25)
AlphaFlattener\BrushProxy.cs (8)
670return IsDrawingOpaque(GetDrawingPrimitive(), new RectangleGeometry(vb), Matrix.Identity); 1475geometry = new RectangleGeometry(new Rect(0, 0, 1, 1)); 1480geometry = new RectangleGeometry(bounds); 1508geometry = new RectangleGeometry(new Rect(0, 0, 1, 1)); 1513geometry = new RectangleGeometry(bounds); 1568childGeometry = new RectangleGeometry(childBounds); 3043new RectangleGeometry(visualBounds) 3138new RectangleGeometry(visualBounds)
AlphaFlattener\Flattener.cs (1)
1249clip = new RectangleGeometry(new Rect(0, 0, width, height));
AlphaFlattener\Primitive.cs (9)
430gp.Geometry = new RectangleGeometry(id.Rect); 966tilePrimitive.Clip = new RectangleGeometry(tileBounds); 1408RectangleGeometry viewportGeometry = new RectangleGeometry(tb.Viewport); 1448RectangleGeometry contentGeometry = new RectangleGeometry(content); 1460Geometry = new RectangleGeometry(tb.Viewport); 1701_bounds = new RectangleGeometry(GetRectBounds(true)); 1829return Utility.TransformGeometry(new RectangleGeometry(DstRect), Transform); 1838Clip = Utility.TransformGeometry(new RectangleGeometry(DstRect), Transform); 1926Geometry 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\VisualSerializer.cs (2)
1940((IMetroDrawingContext)this).DrawGeometry(brush, null, new RectangleGeometry(rectangle)); 1945((IMetroDrawingContext)this).DrawGeometry(null, null, new RectangleGeometry(rectangle));