68 references to RectangleGeometry
PresentationCore (12)
System\Windows\Input\Stylus\Common\DynamicRenderer.cs (1)
217_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)
1646RectangleGeometry rectangleGeometry = new RectangleGeometry(rect); 1962geometry = new RectangleGeometry(bound);
System\Windows\Media\HitTestDrawingContextWalker.cs (3)
73DrawGeometry(brush, pen, new RectangleGeometry(rectangle)); 171DrawGeometry(imageBrush, pen: null, new RectangleGeometry(rectangle)); 193DrawGeometry(Brushes.Black, pen: null, new RectangleGeometry(rectangle));
System\Windows\Media\HitTestWithGeometryDrawingContextWalker.cs (1)
170DrawGeometry(Brushes.Black, pen: null, new RectangleGeometry(rectangle));
System\Windows\Media\RectangleGeometry.cs (1)
38double radiusY) : this(rect)
System\Windows\Media\Visual.cs (2)
2296RectangleGeometry rectClip = new RectangleGeometry(scrollClip.Value); 2421RectangleGeometry contentGeometry = new RectangleGeometry(GetHitTestBounds());
System\Windows\UIElement.cs (1)
3326RectangleGeometry rect = new RectangleGeometry(new Rect(RenderSize));
PresentationFramework (31)
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (2)
288rectGeometry = new RectangleGeometry(hatchRect); 301rectGeometry = new RectangleGeometry(new Rect(0, 0, RenderSize.Width, RenderSize.Height));
MS\Internal\Documents\TextBoxView.cs (7)
707CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect)); 2020CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect)); 2054CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect)); 2068CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect)); 2116CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect)); 2133CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect)); 2147CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect));
MS\Internal\PtsHost\CellParaClient.cs (1)
319geometry = new RectangleGeometry(_rect.FromTextDpi());
MS\Internal\PtsHost\PtsHelper.cs (1)
61((ContainerVisual)visualChildren[index]).Clip = new RectangleGeometry(rect);
MS\Internal\PtsHost\TableParaClient.cs (1)
182Visual.Clip = new RectangleGeometry(_columnRect.FromTextDpi());
MS\Internal\PtsHost\TextParaClient.cs (3)
1904RectangleGeometry rectGeometry = new RectangleGeometry(rectangles[i]); 2016RectangleGeometry rectGeometry = new RectangleGeometry(rectangles[i]); 2350RectangleGeometry objectGeometry = new RectangleGeometry(objectRect);
MS\Internal\PtsHost\UIElementParaClient.cs (1)
144return new RectangleGeometry(_rect.FromTextDpi());
System\Windows\Controls\Canvas.cs (1)
338return new RectangleGeometry(new Rect(RenderSize));
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (1)
177RectangleGeometry clip = new RectangleGeometry(new Rect(RenderSize));
System\Windows\Controls\Primitives\ScrollContentPresenter.cs (1)
506return new RectangleGeometry(new Rect(RenderSize));
System\Windows\Controls\TextBlock.cs (1)
2333RectangleGeometry rectGeometry = new RectangleGeometry(rect);
System\windows\Documents\CaretElement.cs (1)
495Geometry viewportGeometry = new RectangleGeometry(viewport);
System\Windows\Documents\FixedTextBuilder.cs (2)
1287g = new RectangleGeometry(designRect); 1297g = new RectangleGeometry(new Rect(0, 0, im.Width, im.Height));
System\Windows\Documents\FixedTextView.cs (1)
278Geometry thisGeometry = new RectangleGeometry(backgroundRect)
System\Windows\Documents\HighlightVisual.cs (3)
84dc.PushClip(new RectangleGeometry(clipRect)); 225Geometry thisGeometry = new RectangleGeometry(backgroundRect) 308dc.PushClip(new RectangleGeometry(clipRect));
System\Windows\FrameworkElement.cs (4)
4939RectangleGeometry localClip = new RectangleGeometry(clipRect); 4960RectangleGeometry slotClip = new RectangleGeometry(slotClipRect); 4977RectangleGeometry localClip = new RectangleGeometry(localClipRect); 5018RectangleGeometry combinedClip = new RectangleGeometry(slotRect);
ReachFramework (25)
AlphaFlattener\BrushProxy.cs (8)
670return IsDrawingOpaque(GetDrawingPrimitive(), new RectangleGeometry(vb), Matrix.Identity); 1473geometry = new RectangleGeometry(new Rect(0, 0, 1, 1)); 1478geometry = new RectangleGeometry(bounds); 1506geometry = new RectangleGeometry(new Rect(0, 0, 1, 1)); 1511geometry = new RectangleGeometry(bounds); 1566childGeometry = new RectangleGeometry(childBounds); 3043new RectangleGeometry(visualBounds) 3140new RectangleGeometry(visualBounds)
AlphaFlattener\Flattener.cs (1)
1251clip = new RectangleGeometry(new Rect(0, 0, width, height));
AlphaFlattener\Primitive.cs (9)
431Geometry = new RectangleGeometry(id.Rect) 970tilePrimitive.Clip = new RectangleGeometry(tileBounds); 1406RectangleGeometry viewportGeometry = new RectangleGeometry(tb.Viewport) 1448RectangleGeometry contentGeometry = new RectangleGeometry(content) 1462Geometry = new RectangleGeometry(tb.Viewport) 1705_bounds = new RectangleGeometry(GetRectBounds(true)); 1833return Utility.TransformGeometry(new RectangleGeometry(DstRect), Transform); 1842Clip = Utility.TransformGeometry(new RectangleGeometry(DstRect), Transform); 1931Geometry dest = Utility.TransformGeometry(new RectangleGeometry(DstRect), Transform);
AlphaFlattener\PrimitiveRenderer.cs (3)
32bounds = Utility.TransformGeometry(new RectangleGeometry(dest), trans); 114if ((_overlapping != null) && FindIntersection(new RectangleGeometry(bounds), ref start, out topPI, out topBounds, out inter)) 469Geometry clip = Utility.Intersect(inter, Utility.TransformGeometry(new RectangleGeometry(ip.DstRect), ip.Transform), ip.Transform, out empty);
AlphaFlattener\Utility.cs (1)
714IntersectionDetail detail = one.FillContainsWithDetail(new RectangleGeometry(bounds2));
Serialization\DrawingContextFlattener.cs (1)
291DrawGeometry(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));