32 references to Rect
PresentationFramework (32)
src\Framework\MS\Internal\Documents\ParagraphResult.cs (1)
49
_layoutBox = _paraClient.
Rect
.FromTextDpi();
src\Framework\MS\Internal\Documents\TextDocumentView.cs (1)
2596
positionOut = GetPositionAtNextLineFromSiblingPara(nestedParagraphs, nesteParagraphIndex, suggestedX - TextDpi.FromTextDpi(cpcCur.
Rect
.u), ref count);
src\Framework\MS\Internal\LayoutDump.cs (1)
987
Rect rect = cellParaClient.
Rect
.FromTextDpi();
src\Framework\MS\Internal\PtsHost\CellParaClient.cs (8)
477
_rectTable = new Rect(TextDpi.FromTextDpi(tpc.
Rect
.u),
478
TextDpi.FromTextDpi(tpc.
Rect
.v),
479
TextDpi.FromTextDpi(tpc.
Rect
.du),
480
TextDpi.FromTextDpi(tpc.
Rect
.dv));
482
_rectCell = new Rect(TextDpi.FromTextDpi(cpc.
Rect
.u),
483
TextDpi.FromTextDpi(cpc.
Rect
.v),
484
TextDpi.FromTextDpi(cpc.
Rect
.du),
485
TextDpi.FromTextDpi(cpc.
Rect
.dv));
src\Framework\MS\Internal\PtsHost\FigureParaClient.cs (1)
274
if(
Rect
.Contains(pt))
src\Framework\MS\Internal\PtsHost\FloaterParaClient.cs (1)
276
if(
Rect
.Contains(pt))
src\Framework\MS\Internal\PtsHost\ListParaClient.cs (3)
111
ctx.PushTransform(new MatrixTransform(-1.0, 0.0, 0.0, 1.0, TextDpi.FromTextDpi(2 * listItemParaClient.
Rect
.u + listItemParaClient.
Rect
.du), 0.0));
124
listMarkerLine.FormatAndDrawVisual(ctx, lineProps, listItemParaClient.
Rect
.u, dvBaseline);
src\Framework\MS\Internal\PtsHost\PtsHelper.cs (1)
453
if(paraClient.
Rect
.Contains(pt))
src\Framework\MS\Internal\PtsHost\SubpageParaClient.cs (1)
198
if(
Rect
.Contains(pt))
src\Framework\MS\Internal\PtsHost\TableParaClient.cs (13)
433
PTS.FSRECT rect = cellParaClient.
Rect
;
435
if (cellParaClient.
Rect
.Contains(pt))
692
PTS.FSRECT rect = cpc.
Rect
;
1069
if(suggestedU >= cpc.
Rect
.u && suggestedU <= (cpc.
Rect
.u + cpc.
Rect
.du))
1075
int iDistance = Math.Abs((cpc.
Rect
.u + cpc.
Rect
.du / 2) - suggestedU);
1151
if(suggestedU >= cpc.
Rect
.u && suggestedU <= (cpc.
Rect
.u + cpc.
Rect
.du))
1157
int iDistance = Math.Abs((cpc.
Rect
.u + cpc.
Rect
.du / 2) - suggestedU);
src\Framework\MS\Internal\PtsHost\TextParaClient.cs (1)
2574
Rect objectRect = objectParaClient.
Rect
.FromTextDpi();