44 references to Rect
PresentationCore (19)
Core\CSharp\MS\Internal\Ink\Lasso.cs (3)
248Rect lassoSegmentBounds = new Rect(lastPoint, point); 775Rect newRect = new Rect(points[count - 1], point); 785Rect currRect = new Rect(points[i], points[i+1]);
Core\CSharp\MS\Internal\Ink\Quad.cs (2)
91get { return IsEmpty ? Rect.Empty : Rect.Union(new Rect(_A, _B), new Rect(_C, _D)); }
Core\CSharp\MS\Internal\Ink\StrokeNodeOperations.cs (1)
74_shapeBounds.Union(new Rect((Point)_vertices[i], (Point)_vertices[i + 1]));
Core\CSharp\MS\Internal\TextFormatting\LineServicesCallbacks.cs (1)
2677new Rect(
Core\CSharp\MS\Internal\TextFormatting\LineServicesRun.cs (1)
442Rect rect = new Rect(
Core\CSharp\MS\Internal\TextFormatting\SimpleTextLine.cs (1)
868new Rect(
Core\CSharp\System\Windows\Media\Effects\BlurEffect.cs (1)
48return new Rect(topLeft, bottomRight);
Core\CSharp\System\Windows\Media\Effects\DropShadowEffect.cs (1)
75return new Rect(topLeft, bottomRight);
Core\CSharp\System\Windows\Media\Effects\Effect.cs (3)
165: new Rect(UnitToWorldUnsafe(unitRect.TopLeft, worldBounds), 179return new Rect(tl.Value, br.Value); 224return new Rect(topLeftResult, bottomRightResult);
Core\CSharp\System\Windows\Media\Effects\ShaderEffect.cs (1)
41return new Rect(topLeft, bottomRight);
Core\CSharp\System\Windows\Media\LineGeometry.cs (2)
75Rect rect = new Rect(StartPoint, EndPoint); 121return new Rect(pt1, pt2);
Core\CSharp\System\Windows\Media3D\MeshGeometry3D.cs (1)
160return new Rect(ptMin, ptMax);
Shared\MS\Internal\PointUtil.cs (1)
312return new Rect(corner1, corner2);
PresentationFramework (14)
src\Framework\MS\Internal\PtsHost\ParagraphVisual.cs (2)
102dc.DrawRectangle(null, pen, new Rect( 155new Rect(
src\Framework\System\Windows\Controls\Border.cs (3)
443Rect rect = new Rect(new Point(halfThickness, halfThickness), 608dc.DrawRoundedRectangle(background, null, new Rect(ptTL, ptBR), innerCornerRadius, innerCornerRadius); 612dc.DrawRectangle(background, null, new Rect(ptTL, ptBR));
src\Framework\System\Windows\Controls\TextAdaptor.cs (1)
164lineRect = new Rect(ClientToScreen(lineRect.TopLeft, textView.RenderScope), ClientToScreen(lineRect.BottomRight, textView.RenderScope));
src\Framework\System\Windows\Documents\FixedSOMTableCell.cs (1)
35_boundingRect = new Rect(new Point(left, top), new Point(right, bottom));
src\Framework\System\Windows\Documents\FixedTextView.cs (1)
1076Rect caretRect = new Rect(origin, bottom);
src\Framework\System\Windows\Documents\RubberbandSelector.cs (1)
160_selectionRect = new Rect(_origin, pt);
src\Framework\System\Windows\Documents\TextStore.cs (1)
873Rect rectTest = new Rect(milPointTopLeft, milPointBottomRight);
src\Framework\System\Windows\Standard\DpiHelper.cs (2)
49return new Rect(topLeft, bottomRight); 57return new Rect(topLeft, bottomRight);
src\Framework\System\Windows\Window.cs (2)
6982var logicalClientRc = new Rect( 6995var physicalClip = new Rect(
System.Activities.Presentation (8)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\ChoiceEditor.cs (3)
906RenderUtils.DrawInscribedRoundedRect(drawingContext, dropButtonBrush, null, new Rect(new Point(dropButtonLeft, dropButtonTop), new Point(dropButtonRight, dropButtonBottom)), innerCornerRadius); 911drawingContext.DrawImage(buttonIcon, new Rect(new Point(buttonCenterX - iconWidth / 2d, buttonCenterY - iconHeight / 2d), new Point(buttonCenterX + iconWidth / 2d, buttonCenterY + iconHeight / 2d))); 919RenderUtils.DrawInscribedRoundedRect(drawingContext, this.Background, null, new Rect(new Point(textAreaLeft, textAreaTop), new Point(textAreaRight, textAreaBottom)), innerCornerRadius);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\RenderUtils.cs (2)
32Rect spineRect = new Rect(spineLeftTop, spineRightBottom); 46return new Rect(new Point(outerBounds.Left + strokeThickness, outerBounds.Top + strokeThickness), new Point(outerBounds.Right - strokeThickness, outerBounds.Bottom - strokeThickness));
System.Activities.Presentation\System\Activities\Presentation\View\RubberBandSelector.cs (3)
203Rect dragHandleRect = new Rect(topLeft, bottomRight); 253Rect rect = new Rect(start, end); 268Rect rubberBandRect = new Rect(this.StartPoint, this.EndPoint);
WindowsBase (3)
Base\System\Windows\Rect.cs (3)
92Vector vector): this(point, point+vector) 579Union(new Rect(point, point)); 587rect.Union(new Rect(point, point));