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; 547dvrTopSpace = (mbp.BPTop != 0) ? marginTop : dvrSubTrackTopSpace; 659vrSubtrack = vrTrack + (marginTop + mbp.BPTop); 699dvrTopSpace = (mbp.BPTop != 0) ? marginTop : dvrSubTrackTopSpace; 783vrSubtrack = vrTrack + (marginTop + mbp.BPTop); 823dvrTopSpace = (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)
154int 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)
171subpageHeight = Math.Max(1, subpageHeight - (marginTop + mbp.BPTop)); 229dvrTopSpace = (mbp.BPTop != 0) ? marginTop : dvrTopSpace; 230dvrUsed += (marginTop + mbp.BPTop); 415dvrTopSpace = (mbp.BPTop != 0) ? marginTop : dvrTopSpace; 416dvrUsed += (marginTop + mbp.BPTop) + (marginBottom + mbp.BPBottom); 570dvrTopSpace = (mbp.BPTop != 0) ? marginTop : dvrTopSpace; 571dvrUsed += (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