11 writes to _rect
PresentationFramework (11)
MS\Internal\PtsHost\BaseParaClient.cs (1)
69
_rect
= rcPara;
MS\Internal\PtsHost\CellParaClient.cs (2)
109
PTS.Validate(PTS.FsTransformRectangle(PTS.FlowDirectionToFswdir(tableFlowDirection), ref pageRect, ref
_rect
, PTS.FlowDirectionToFswdir(PageFlowDirection), out
_rect
));
MS\Internal\PtsHost\FigureParaClient.cs (1)
189
_rect
= rcFigure;
MS\Internal\PtsHost\FloaterParaClient.cs (1)
181
_rect
= rcFloater;
MS\Internal\PtsHost\TableParaClient.cs (3)
81
_rect
= rect;
92
PTS.Validate(PTS.FsTransformRectangle(PTS.FlowDirectionToFswdir(ParentFlowDirection), ref pageRect, ref
_rect
, PTS.FlowDirectionToFswdir(PageFlowDirection), out
_rect
));
MS\Internal\PtsHost\UIElementParaClient.cs (3)
63
_rect
= floaterDetails.fsrcFloater;
71
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)
91
return
_rect
.v +
_rect
.dv;
140
Rect rect = TextDpi.FromTextRect(
_rect
);
211
internal PTS.FSRECT Rect { get { return
_rect
; } }
MS\Internal\PtsHost\CellParaClient.cs (5)
100
_rect
.u = du + rcTable.u;
101
_rect
.v = dv + rcTable.v;
102
_rect
.du = TextDpi.ToTextDpi(durCellWidth);
103
_rect
.dv = TextDpi.ToTextDpi(_arrangeHeight);
320
geometry = new RectangleGeometry(
_rect
.FromTextDpi());
MS\Internal\PtsHost\ContainerParaClient.cs (9)
58
_rect
.u += mbp.MarginLeft;
59
_rect
.du -= mbp.MarginLeft + mbp.MarginRight;
61
_rect
.du = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.du);
62
_rect
.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.dv);
107
if (ie == null &&
_rect
.Contains(pt))
191
_visual.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border,
_rect
.FromTextDpi(), IsFirstChunk, IsLastChunk);
380
return
_rect
.v;
MS\Internal\PtsHost\FigureParaClient.cs (13)
77
_contentRect.u =
_rect
.u + mbp.BPLeft;
78
_contentRect.du = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.du - mbp.BPRight - mbp.BPLeft);
79
_contentRect.v =
_rect
.v + mbp.BPTop;
80
_contentRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.dv - mbp.BPBottom - mbp.BPTop);
82
_paddingRect.u =
_rect
.u + mbp.BorderLeft;
83
_paddingRect.du = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.du - mbp.BorderRight - mbp.BorderLeft);
84
_paddingRect.v =
_rect
.v + mbp.BorderTop;
85
_paddingRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.dv - mbp.BorderBottom - mbp.BorderTop);
194
_rect
.v += mbp.MarginTop;
195
_rect
.dv -= mbp.MarginTop + mbp.MarginBottom;
196
_rect
.u += mbp.MarginLeft;
197
_rect
.du -= mbp.MarginLeft + mbp.MarginRight;
361
Visual.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border,
_rect
.FromTextDpi(), IsFirstChunk, IsLastChunk);
MS\Internal\PtsHost\FloaterParaClient.cs (13)
186
_rect
.v += mbp.MarginTop;
187
_rect
.dv -= mbp.MarginTop + mbp.MarginBottom;
188
_rect
.u += mbp.MarginLeft;
189
_rect
.du -= mbp.MarginLeft + mbp.MarginRight;
200
_contentRect.u =
_rect
.u + mbp.BPLeft;
201
_contentRect.du = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.du - mbp.BPRight - mbp.BPLeft);
202
_contentRect.v =
_rect
.v + mbp.BPTop;
203
_contentRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.dv - mbp.BPBottom - mbp.BPTop);
205
_paddingRect.u =
_rect
.u + mbp.BorderLeft;
206
_paddingRect.du = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.du - mbp.BorderRight - mbp.BorderLeft);
207
_paddingRect.v =
_rect
.v + mbp.BorderTop;
208
_paddingRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.dv - mbp.BorderBottom - mbp.BorderTop);
368
Visual.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border,
_rect
.FromTextDpi(), IsFirstChunk, IsLastChunk);
MS\Internal\PtsHost\ListParaClient.cs (1)
73
_visual.DrawBackgroundAndBorderIntoContext(ctx, backgroundBrush, mbp.BorderBrush, mbp.Border,
_rect
.FromTextDpi(), IsFirstChunk, IsLastChunk);
MS\Internal\PtsHost\SubpageParaClient.cs (9)
91
_contentRect.u =
_rect
.u + mbp.BPLeft;
92
_contentRect.du = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.du - mbp.BPRight - mbp.BPLeft);
93
_contentRect.v =
_rect
.v + mbp.BPTop;
94
_contentRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.dv - mbp.BPBottom - mbp.BPTop);
96
_paddingRect.u =
_rect
.u + mbp.BorderLeft;
97
_paddingRect.du = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.du - mbp.BorderRight - mbp.BorderLeft);
98
_paddingRect.v =
_rect
.v + mbp.BorderTop;
99
_paddingRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.dv - mbp.BorderBottom - mbp.BorderTop);
294
Visual.DrawBackgroundAndBorder(backgroundBrush, mbpInfo.BorderBrush, mbpInfo.Border,
_rect
.FromTextDpi(), IsFirstChunk, IsLastChunk);
MS\Internal\PtsHost\TableParaClient.cs (9)
96
_rect
.u += mbp.MarginLeft;
97
_rect
.du -= mbp.MarginLeft + mbp.MarginRight;
145
cellParaClient.Arrange(TextDpi.ToTextDpi(urCellOffset), vrRowTop,
_rect
, ThisFlowDirection, _pageContext);
227
_visual.DrawBackgroundAndBorderIntoContext(dc, backgroundBrush, mbpInfo.BorderBrush, mbpInfo.Border,
_rect
.FromTextDpi(), IsFirstChunk, IsLastChunk);
410
if(element == null &&
_rect
.Contains(pt))
2418
return new PTS.FSRECT(
_rect
.u + mbpInfo.BPLeft,
2419
_rect
.v + calculatedBPTop,
2420
Math.Max(
_rect
.du - (mbpInfo.BPRight + mbpInfo.BPLeft), 1),
2421
Math.Max(
_rect
.dv - calculatedBPBottom - calculatedBPTop, 1)
MS\Internal\PtsHost\TextParaClient.cs (8)
1340
((FloaterParaClient)paraClient).ArrangeFloater(rectFloater,
_rect
, PTS.FlowDirectionToFswdir(ThisFlowDirection), _pageContext);
1354
((FigureParaClient)paraClient).ArrangeFigure(rectFigure,
_rect
, PTS.FlowDirectionToFswdir(ThisFlowDirection), _pageContext);
3317
return ((
_rect
.v) <= (rect.v + rect.dv)) &&
3318
((
_rect
.v +
_rect
.dv) >= rect.v);
3326
return (rect.v <= (
_rect
.v)) &&
3327
(rect.v + rect.dv >= (
_rect
.v +
_rect
.dv));
MS\Internal\PtsHost\UIElementParaClient.cs (13)
74
_rect
.u += mbp.MarginLeft;
75
_rect
.du -= mbp.MarginLeft + mbp.MarginRight;
76
_rect
.du = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.du);
77
_rect
.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.dv);
105
PtsHelper.UpdateMirroringTransform(PageFlowDirection, ThisFlowDirection, _visual, TextDpi.FromTextDpi(2 *
_rect
.u +
_rect
.du));
125
uiElementIsland.Offset = new PTS.FSVECTOR(
_rect
.u + mbp.BPLeft,
_rect
.v + mbp.BPTop).FromTextDpi();
134
_visual.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border,
_rect
.FromTextDpi(), IsFirstChunk, IsLastChunk);
145
return new RectangleGeometry(
_rect
.FromTextDpi());
165
if (
_rect
.Contains(pt))