11 writes to _rect
PresentationFramework (11)
src\Framework\MS\Internal\PtsHost\BaseParaClient.cs (1)
92
_rect
= rcPara;
src\Framework\MS\Internal\PtsHost\CellParaClient.cs (2)
126
PTS.Validate(PTS.FsTransformRectangle(PTS.FlowDirectionToFswdir(tableFlowDirection), ref pageRect, ref
_rect
, PTS.FlowDirectionToFswdir(PageFlowDirection), out
_rect
));
src\Framework\MS\Internal\PtsHost\FigureParaClient.cs (1)
221
_rect
= rcFigure;
src\Framework\MS\Internal\PtsHost\FloaterParaClient.cs (1)
210
_rect
= rcFloater;
src\Framework\MS\Internal\PtsHost\TableParaClient.cs (3)
99
_rect
= rect;
110
PTS.Validate(PTS.FsTransformRectangle(PTS.FlowDirectionToFswdir(ParentFlowDirection), ref pageRect, ref
_rect
, PTS.FlowDirectionToFswdir(PageFlowDirection), out
_rect
));
src\Framework\MS\Internal\PtsHost\UIElementParaClient.cs (3)
74
_rect
= floaterDetails.fsrcFloater;
82
PTS.Validate(PTS.FsTransformRectangle(PTS.FlowDirectionToFswdir(ParentFlowDirection), ref pageRect, ref
_rect
, PTS.FlowDirectionToFswdir(PageFlowDirection), out
_rect
));
84 references to _rect
PresentationFramework (84)
src\Framework\MS\Internal\PtsHost\BaseParaClient.cs (4)
114
return
_rect
.v +
_rect
.dv;
163
Rect rect = TextDpi.FromTextRect(
_rect
);
234
internal PTS.FSRECT Rect { get { return
_rect
; } }
src\Framework\MS\Internal\PtsHost\CellParaClient.cs (5)
117
_rect
.u = du + rcTable.u;
118
_rect
.v = dv + rcTable.v;
119
_rect
.du = TextDpi.ToTextDpi(durCellWidth);
120
_rect
.dv = TextDpi.ToTextDpi(_arrangeHeight);
352
geometry = new RectangleGeometry(
_rect
.FromTextDpi());
src\Framework\MS\Internal\PtsHost\ContainerParaClient.cs (9)
74
_rect
.u += mbp.MarginLeft;
75
_rect
.du -= mbp.MarginLeft + mbp.MarginRight;
77
_rect
.du = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.du);
78
_rect
.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.dv);
131
if (ie == null &&
_rect
.Contains(pt))
229
_visual.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border,
_rect
.FromTextDpi(), IsFirstChunk, IsLastChunk);
447
return
_rect
.v;
src\Framework\MS\Internal\PtsHost\FigureParaClient.cs (13)
103
_contentRect.u =
_rect
.u + mbp.BPLeft;
104
_contentRect.du = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.du - mbp.BPRight - mbp.BPLeft);
105
_contentRect.v =
_rect
.v + mbp.BPTop;
106
_contentRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.dv - mbp.BPBottom - mbp.BPTop);
108
_paddingRect.u =
_rect
.u + mbp.BorderLeft;
109
_paddingRect.du = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.du - mbp.BorderRight - mbp.BorderLeft);
110
_paddingRect.v =
_rect
.v + mbp.BorderTop;
111
_paddingRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.dv - mbp.BorderBottom - mbp.BorderTop);
226
_rect
.v += mbp.MarginTop;
227
_rect
.dv -= mbp.MarginTop + mbp.MarginBottom;
228
_rect
.u += mbp.MarginLeft;
229
_rect
.du -= mbp.MarginLeft + mbp.MarginRight;
417
Visual.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border,
_rect
.FromTextDpi(), IsFirstChunk, IsLastChunk);
src\Framework\MS\Internal\PtsHost\FloaterParaClient.cs (13)
215
_rect
.v += mbp.MarginTop;
216
_rect
.dv -= mbp.MarginTop + mbp.MarginBottom;
217
_rect
.u += mbp.MarginLeft;
218
_rect
.du -= mbp.MarginLeft + mbp.MarginRight;
229
_contentRect.u =
_rect
.u + mbp.BPLeft;
230
_contentRect.du = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.du - mbp.BPRight - mbp.BPLeft);
231
_contentRect.v =
_rect
.v + mbp.BPTop;
232
_contentRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.dv - mbp.BPBottom - mbp.BPTop);
234
_paddingRect.u =
_rect
.u + mbp.BorderLeft;
235
_paddingRect.du = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.du - mbp.BorderRight - mbp.BorderLeft);
236
_paddingRect.v =
_rect
.v + mbp.BorderTop;
237
_paddingRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.dv - mbp.BorderBottom - mbp.BorderTop);
421
Visual.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border,
_rect
.FromTextDpi(), IsFirstChunk, IsLastChunk);
src\Framework\MS\Internal\PtsHost\ListParaClient.cs (1)
87
_visual.DrawBackgroundAndBorderIntoContext(ctx, backgroundBrush, mbp.BorderBrush, mbp.Border,
_rect
.FromTextDpi(), IsFirstChunk, IsLastChunk);
src\Framework\MS\Internal\PtsHost\SubpageParaClient.cs (9)
115
_contentRect.u =
_rect
.u + mbp.BPLeft;
116
_contentRect.du = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.du - mbp.BPRight - mbp.BPLeft);
117
_contentRect.v =
_rect
.v + mbp.BPTop;
118
_contentRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.dv - mbp.BPBottom - mbp.BPTop);
120
_paddingRect.u =
_rect
.u + mbp.BorderLeft;
121
_paddingRect.du = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.du - mbp.BorderRight - mbp.BorderLeft);
122
_paddingRect.v =
_rect
.v + mbp.BorderTop;
123
_paddingRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.dv - mbp.BorderBottom - mbp.BorderTop);
342
Visual.DrawBackgroundAndBorder(backgroundBrush, mbpInfo.BorderBrush, mbpInfo.Border,
_rect
.FromTextDpi(), IsFirstChunk, IsLastChunk);
src\Framework\MS\Internal\PtsHost\TableParaClient.cs (9)
114
_rect
.u += mbp.MarginLeft;
115
_rect
.du -= mbp.MarginLeft + mbp.MarginRight;
163
cellParaClient.Arrange(TextDpi.ToTextDpi(urCellOffset), vrRowTop,
_rect
, ThisFlowDirection, _pageContext);
253
_visual.DrawBackgroundAndBorderIntoContext(dc, backgroundBrush, mbpInfo.BorderBrush, mbpInfo.Border,
_rect
.FromTextDpi(), IsFirstChunk, IsLastChunk);
447
if(element == null &&
_rect
.Contains(pt))
2545
return new PTS.FSRECT(
_rect
.u + mbpInfo.BPLeft,
2546
_rect
.v + calculatedBPTop,
2547
Math.Max(
_rect
.du - (mbpInfo.BPRight + mbpInfo.BPLeft), 1),
2548
Math.Max(
_rect
.dv - calculatedBPBottom - calculatedBPTop, 1)
src\Framework\MS\Internal\PtsHost\TextParaClient.cs (8)
1524
((FloaterParaClient)paraClient).ArrangeFloater(rectFloater,
_rect
, PTS.FlowDirectionToFswdir(ThisFlowDirection), _pageContext);
1538
((FigureParaClient)paraClient).ArrangeFigure(rectFigure,
_rect
, PTS.FlowDirectionToFswdir(ThisFlowDirection), _pageContext);
3580
return ((
_rect
.v) <= (rect.v + rect.dv)) &&
3581
((
_rect
.v +
_rect
.dv) >= rect.v);
3589
return (rect.v <= (
_rect
.v)) &&
3590
(rect.v + rect.dv >= (
_rect
.v +
_rect
.dv));
src\Framework\MS\Internal\PtsHost\UIElementParaClient.cs (13)
85
_rect
.u += mbp.MarginLeft;
86
_rect
.du -= mbp.MarginLeft + mbp.MarginRight;
87
_rect
.du = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.du);
88
_rect
.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth),
_rect
.dv);
116
PtsHelper.UpdateMirroringTransform(PageFlowDirection, ThisFlowDirection, _visual, TextDpi.FromTextDpi(2 *
_rect
.u +
_rect
.du));
136
uiElementIsland.Offset = new PTS.FSVECTOR(
_rect
.u + mbp.BPLeft,
_rect
.v + mbp.BPTop).FromTextDpi();
145
_visual.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border,
_rect
.FromTextDpi(), IsFirstChunk, IsLastChunk);
156
return new RectangleGeometry(
_rect
.FromTextDpi());
176
if (
_rect
.Contains(pt))