35 references to BPTop
PresentationFramework (35)
MS\Internal\Documents\ParagraphResult.cs (3)
942return new Vector(LayoutBox.X + TextDpi.FromTextDpi(mbp.BPLeft), LayoutBox.Y + TextDpi.FromTextDpi(mbp.BPTop)); 1057return new Vector(LayoutBox.X + TextDpi.FromTextDpi(mbp.BPLeft), LayoutBox.Y + TextDpi.FromTextDpi(mbp.BPTop)); 1229return new Vector(LayoutBox.X + TextDpi.FromTextDpi(mbp.BPLeft), LayoutBox.Y + TextDpi.FromTextDpi(mbp.BPTop));
MS\Internal\PtsHost\ContainerParagraph.cs (7)
516fsrcToFillSubtrack.v += marginTop + mbp.BPTop; 517fsrcToFillSubtrack.dv -= marginTop + mbp.BPTop; 549dvrTopSpace = (mbp.BPTop != 0) ? marginTop : dvrSubTrackTopSpace; 664vrSubtrack = vrTrack + (marginTop + mbp.BPTop); 710dvrTopSpace = (mbp.BPTop != 0) ? marginTop : dvrSubTrackTopSpace; 794vrSubtrack = vrTrack + (marginTop + mbp.BPTop); 840dvrTopSpace = (mbp.BPTop != 0) ? marginTop : dvrSubTrackTopSpace;
MS\Internal\PtsHost\FigureParaClient.cs (2)
75_contentRect.v = _rect.v + mbp.BPTop; 76_contentRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.dv - mbp.BPBottom - mbp.BPTop);
MS\Internal\PtsHost\FigureParagraph.cs (1)
158int subpageHeight = Math.Max(1, TextDpi.ToTextDpi(anchorLimitedHeight) - (mbp.BPTop + mbp.BPBottom));
MS\Internal\PtsHost\FloaterParaClient.cs (2)
198_contentRect.v = _rect.v + mbp.BPTop; 199_contentRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.dv - mbp.BPBottom - mbp.BPTop);
MS\Internal\PtsHost\MarginCollapsingState.cs (1)
50if (mbp.BPTop != 0)
MS\Internal\PtsHost\RowParagraph.cs (1)
143rowprops.dvrAboveTopRow = mbpInfo.BPTop + cellSpacing / 2;
MS\Internal\PtsHost\SubpageParaClient.cs (2)
92_contentRect.v = _rect.v + mbp.BPTop; 93_contentRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.dv - mbp.BPBottom - mbp.BPTop);
MS\Internal\PtsHost\SubpageParagraph.cs (7)
175subpageHeight = Math.Max(1, subpageHeight - (marginTop + mbp.BPTop)); 236dvrTopSpace = (mbp.BPTop != 0) ? marginTop : dvrTopSpace; 237dvrUsed += (marginTop + mbp.BPTop); 430dvrTopSpace = (mbp.BPTop != 0) ? marginTop : dvrTopSpace; 431dvrUsed += (marginTop + mbp.BPTop) + (marginBottom + mbp.BPBottom); 589dvrTopSpace = (mbp.BPTop != 0) ? marginTop : dvrTopSpace; 590dvrUsed += (marginTop + mbp.BPTop) + (marginBottom + mbp.BPBottom);
MS\Internal\PtsHost\TableParaClient.cs (4)
152vrRowTop -= mbp.BPTop; 1805dvAdjustment = -mbpInfo.BPTop; 2414int calculatedBPTop = IsFirstChunk ? mbpInfo.BPTop : 0; 2431return IsFirstChunk ? mbp.BPTop : 0;
MS\Internal\PtsHost\UIElementParaClient.cs (1)
124uiElementIsland.Offset = new PTS.FSVECTOR(_rect.u + mbp.BPLeft, _rect.v + mbp.BPTop).FromTextDpi();
MS\Internal\PtsHost\UIElementParagraph.cs (4)
215dv = mbp.BPTop + mbp.BPBottom 316dv = mbp.BPTop + mbp.BPBottom 415dv = TextDpi.ToTextDpi(elementHeight) + mbp.BPTop + mbp.BPBottom 444dv = TextDpi.ToTextDpi(uiIslandSize.Height) + mbp.BPTop + mbp.BPBottom