35 references to BPTop
PresentationFramework (35)
MS\Internal\Documents\ParagraphResult.cs (3)
943
return new Vector(LayoutBox.X + TextDpi.FromTextDpi(mbp.BPLeft), LayoutBox.Y + TextDpi.FromTextDpi(mbp.
BPTop
));
1058
return new Vector(LayoutBox.X + TextDpi.FromTextDpi(mbp.BPLeft), LayoutBox.Y + TextDpi.FromTextDpi(mbp.
BPTop
));
1230
return new Vector(LayoutBox.X + TextDpi.FromTextDpi(mbp.BPLeft), LayoutBox.Y + TextDpi.FromTextDpi(mbp.
BPTop
));
MS\Internal\PtsHost\ContainerParagraph.cs (7)
520
fsrcToFillSubtrack.v += marginTop + mbp.
BPTop
;
521
fsrcToFillSubtrack.dv -= marginTop + mbp.
BPTop
;
553
dvrTopSpace = (mbp.
BPTop
!= 0) ? marginTop : dvrSubTrackTopSpace;
668
vrSubtrack = vrTrack + (marginTop + mbp.
BPTop
);
714
dvrTopSpace = (mbp.
BPTop
!= 0) ? marginTop : dvrSubTrackTopSpace;
798
vrSubtrack = vrTrack + (marginTop + mbp.
BPTop
);
844
dvrTopSpace = (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)
159
int 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)
51
if (mbp.
BPTop
!= 0)
MS\Internal\PtsHost\RowParagraph.cs (1)
144
rowprops.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)
176
subpageHeight = Math.Max(1, subpageHeight - (marginTop + mbp.
BPTop
));
237
dvrTopSpace = (mbp.
BPTop
!= 0) ? marginTop : dvrTopSpace;
238
dvrUsed += (marginTop + mbp.
BPTop
);
431
dvrTopSpace = (mbp.
BPTop
!= 0) ? marginTop : dvrTopSpace;
432
dvrUsed += (marginTop + mbp.
BPTop
) + (marginBottom + mbp.BPBottom);
590
dvrTopSpace = (mbp.
BPTop
!= 0) ? marginTop : dvrTopSpace;
591
dvrUsed += (marginTop + mbp.
BPTop
) + (marginBottom + mbp.BPBottom);
MS\Internal\PtsHost\TableParaClient.cs (4)
153
vrRowTop -= mbp.
BPTop
;
1806
dvAdjustment = -mbpInfo.
BPTop
;
2415
int calculatedBPTop = IsFirstChunk ? mbpInfo.
BPTop
: 0;
2432
return IsFirstChunk ? mbp.
BPTop
: 0;
MS\Internal\PtsHost\UIElementParaClient.cs (1)
125
uiElementIsland.Offset = new PTS.FSVECTOR(_rect.u + mbp.BPLeft, _rect.v + mbp.
BPTop
).FromTextDpi();
MS\Internal\PtsHost\UIElementParagraph.cs (4)
219
dv = mbp.
BPTop
+ mbp.BPBottom
320
dv = mbp.
BPTop
+ mbp.BPBottom
419
dv = TextDpi.ToTextDpi(elementHeight) + mbp.
BPTop
+ mbp.BPBottom
448
dv = TextDpi.ToTextDpi(uiIslandSize.Height) + mbp.
BPTop
+ mbp.BPBottom