35 references to BPTop
PresentationFramework (35)
src\Framework\MS\Internal\Documents\ParagraphResult.cs (3)
954return new Vector(LayoutBox.X + TextDpi.FromTextDpi(mbp.BPLeft), LayoutBox.Y + TextDpi.FromTextDpi(mbp.BPTop)); 1069return new Vector(LayoutBox.X + TextDpi.FromTextDpi(mbp.BPLeft), LayoutBox.Y + TextDpi.FromTextDpi(mbp.BPTop)); 1242return new Vector(LayoutBox.X + TextDpi.FromTextDpi(mbp.BPLeft), LayoutBox.Y + TextDpi.FromTextDpi(mbp.BPTop));
src\Framework\MS\Internal\PtsHost\ContainerParagraph.cs (7)
552fsrcToFillSubtrack.v += marginTop + mbp.BPTop; 553fsrcToFillSubtrack.dv -= marginTop + mbp.BPTop; 585dvrTopSpace = (mbp.BPTop != 0) ? marginTop : dvrSubTrackTopSpace; 707vrSubtrack = vrTrack + (marginTop + mbp.BPTop); 753dvrTopSpace = (mbp.BPTop != 0) ? marginTop : dvrSubTrackTopSpace; 844vrSubtrack = vrTrack + (marginTop + mbp.BPTop); 890dvrTopSpace = (mbp.BPTop != 0) ? marginTop : dvrSubTrackTopSpace;
src\Framework\MS\Internal\PtsHost\FigureParaClient.cs (2)
105_contentRect.v = _rect.v + mbp.BPTop; 106_contentRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.dv - mbp.BPBottom - mbp.BPTop);
src\Framework\MS\Internal\PtsHost\FigureParagraph.cs (1)
180int subpageHeight = Math.Max(1, TextDpi.ToTextDpi(anchorLimitedHeight) - (mbp.BPTop + mbp.BPBottom));
src\Framework\MS\Internal\PtsHost\FloaterParaClient.cs (2)
231_contentRect.v = _rect.v + mbp.BPTop; 232_contentRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.dv - mbp.BPBottom - mbp.BPTop);
src\Framework\MS\Internal\PtsHost\MarginCollapsingState.cs (1)
57if (mbp.BPTop != 0)
src\Framework\MS\Internal\PtsHost\RowParagraph.cs (1)
153rowprops.dvrAboveTopRow = mbpInfo.BPTop + cellSpacing / 2;
src\Framework\MS\Internal\PtsHost\SubpageParaClient.cs (2)
117_contentRect.v = _rect.v + mbp.BPTop; 118_contentRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.dv - mbp.BPBottom - mbp.BPTop);
src\Framework\MS\Internal\PtsHost\SubpageParagraph.cs (7)
204subpageHeight = Math.Max(1, subpageHeight - (marginTop + mbp.BPTop)); 265dvrTopSpace = (mbp.BPTop != 0) ? marginTop : dvrTopSpace; 266dvrUsed += (marginTop + mbp.BPTop); 471dvrTopSpace = (mbp.BPTop != 0) ? marginTop : dvrTopSpace; 472dvrUsed += (marginTop + mbp.BPTop) + (marginBottom + mbp.BPBottom); 639dvrTopSpace = (mbp.BPTop != 0) ? marginTop : dvrTopSpace; 640dvrUsed += (marginTop + mbp.BPTop) + (marginBottom + mbp.BPBottom);
src\Framework\MS\Internal\PtsHost\TableParaClient.cs (4)
172vrRowTop -= mbp.BPTop; 1924dvAdjustment = -mbpInfo.BPTop; 2542int calculatedBPTop = IsFirstChunk ? mbpInfo.BPTop : 0; 2559return IsFirstChunk ? mbp.BPTop : 0;
src\Framework\MS\Internal\PtsHost\UIElementParaClient.cs (1)
136uiElementIsland.Offset = new PTS.FSVECTOR(_rect.u + mbp.BPLeft, _rect.v + mbp.BPTop).FromTextDpi();
src\Framework\MS\Internal\PtsHost\UIElementParagraph.cs (4)
223fsbbox.fsrc.dv = mbp.BPTop + mbp.BPBottom; 316fsbbox.fsrc.dv = mbp.BPTop + mbp.BPBottom; 413fsbbox.fsrc.dv = TextDpi.ToTextDpi(elementHeight) + mbp.BPTop + mbp.BPBottom; 440fsbbox.fsrc.dv = TextDpi.ToTextDpi(uiIslandSize.Height) + mbp.BPTop + mbp.BPBottom;