11 writes to _rect
PresentationFramework (11)
MS\Internal\PtsHost\BaseParaClient.cs (1)
77_rect = rcPara;
MS\Internal\PtsHost\CellParaClient.cs (2)
114PTS.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; 98PTS.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; 75PTS.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)
99return _rect.v + _rect.dv; 148Rect rect = TextDpi.FromTextRect(_rect); 219internal 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); 325geometry = 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); 112if (ie == null && _rect.Contains(pt)) 196_visual.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border, _rect.FromTextDpi(), IsFirstChunk, IsLastChunk); 385return _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; 366Visual.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); 372Visual.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); 299Visual.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; 151cellParaClient.Arrange(TextDpi.ToTextDpi(urCellOffset), vrRowTop, _rect, ThisFlowDirection, _pageContext); 233_visual.DrawBackgroundAndBorderIntoContext(dc, backgroundBrush, mbpInfo.BorderBrush, mbpInfo.Border, _rect.FromTextDpi(), IsFirstChunk, IsLastChunk); 416if(element == null && _rect.Contains(pt)) 2424return new PTS.FSRECT(_rect.u + mbpInfo.BPLeft, 2425_rect.v + calculatedBPTop, 2426Math.Max(_rect.du - (mbpInfo.BPRight + mbpInfo.BPLeft), 1), 2427Math.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); 3323return ((_rect.v) <= (rect.v + rect.dv)) && 3324((_rect.v + _rect.dv) >= rect.v); 3332return (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); 109PtsHelper.UpdateMirroringTransform(PageFlowDirection, ThisFlowDirection, _visual, TextDpi.FromTextDpi(2 * _rect.u + _rect.du)); 129uiElementIsland.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); 149return new RectangleGeometry(_rect.FromTextDpi()); 169if (_rect.Contains(pt))