44 references to Rect
PresentationCore (19)
Core\CSharp\MS\Internal\Ink\Lasso.cs (3)
248
Rect lassoSegmentBounds = new
Rect
(lastPoint, point);
775
Rect newRect = new
Rect
(points[count - 1], point);
785
Rect currRect = new
Rect
(points[i], points[i+1]);
Core\CSharp\MS\Internal\Ink\Quad.cs (2)
91
get { 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)
2677
new
Rect
(
Core\CSharp\MS\Internal\TextFormatting\LineServicesRun.cs (1)
442
Rect rect = new
Rect
(
Core\CSharp\MS\Internal\TextFormatting\SimpleTextLine.cs (1)
868
new
Rect
(
Core\CSharp\System\Windows\Media\Effects\BlurEffect.cs (1)
48
return new
Rect
(topLeft, bottomRight);
Core\CSharp\System\Windows\Media\Effects\DropShadowEffect.cs (1)
75
return new
Rect
(topLeft, bottomRight);
Core\CSharp\System\Windows\Media\Effects\Effect.cs (3)
165
: new
Rect
(UnitToWorldUnsafe(unitRect.TopLeft, worldBounds),
179
return new
Rect
(tl.Value, br.Value);
224
return new
Rect
(topLeftResult, bottomRightResult);
Core\CSharp\System\Windows\Media\Effects\ShaderEffect.cs (1)
41
return new
Rect
(topLeft, bottomRight);
Core\CSharp\System\Windows\Media\LineGeometry.cs (2)
75
Rect rect = new
Rect
(StartPoint, EndPoint);
121
return new
Rect
(pt1, pt2);
Core\CSharp\System\Windows\Media3D\MeshGeometry3D.cs (1)
160
return new
Rect
(ptMin, ptMax);
Shared\MS\Internal\PointUtil.cs (1)
312
return new
Rect
(corner1, corner2);
PresentationFramework (14)
src\Framework\MS\Internal\PtsHost\ParagraphVisual.cs (2)
102
dc.DrawRectangle(null, pen, new
Rect
(
155
new
Rect
(
src\Framework\System\Windows\Controls\Border.cs (3)
443
Rect rect = new
Rect
(new Point(halfThickness, halfThickness),
608
dc.DrawRoundedRectangle(background, null, new
Rect
(ptTL, ptBR), innerCornerRadius, innerCornerRadius);
612
dc.DrawRectangle(background, null, new
Rect
(ptTL, ptBR));
src\Framework\System\Windows\Controls\TextAdaptor.cs (1)
164
lineRect = 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)
1076
Rect 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)
873
Rect rectTest = new
Rect
(milPointTopLeft, milPointBottomRight);
src\Framework\System\Windows\Standard\DpiHelper.cs (2)
49
return new
Rect
(topLeft, bottomRight);
57
return new
Rect
(topLeft, bottomRight);
src\Framework\System\Windows\Window.cs (2)
6982
var logicalClientRc = new
Rect
(
6995
var physicalClip = new
Rect
(
System.Activities.Presentation (8)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\ChoiceEditor.cs (3)
906
RenderUtils.DrawInscribedRoundedRect(drawingContext, dropButtonBrush, null, new
Rect
(new Point(dropButtonLeft, dropButtonTop), new Point(dropButtonRight, dropButtonBottom)), innerCornerRadius);
911
drawingContext.DrawImage(buttonIcon, new
Rect
(new Point(buttonCenterX - iconWidth / 2d, buttonCenterY - iconHeight / 2d), new Point(buttonCenterX + iconWidth / 2d, buttonCenterY + iconHeight / 2d)));
919
RenderUtils.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)
32
Rect spineRect = new
Rect
(spineLeftTop, spineRightBottom);
46
return 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)
203
Rect dragHandleRect = new
Rect
(topLeft, bottomRight);
253
Rect rect = new
Rect
(start, end);
268
Rect rubberBandRect = new
Rect
(this.StartPoint, this.EndPoint);
WindowsBase (3)
Base\System\Windows\Rect.cs (3)
92
Vector vector):
this
(point, point+vector)
579
Union(new
Rect
(point, point));
587
rect.Union(new
Rect
(point, point));