11 writes to _rect
PresentationFramework (11)
MS\Internal\PtsHost\BaseParaClient.cs (1)
69_rect = rcPara;
MS\Internal\PtsHost\CellParaClient.cs (2)
109PTS.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; 92PTS.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; 71PTS.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)
91return _rect.v + _rect.dv; 140Rect rect = TextDpi.FromTextRect(_rect); 211internal 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); 320geometry = 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); 107if (ie == null && _rect.Contains(pt)) 191_visual.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border, _rect.FromTextDpi(), IsFirstChunk, IsLastChunk); 380return _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; 361Visual.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); 368Visual.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); 294Visual.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; 145cellParaClient.Arrange(TextDpi.ToTextDpi(urCellOffset), vrRowTop, _rect, ThisFlowDirection, _pageContext); 227_visual.DrawBackgroundAndBorderIntoContext(dc, backgroundBrush, mbpInfo.BorderBrush, mbpInfo.Border, _rect.FromTextDpi(), IsFirstChunk, IsLastChunk); 410if(element == null && _rect.Contains(pt)) 2418return new PTS.FSRECT(_rect.u + mbpInfo.BPLeft, 2419_rect.v + calculatedBPTop, 2420Math.Max(_rect.du - (mbpInfo.BPRight + mbpInfo.BPLeft), 1), 2421Math.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); 3317return ((_rect.v) <= (rect.v + rect.dv)) && 3318((_rect.v + _rect.dv) >= rect.v); 3326return (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); 105PtsHelper.UpdateMirroringTransform(PageFlowDirection, ThisFlowDirection, _visual, TextDpi.FromTextDpi(2 * _rect.u + _rect.du)); 125uiElementIsland.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); 145return new RectangleGeometry(_rect.FromTextDpi()); 165if (_rect.Contains(pt))