11 writes to _rect
PresentationFramework (11)
MS\Internal\PtsHost\BaseParaClient.cs (1)
77
_rect
= rcPara;
MS\Internal\PtsHost\CellParaClient.cs (2)
114
PTS.Validate(PTS.FsTransformRectangle(PTS.FlowDirectionToFswdir(tableFlowDirection), ref pageRect, ref
_rect
, PTS.FlowDirectionToFswdir(PageFlowDirection), out
_rect
));
MS\Internal\PtsHost\FigureParaClient.cs (1)
194
_rect
= rcFigure;
MS\Internal\PtsHost\FloaterParaClient.cs (1)
185
_rect
= rcFloater;
MS\Internal\PtsHost\TableParaClient.cs (3)
87
_rect
= rect;
98
PTS.Validate(PTS.FsTransformRectangle(PTS.FlowDirectionToFswdir(ParentFlowDirection), ref pageRect, ref
_rect
, PTS.FlowDirectionToFswdir(PageFlowDirection), out
_rect
));
MS\Internal\PtsHost\UIElementParaClient.cs (3)
67
_rect
= floaterDetails.fsrcFloater;
75
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)
99
return
_rect
.v +
_rect
.dv;
148
Rect rect = TextDpi.FromTextRect(
_rect
);
219
internal PTS.FSRECT Rect { get { return
_rect
; } }
MS\Internal\PtsHost\CellParaClient.cs (5)
105
_rect
.u = du + rcTable.u;
106
_rect
.v = dv + rcTable.v;
107
_rect
.du = TextDpi.ToTextDpi(durCellWidth);
108
_rect
.dv = TextDpi.ToTextDpi(_arrangeHeight);
325
geometry = new RectangleGeometry(
_rect
.FromTextDpi());
MS\Internal\PtsHost\ContainerParaClient.cs (9)
63
_rect
.u += mbp.MarginLeft;
64
_rect
.du -= mbp.MarginLeft + mbp.MarginRight;
66
_rect
.du = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.du);
67
_rect
.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.dv);
112
if (ie == null &&
_rect
.Contains(pt))
196
_visual.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border,
_rect
.FromTextDpi(), IsFirstChunk, IsLastChunk);
385
return
_rect
.v;
MS\Internal\PtsHost\FigureParaClient.cs (13)
83
_contentRect.u =
_rect
.u + mbp.BPLeft;
84
_contentRect.du = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.du - mbp.BPRight - mbp.BPLeft);
85
_contentRect.v =
_rect
.v + mbp.BPTop;
86
_contentRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.dv - mbp.BPBottom - mbp.BPTop);
88
_paddingRect.u =
_rect
.u + mbp.BorderLeft;
89
_paddingRect.du = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.du - mbp.BorderRight - mbp.BorderLeft);
90
_paddingRect.v =
_rect
.v + mbp.BorderTop;
91
_paddingRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.dv - mbp.BorderBottom - mbp.BorderTop);
199
_rect
.v += mbp.MarginTop;
200
_rect
.dv -= mbp.MarginTop + mbp.MarginBottom;
201
_rect
.u += mbp.MarginLeft;
202
_rect
.du -= mbp.MarginLeft + mbp.MarginRight;
366
Visual.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border,
_rect
.FromTextDpi(), IsFirstChunk, IsLastChunk);
MS\Internal\PtsHost\FloaterParaClient.cs (13)
190
_rect
.v += mbp.MarginTop;
191
_rect
.dv -= mbp.MarginTop + mbp.MarginBottom;
192
_rect
.u += mbp.MarginLeft;
193
_rect
.du -= mbp.MarginLeft + mbp.MarginRight;
204
_contentRect.u =
_rect
.u + mbp.BPLeft;
205
_contentRect.du = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.du - mbp.BPRight - mbp.BPLeft);
206
_contentRect.v =
_rect
.v + mbp.BPTop;
207
_contentRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.dv - mbp.BPBottom - mbp.BPTop);
209
_paddingRect.u =
_rect
.u + mbp.BorderLeft;
210
_paddingRect.du = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.du - mbp.BorderRight - mbp.BorderLeft);
211
_paddingRect.v =
_rect
.v + mbp.BorderTop;
212
_paddingRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.dv - mbp.BorderBottom - mbp.BorderTop);
372
Visual.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border,
_rect
.FromTextDpi(), IsFirstChunk, IsLastChunk);
MS\Internal\PtsHost\ListParaClient.cs (1)
77
_visual.DrawBackgroundAndBorderIntoContext(ctx, backgroundBrush, mbp.BorderBrush, mbp.Border,
_rect
.FromTextDpi(), IsFirstChunk, IsLastChunk);
MS\Internal\PtsHost\SubpageParaClient.cs (9)
96
_contentRect.u =
_rect
.u + mbp.BPLeft;
97
_contentRect.du = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.du - mbp.BPRight - mbp.BPLeft);
98
_contentRect.v =
_rect
.v + mbp.BPTop;
99
_contentRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.dv - mbp.BPBottom - mbp.BPTop);
101
_paddingRect.u =
_rect
.u + mbp.BorderLeft;
102
_paddingRect.du = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.du - mbp.BorderRight - mbp.BorderLeft);
103
_paddingRect.v =
_rect
.v + mbp.BorderTop;
104
_paddingRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.dv - mbp.BorderBottom - mbp.BorderTop);
299
Visual.DrawBackgroundAndBorder(backgroundBrush, mbpInfo.BorderBrush, mbpInfo.Border,
_rect
.FromTextDpi(), IsFirstChunk, IsLastChunk);
MS\Internal\PtsHost\TableParaClient.cs (9)
102
_rect
.u += mbp.MarginLeft;
103
_rect
.du -= mbp.MarginLeft + mbp.MarginRight;
151
cellParaClient.Arrange(TextDpi.ToTextDpi(urCellOffset), vrRowTop,
_rect
, ThisFlowDirection, _pageContext);
233
_visual.DrawBackgroundAndBorderIntoContext(dc, backgroundBrush, mbpInfo.BorderBrush, mbpInfo.Border,
_rect
.FromTextDpi(), IsFirstChunk, IsLastChunk);
416
if(element == null &&
_rect
.Contains(pt))
2424
return new PTS.FSRECT(
_rect
.u + mbpInfo.BPLeft,
2425
_rect
.v + calculatedBPTop,
2426
Math.Max(
_rect
.du - (mbpInfo.BPRight + mbpInfo.BPLeft), 1),
2427
Math.Max(
_rect
.dv - calculatedBPBottom - calculatedBPTop, 1)
MS\Internal\PtsHost\TextParaClient.cs (8)
1346
((FloaterParaClient)paraClient).ArrangeFloater(rectFloater,
_rect
, PTS.FlowDirectionToFswdir(ThisFlowDirection), _pageContext);
1360
((FigureParaClient)paraClient).ArrangeFigure(rectFigure,
_rect
, PTS.FlowDirectionToFswdir(ThisFlowDirection), _pageContext);
3323
return ((
_rect
.v) <= (rect.v + rect.dv)) &&
3324
((
_rect
.v +
_rect
.dv) >= rect.v);
3332
return (rect.v <= (
_rect
.v)) &&
3333
(rect.v + rect.dv >= (
_rect
.v +
_rect
.dv));
MS\Internal\PtsHost\UIElementParaClient.cs (13)
78
_rect
.u += mbp.MarginLeft;
79
_rect
.du -= mbp.MarginLeft + mbp.MarginRight;
80
_rect
.du = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.du);
81
_rect
.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.dv);
109
PtsHelper.UpdateMirroringTransform(PageFlowDirection, ThisFlowDirection, _visual, TextDpi.FromTextDpi(2 *
_rect
.u +
_rect
.du));
129
uiElementIsland.Offset = new PTS.FSVECTOR(
_rect
.u + mbp.BPLeft,
_rect
.v + mbp.BPTop).FromTextDpi();
138
_visual.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border,
_rect
.FromTextDpi(), IsFirstChunk, IsLastChunk);
149
return new RectangleGeometry(
_rect
.FromTextDpi());
169
if (
_rect
.Contains(pt))