35 references to BPTop
PresentationFramework (35)
MS\Internal\Documents\ParagraphResult.cs (3)
943return new Vector(LayoutBox.X + TextDpi.FromTextDpi(mbp.BPLeft), LayoutBox.Y + TextDpi.FromTextDpi(mbp.BPTop)); 1058return new Vector(LayoutBox.X + TextDpi.FromTextDpi(mbp.BPLeft), LayoutBox.Y + TextDpi.FromTextDpi(mbp.BPTop)); 1230return new Vector(LayoutBox.X + TextDpi.FromTextDpi(mbp.BPLeft), LayoutBox.Y + TextDpi.FromTextDpi(mbp.BPTop));
MS\Internal\PtsHost\ContainerParagraph.cs (7)
517fsrcToFillSubtrack.v += marginTop + mbp.BPTop; 518fsrcToFillSubtrack.dv -= marginTop + mbp.BPTop; 550dvrTopSpace = (mbp.BPTop != 0) ? marginTop : dvrSubTrackTopSpace; 665vrSubtrack = vrTrack + (marginTop + mbp.BPTop); 711dvrTopSpace = (mbp.BPTop != 0) ? marginTop : dvrSubTrackTopSpace; 795vrSubtrack = vrTrack + (marginTop + mbp.BPTop); 841dvrTopSpace = (mbp.BPTop != 0) ? marginTop : dvrSubTrackTopSpace;
MS\Internal\PtsHost\FigureParaClient.cs (2)
76_contentRect.v = _rect.v + mbp.BPTop; 77_contentRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.dv - mbp.BPBottom - mbp.BPTop);
MS\Internal\PtsHost\FigureParagraph.cs (1)
159int subpageHeight = Math.Max(1, TextDpi.ToTextDpi(anchorLimitedHeight) - (mbp.BPTop + mbp.BPBottom));
MS\Internal\PtsHost\FloaterParaClient.cs (2)
199_contentRect.v = _rect.v + mbp.BPTop; 200_contentRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.dv - mbp.BPBottom - mbp.BPTop);
MS\Internal\PtsHost\MarginCollapsingState.cs (1)
51if (mbp.BPTop != 0)
MS\Internal\PtsHost\RowParagraph.cs (1)
144rowprops.dvrAboveTopRow = mbpInfo.BPTop + cellSpacing / 2;
MS\Internal\PtsHost\SubpageParaClient.cs (2)
93_contentRect.v = _rect.v + mbp.BPTop; 94_contentRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.dv - mbp.BPBottom - mbp.BPTop);
MS\Internal\PtsHost\SubpageParagraph.cs (7)
176subpageHeight = Math.Max(1, subpageHeight - (marginTop + mbp.BPTop)); 237dvrTopSpace = (mbp.BPTop != 0) ? marginTop : dvrTopSpace; 238dvrUsed += (marginTop + mbp.BPTop); 431dvrTopSpace = (mbp.BPTop != 0) ? marginTop : dvrTopSpace; 432dvrUsed += (marginTop + mbp.BPTop) + (marginBottom + mbp.BPBottom); 590dvrTopSpace = (mbp.BPTop != 0) ? marginTop : dvrTopSpace; 591dvrUsed += (marginTop + mbp.BPTop) + (marginBottom + mbp.BPBottom);
MS\Internal\PtsHost\TableParaClient.cs (4)
153vrRowTop -= mbp.BPTop; 1806dvAdjustment = -mbpInfo.BPTop; 2415int calculatedBPTop = IsFirstChunk ? mbpInfo.BPTop : 0; 2432return IsFirstChunk ? mbp.BPTop : 0;
MS\Internal\PtsHost\UIElementParaClient.cs (1)
125uiElementIsland.Offset = new PTS.FSVECTOR(_rect.u + mbp.BPLeft, _rect.v + mbp.BPTop).FromTextDpi();
MS\Internal\PtsHost\UIElementParagraph.cs (4)
216dv = mbp.BPTop + mbp.BPBottom 317dv = mbp.BPTop + mbp.BPBottom 416dv = TextDpi.ToTextDpi(elementHeight) + mbp.BPTop + mbp.BPBottom 445dv = TextDpi.ToTextDpi(uiIslandSize.Height) + mbp.BPTop + mbp.BPBottom