32 references to Rect
PresentationFramework (32)
MS\Internal\Documents\ParagraphResult.cs (1)
40
_layoutBox = _paraClient.
Rect
.FromTextDpi();
MS\Internal\Documents\TextDocumentView.cs (1)
2555
positionOut = GetPositionAtNextLineFromSiblingPara(nestedParagraphs, nesteParagraphIndex, suggestedX - TextDpi.FromTextDpi(cpcCur.
Rect
.u), ref count);
MS\Internal\LayoutDump.cs (1)
983
Rect rect = cellParaClient.
Rect
.FromTextDpi();
MS\Internal\PtsHost\CellParaClient.cs (8)
444
_rectTable = new Rect(TextDpi.FromTextDpi(tpc.
Rect
.u),
445
TextDpi.FromTextDpi(tpc.
Rect
.v),
446
TextDpi.FromTextDpi(tpc.
Rect
.du),
447
TextDpi.FromTextDpi(tpc.
Rect
.dv));
449
_rectCell = new Rect(TextDpi.FromTextDpi(cpc.
Rect
.u),
450
TextDpi.FromTextDpi(cpc.
Rect
.v),
451
TextDpi.FromTextDpi(cpc.
Rect
.du),
452
TextDpi.FromTextDpi(cpc.
Rect
.dv));
MS\Internal\PtsHost\FigureParaClient.cs (1)
234
if(
Rect
.Contains(pt))
MS\Internal\PtsHost\FloaterParaClient.cs (1)
239
if(
Rect
.Contains(pt))
MS\Internal\PtsHost\ListParaClient.cs (3)
97
ctx.PushTransform(new MatrixTransform(-1.0, 0.0, 0.0, 1.0, TextDpi.FromTextDpi(2 * listItemParaClient.
Rect
.u + listItemParaClient.
Rect
.du), 0.0));
110
listMarkerLine.FormatAndDrawVisual(ctx, lineProps, listItemParaClient.
Rect
.u, dvBaseline);
MS\Internal\PtsHost\PtsHelper.cs (1)
414
if(paraClient.
Rect
.Contains(pt))
MS\Internal\PtsHost\SubpageParaClient.cs (1)
166
if(
Rect
.Contains(pt))
MS\Internal\PtsHost\TableParaClient.cs (13)
396
PTS.FSRECT rect = cellParaClient.
Rect
;
398
if (cellParaClient.
Rect
.Contains(pt))
637
PTS.FSRECT rect = cpc.
Rect
;
989
if(suggestedU >= cpc.
Rect
.u && suggestedU <= (cpc.
Rect
.u + cpc.
Rect
.du))
995
int iDistance = Math.Abs((cpc.
Rect
.u + cpc.
Rect
.du / 2) - suggestedU);
1065
if(suggestedU >= cpc.
Rect
.u && suggestedU <= (cpc.
Rect
.u + cpc.
Rect
.du))
1071
int iDistance = Math.Abs((cpc.
Rect
.u + cpc.
Rect
.du / 2) - suggestedU);
MS\Internal\PtsHost\TextParaClient.cs (1)
2350
Rect objectRect = objectParaClient.
Rect
.FromTextDpi();