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)
520fsrcToFillSubtrack.v += marginTop + mbp.BPTop; 521fsrcToFillSubtrack.dv -= marginTop + mbp.BPTop; 553dvrTopSpace = (mbp.BPTop != 0) ? marginTop : dvrSubTrackTopSpace; 668vrSubtrack = vrTrack + (marginTop + mbp.BPTop); 714dvrTopSpace = (mbp.BPTop != 0) ? marginTop : dvrSubTrackTopSpace; 798vrSubtrack = vrTrack + (marginTop + mbp.BPTop); 844dvrTopSpace = (mbp.BPTop != 0) ? marginTop : dvrSubTrackTopSpace;
MS\Internal\PtsHost\FigureParaClient.cs (2)
79_contentRect.v = _rect.v + mbp.BPTop; 80_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)
202_contentRect.v = _rect.v + mbp.BPTop; 203_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)
219dv = mbp.BPTop + mbp.BPBottom 320dv = mbp.BPTop + mbp.BPBottom 419dv = TextDpi.ToTextDpi(elementHeight) + mbp.BPTop + mbp.BPBottom 448dv = TextDpi.ToTextDpi(uiIslandSize.Height) + mbp.BPTop + mbp.BPBottom