11 writes to _rect
PresentationFramework (11)
MS\Internal\PtsHost\BaseParaClient.cs (1)
68
_rect
= rcPara;
MS\Internal\PtsHost\CellParaClient.cs (2)
108
PTS.Validate(PTS.FsTransformRectangle(PTS.FlowDirectionToFswdir(tableFlowDirection), ref pageRect, ref
_rect
, PTS.FlowDirectionToFswdir(PageFlowDirection), out
_rect
));
MS\Internal\PtsHost\FigureParaClient.cs (1)
185
_rect
= rcFigure;
MS\Internal\PtsHost\FloaterParaClient.cs (1)
177
_rect
= rcFloater;
MS\Internal\PtsHost\TableParaClient.cs (3)
80
_rect
= rect;
91
PTS.Validate(PTS.FsTransformRectangle(PTS.FlowDirectionToFswdir(ParentFlowDirection), ref pageRect, ref
_rect
, PTS.FlowDirectionToFswdir(PageFlowDirection), out
_rect
));
MS\Internal\PtsHost\UIElementParaClient.cs (3)
62
_rect
= floaterDetails.fsrcFloater;
70
PTS.Validate(PTS.FsTransformRectangle(PTS.FlowDirectionToFswdir(ParentFlowDirection), ref pageRect, ref
_rect
, PTS.FlowDirectionToFswdir(PageFlowDirection), out
_rect
));
84 references to _rect
PresentationFramework (84)
MS\Internal\PtsHost\BaseParaClient.cs (4)
90
return
_rect
.v +
_rect
.dv;
139
Rect rect = TextDpi.FromTextRect(
_rect
);
210
internal PTS.FSRECT Rect { get { return
_rect
; } }
MS\Internal\PtsHost\CellParaClient.cs (5)
99
_rect
.u = du + rcTable.u;
100
_rect
.v = dv + rcTable.v;
101
_rect
.du = TextDpi.ToTextDpi(durCellWidth);
102
_rect
.dv = TextDpi.ToTextDpi(_arrangeHeight);
319
geometry = new RectangleGeometry(
_rect
.FromTextDpi());
MS\Internal\PtsHost\ContainerParaClient.cs (9)
57
_rect
.u += mbp.MarginLeft;
58
_rect
.du -= mbp.MarginLeft + mbp.MarginRight;
60
_rect
.du = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.du);
61
_rect
.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.dv);
106
if (ie == null &&
_rect
.Contains(pt))
190
_visual.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border,
_rect
.FromTextDpi(), IsFirstChunk, IsLastChunk);
379
return
_rect
.v;
MS\Internal\PtsHost\FigureParaClient.cs (13)
73
_contentRect.u =
_rect
.u + mbp.BPLeft;
74
_contentRect.du = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.du - mbp.BPRight - mbp.BPLeft);
75
_contentRect.v =
_rect
.v + mbp.BPTop;
76
_contentRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.dv - mbp.BPBottom - mbp.BPTop);
78
_paddingRect.u =
_rect
.u + mbp.BorderLeft;
79
_paddingRect.du = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.du - mbp.BorderRight - mbp.BorderLeft);
80
_paddingRect.v =
_rect
.v + mbp.BorderTop;
81
_paddingRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.dv - mbp.BorderBottom - mbp.BorderTop);
190
_rect
.v += mbp.MarginTop;
191
_rect
.dv -= mbp.MarginTop + mbp.MarginBottom;
192
_rect
.u += mbp.MarginLeft;
193
_rect
.du -= mbp.MarginLeft + mbp.MarginRight;
357
Visual.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border,
_rect
.FromTextDpi(), IsFirstChunk, IsLastChunk);
MS\Internal\PtsHost\FloaterParaClient.cs (13)
182
_rect
.v += mbp.MarginTop;
183
_rect
.dv -= mbp.MarginTop + mbp.MarginBottom;
184
_rect
.u += mbp.MarginLeft;
185
_rect
.du -= mbp.MarginLeft + mbp.MarginRight;
196
_contentRect.u =
_rect
.u + mbp.BPLeft;
197
_contentRect.du = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.du - mbp.BPRight - mbp.BPLeft);
198
_contentRect.v =
_rect
.v + mbp.BPTop;
199
_contentRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.dv - mbp.BPBottom - mbp.BPTop);
201
_paddingRect.u =
_rect
.u + mbp.BorderLeft;
202
_paddingRect.du = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.du - mbp.BorderRight - mbp.BorderLeft);
203
_paddingRect.v =
_rect
.v + mbp.BorderTop;
204
_paddingRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.dv - mbp.BorderBottom - mbp.BorderTop);
364
Visual.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border,
_rect
.FromTextDpi(), IsFirstChunk, IsLastChunk);
MS\Internal\PtsHost\ListParaClient.cs (1)
72
_visual.DrawBackgroundAndBorderIntoContext(ctx, backgroundBrush, mbp.BorderBrush, mbp.Border,
_rect
.FromTextDpi(), IsFirstChunk, IsLastChunk);
MS\Internal\PtsHost\SubpageParaClient.cs (9)
90
_contentRect.u =
_rect
.u + mbp.BPLeft;
91
_contentRect.du = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.du - mbp.BPRight - mbp.BPLeft);
92
_contentRect.v =
_rect
.v + mbp.BPTop;
93
_contentRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.dv - mbp.BPBottom - mbp.BPTop);
95
_paddingRect.u =
_rect
.u + mbp.BorderLeft;
96
_paddingRect.du = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.du - mbp.BorderRight - mbp.BorderLeft);
97
_paddingRect.v =
_rect
.v + mbp.BorderTop;
98
_paddingRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.dv - mbp.BorderBottom - mbp.BorderTop);
293
Visual.DrawBackgroundAndBorder(backgroundBrush, mbpInfo.BorderBrush, mbpInfo.Border,
_rect
.FromTextDpi(), IsFirstChunk, IsLastChunk);
MS\Internal\PtsHost\TableParaClient.cs (9)
95
_rect
.u += mbp.MarginLeft;
96
_rect
.du -= mbp.MarginLeft + mbp.MarginRight;
144
cellParaClient.Arrange(TextDpi.ToTextDpi(urCellOffset), vrRowTop,
_rect
, ThisFlowDirection, _pageContext);
226
_visual.DrawBackgroundAndBorderIntoContext(dc, backgroundBrush, mbpInfo.BorderBrush, mbpInfo.Border,
_rect
.FromTextDpi(), IsFirstChunk, IsLastChunk);
409
if(element == null &&
_rect
.Contains(pt))
2417
return new PTS.FSRECT(
_rect
.u + mbpInfo.BPLeft,
2418
_rect
.v + calculatedBPTop,
2419
Math.Max(
_rect
.du - (mbpInfo.BPRight + mbpInfo.BPLeft), 1),
2420
Math.Max(
_rect
.dv - calculatedBPBottom - calculatedBPTop, 1)
MS\Internal\PtsHost\TextParaClient.cs (8)
1339
((FloaterParaClient)paraClient).ArrangeFloater(rectFloater,
_rect
, PTS.FlowDirectionToFswdir(ThisFlowDirection), _pageContext);
1353
((FigureParaClient)paraClient).ArrangeFigure(rectFigure,
_rect
, PTS.FlowDirectionToFswdir(ThisFlowDirection), _pageContext);
3316
return ((
_rect
.v) <= (rect.v + rect.dv)) &&
3317
((
_rect
.v +
_rect
.dv) >= rect.v);
3325
return (rect.v <= (
_rect
.v)) &&
3326
(rect.v + rect.dv >= (
_rect
.v +
_rect
.dv));
MS\Internal\PtsHost\UIElementParaClient.cs (13)
73
_rect
.u += mbp.MarginLeft;
74
_rect
.du -= mbp.MarginLeft + mbp.MarginRight;
75
_rect
.du = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.du);
76
_rect
.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.dv);
104
PtsHelper.UpdateMirroringTransform(PageFlowDirection, ThisFlowDirection, _visual, TextDpi.FromTextDpi(2 *
_rect
.u +
_rect
.du));
124
uiElementIsland.Offset = new PTS.FSVECTOR(
_rect
.u + mbp.BPLeft,
_rect
.v + mbp.BPTop).FromTextDpi();
133
_visual.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border,
_rect
.FromTextDpi(), IsFirstChunk, IsLastChunk);
144
return new RectangleGeometry(
_rect
.FromTextDpi());
164
if (
_rect
.Contains(pt))