32 references to Rect
PresentationFramework (32)
MS\Internal\Documents\ParagraphResult.cs (1)
43
_layoutBox = _paraClient.
Rect
.FromTextDpi();
MS\Internal\Documents\TextDocumentView.cs (1)
2588
positionOut = GetPositionAtNextLineFromSiblingPara(nestedParagraphs, nesteParagraphIndex, suggestedX - TextDpi.FromTextDpi(cpcCur.
Rect
.u), ref count);
MS\Internal\LayoutDump.cs (1)
984
Rect rect = cellParaClient.
Rect
.FromTextDpi();
MS\Internal\PtsHost\CellParaClient.cs (8)
449
_rectTable = new Rect(TextDpi.FromTextDpi(tpc.
Rect
.u),
450
TextDpi.FromTextDpi(tpc.
Rect
.v),
451
TextDpi.FromTextDpi(tpc.
Rect
.du),
452
TextDpi.FromTextDpi(tpc.
Rect
.dv));
454
_rectCell = new Rect(TextDpi.FromTextDpi(cpc.
Rect
.u),
455
TextDpi.FromTextDpi(cpc.
Rect
.v),
456
TextDpi.FromTextDpi(cpc.
Rect
.du),
457
TextDpi.FromTextDpi(cpc.
Rect
.dv));
MS\Internal\PtsHost\FigureParaClient.cs (1)
239
if(
Rect
.Contains(pt))
MS\Internal\PtsHost\FloaterParaClient.cs (1)
243
if(
Rect
.Contains(pt))
MS\Internal\PtsHost\ListParaClient.cs (3)
101
ctx.PushTransform(new MatrixTransform(-1.0, 0.0, 0.0, 1.0, TextDpi.FromTextDpi(2 * listItemParaClient.
Rect
.u + listItemParaClient.
Rect
.du), 0.0));
114
listMarkerLine.FormatAndDrawVisual(ctx, lineProps, listItemParaClient.
Rect
.u, dvBaseline);
MS\Internal\PtsHost\PtsHelper.cs (1)
419
if(paraClient.
Rect
.Contains(pt))
MS\Internal\PtsHost\SubpageParaClient.cs (1)
171
if(
Rect
.Contains(pt))
MS\Internal\PtsHost\TableParaClient.cs (13)
402
PTS.FSRECT rect = cellParaClient.
Rect
;
404
if (cellParaClient.
Rect
.Contains(pt))
643
PTS.FSRECT rect = cpc.
Rect
;
995
if(suggestedU >= cpc.
Rect
.u && suggestedU <= (cpc.
Rect
.u + cpc.
Rect
.du))
1001
int iDistance = Math.Abs((cpc.
Rect
.u + cpc.
Rect
.du / 2) - suggestedU);
1071
if(suggestedU >= cpc.
Rect
.u && suggestedU <= (cpc.
Rect
.u + cpc.
Rect
.du))
1077
int iDistance = Math.Abs((cpc.
Rect
.u + cpc.
Rect
.du / 2) - suggestedU);
MS\Internal\PtsHost\TextParaClient.cs (1)
2356
Rect objectRect = objectParaClient.
Rect
.FromTextDpi();