35 references to BPTop
PresentationFramework (35)
MS\Internal\Documents\ParagraphResult.cs (3)
946return new Vector(LayoutBox.X + TextDpi.FromTextDpi(mbp.BPLeft), LayoutBox.Y + TextDpi.FromTextDpi(mbp.BPTop)); 1061return new Vector(LayoutBox.X + TextDpi.FromTextDpi(mbp.BPLeft), LayoutBox.Y + TextDpi.FromTextDpi(mbp.BPTop)); 1233return new Vector(LayoutBox.X + TextDpi.FromTextDpi(mbp.BPLeft), LayoutBox.Y + TextDpi.FromTextDpi(mbp.BPTop));
MS\Internal\PtsHost\ContainerParagraph.cs (7)
540fsrcToFillSubtrack.v += marginTop + mbp.BPTop; 541fsrcToFillSubtrack.dv -= marginTop + mbp.BPTop; 573dvrTopSpace = (mbp.BPTop != 0) ? marginTop : dvrSubTrackTopSpace; 688vrSubtrack = vrTrack + (marginTop + mbp.BPTop); 734dvrTopSpace = (mbp.BPTop != 0) ? marginTop : dvrSubTrackTopSpace; 818vrSubtrack = vrTrack + (marginTop + mbp.BPTop); 864dvrTopSpace = (mbp.BPTop != 0) ? marginTop : dvrSubTrackTopSpace;
MS\Internal\PtsHost\FigureParaClient.cs (2)
85_contentRect.v = _rect.v + mbp.BPTop; 86_contentRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.dv - mbp.BPBottom - mbp.BPTop);
MS\Internal\PtsHost\FigureParagraph.cs (1)
170int subpageHeight = Math.Max(1, TextDpi.ToTextDpi(anchorLimitedHeight) - (mbp.BPTop + mbp.BPBottom));
MS\Internal\PtsHost\FloaterParaClient.cs (2)
206_contentRect.v = _rect.v + mbp.BPTop; 207_contentRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.dv - mbp.BPBottom - mbp.BPTop);
MS\Internal\PtsHost\MarginCollapsingState.cs (1)
54if (mbp.BPTop != 0)
MS\Internal\PtsHost\RowParagraph.cs (1)
147rowprops.dvrAboveTopRow = mbpInfo.BPTop + cellSpacing / 2;
MS\Internal\PtsHost\SubpageParaClient.cs (2)
98_contentRect.v = _rect.v + mbp.BPTop; 99_contentRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.dv - mbp.BPBottom - mbp.BPTop);
MS\Internal\PtsHost\SubpageParagraph.cs (7)
191subpageHeight = Math.Max(1, subpageHeight - (marginTop + mbp.BPTop)); 252dvrTopSpace = (mbp.BPTop != 0) ? marginTop : dvrTopSpace; 253dvrUsed += (marginTop + mbp.BPTop); 446dvrTopSpace = (mbp.BPTop != 0) ? marginTop : dvrTopSpace; 447dvrUsed += (marginTop + mbp.BPTop) + (marginBottom + mbp.BPBottom); 605dvrTopSpace = (mbp.BPTop != 0) ? marginTop : dvrTopSpace; 606dvrUsed += (marginTop + mbp.BPTop) + (marginBottom + mbp.BPBottom);
MS\Internal\PtsHost\TableParaClient.cs (4)
159vrRowTop -= mbp.BPTop; 1812dvAdjustment = -mbpInfo.BPTop; 2421int calculatedBPTop = IsFirstChunk ? mbpInfo.BPTop : 0; 2438return IsFirstChunk ? mbp.BPTop : 0;
MS\Internal\PtsHost\UIElementParaClient.cs (1)
129uiElementIsland.Offset = new PTS.FSVECTOR(_rect.u + mbp.BPLeft, _rect.v + mbp.BPTop).FromTextDpi();
MS\Internal\PtsHost\UIElementParagraph.cs (4)
224fsbbox.fsrc.dv = mbp.BPTop + mbp.BPBottom; 317fsbbox.fsrc.dv = mbp.BPTop + mbp.BPBottom; 414fsbbox.fsrc.dv = TextDpi.ToTextDpi(elementHeight) + mbp.BPTop + mbp.BPBottom; 441fsbbox.fsrc.dv = TextDpi.ToTextDpi(uiIslandSize.Height) + mbp.BPTop + mbp.BPBottom;