39 writes to dv
PresentationFramework (39)
MS\Internal\PtsHost\CellParaClient.cs (2)
108
_rect.
dv
= TextDpi.ToTextDpi(_arrangeHeight);
176
rectCell.
dv
= TextDpi.ToTextDpi(subpageSize.Height);
MS\Internal\PtsHost\ContainerParaClient.cs (1)
67
_rect.
dv
= Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.dv);
MS\Internal\PtsHost\ContainerParagraph.cs (2)
541
fsrcToFillSubtrack.
dv
-= marginTop + mbp.BPTop;
543
fsrcToFillSubtrack.
dv
= Math.Max(fsrcToFillSubtrack.dv, 0);
MS\Internal\PtsHost\FigureParaClient.cs (4)
86
_contentRect.
dv
= Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.dv - mbp.BPBottom - mbp.BPTop);
91
_paddingRect.
dv
= Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.dv - mbp.BorderBottom - mbp.BorderTop);
152
viewportSubpage.
dv
= viewport.dv;
200
_rect.
dv
-= mbp.MarginTop + mbp.MarginBottom;
MS\Internal\PtsHost\FigureParagraph.cs (3)
679
fsrcSearch.
dv
= fsrcPage.dv;
684
fsrcSearch.
dv
= fsrcMargin.dv;
689
fsrcSearch.
dv
= (fsrcTrack.v + fsrcTrack.dv) - fsrcFigurePreliminary.v;
MS\Internal\PtsHost\FloaterParaClient.cs (4)
136
viewportSubpage.
dv
= viewport.dv;
191
_rect.
dv
-= mbp.MarginTop + mbp.MarginBottom;
207
_contentRect.
dv
= Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.dv - mbp.BPBottom - mbp.BPTop);
212
_paddingRect.
dv
= Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.dv - mbp.BorderBottom - mbp.BorderTop);
MS\Internal\PtsHost\FloaterParagraph.cs (4)
238
fsrcSubpageMargin.
dv
= subpageHeight;
295
fsrcSubpageMargin.
dv
= subpageHeight;
332
fsbbox.fsrc.
dv
= dvrFloaterHeight;
515
fsbbox.fsrc.
dv
= dvrFloaterHeight;
MS\Internal\PtsHost\Pts.cs (4)
866
internal FSRECT(int inU, int inV, int inDU, int inDV) { u = inU; v=inV; du = inDU;
dv
= inDV; }
867
internal FSRECT(FSRECT rect) { u = rect.u; v=rect.v; du = rect.du;
dv
= rect.dv; }
875
dv
= TextDpi.ToTextDpi(rect.Height);
879
u = v = du =
dv
= 0;
MS\Internal\PtsHost\PtsHelper.cs (1)
183
rcPara.
dv
= arrayParaDesc[index].dvrUsed - dvrTopSpace;
MS\Internal\PtsHost\PtsPage.cs (1)
778
rect.
dv
= Math.Max(rect.dv, bbox.fsrc.dv);
MS\Internal\PtsHost\Section.cs (1)
121
fsrcMargin.
dv
= dvrPage - TextDpi.ToTextDpi(pageMargin.Top + pageMargin.Bottom);
MS\Internal\PtsHost\SubpageParaClient.cs (3)
99
_contentRect.
dv
= Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.dv - mbp.BPBottom - mbp.BPTop);
104
_paddingRect.
dv
= Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.dv - mbp.BorderBottom - mbp.BorderTop);
430
viewportSubpage.
dv
= viewport.dv;
MS\Internal\PtsHost\SubpageParagraph.cs (4)
204
fsrcSubpageMargin.
dv
= subpageHeight;
290
fsbbox.fsrc.
dv
= Math.Max(dvrUsed - dvrTopSpace, 0);
453
fsbbox.fsrc.
dv
= Math.Max(dvrUsed - dvrTopSpace, 0);
612
fsbbox.fsrc.
dv
= Math.Max(dvrUsed - dvrTopSpace, 0);
MS\Internal\PtsHost\UIElementParaClient.cs (1)
81
_rect.
dv
= Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.dv);
MS\Internal\PtsHost\UIElementParagraph.cs (4)
224
fsbbox.fsrc.
dv
= mbp.BPTop + mbp.BPBottom;
317
fsbbox.fsrc.
dv
= mbp.BPTop + mbp.BPBottom;
414
fsbbox.fsrc.
dv
= TextDpi.ToTextDpi(elementHeight) + mbp.BPTop + mbp.BPBottom;
441
fsbbox.fsrc.
dv
= TextDpi.ToTextDpi(uiIslandSize.Height) + mbp.BPTop + mbp.BPBottom;
60 references to dv
PresentationFramework (60)
MS\Internal\Documents\ColumnResult.cs (2)
51
TextDpi.FromTextDpi(trackDesc.fsrc.du), TextDpi.FromTextDpi(trackDesc.fsrc.
dv
));
72
TextDpi.FromTextDpi(trackDesc.fsrc.du), TextDpi.FromTextDpi(trackDesc.fsrc.
dv
));
MS\Internal\PtsHost\BaseParaClient.cs (1)
99
return _rect.v + _rect.
dv
;
MS\Internal\PtsHost\CellParaClient.cs (3)
343
Rect viewport = new Rect(0, 0, TextDpi.FromTextDpi(ContentRect.du), TextDpi.FromTextDpi(ContentRect.
dv
));
452
TextDpi.FromTextDpi(tpc.Rect.
dv
));
457
TextDpi.FromTextDpi(cpc.Rect.
dv
));
MS\Internal\PtsHost\ContainerParaClient.cs (1)
67
_rect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.
dv
);
MS\Internal\PtsHost\ContainerParagraph.cs (3)
542
fsrcToFillSubtrack.v = Math.Max(Math.Min(fsrcToFillSubtrack.v, fsrcToFill.v + fsrcToFill.
dv
- 1), fsrcToFill.v);
543
fsrcToFillSubtrack.dv = Math.Max(fsrcToFillSubtrack.
dv
, 0);
603
dvrUsed = Math.Min(fsrcToFill.
dv
, dvrUsed);
MS\Internal\PtsHost\FigureParaClient.cs (6)
86
_contentRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.
dv
- mbp.BPBottom - mbp.BPTop);
91
_paddingRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.
dv
- mbp.BorderBottom - mbp.BorderTop);
152
viewportSubpage.dv = viewport.
dv
;
447
sectionVisual.DrawColumnRules(ref arrayColumnDesc, TextDpi.FromTextDpi(subpageDetails.u.complex.fsrc.v), TextDpi.FromTextDpi(subpageDetails.u.complex.fsrc.
dv
), columnProperties);
478
PTS.FSRECT clipRect = new PTS.FSRECT(_paddingRect.u - _contentRect.u, _paddingRect.v - _contentRect.v, _paddingRect.du, _paddingRect.
dv
);
755
Rect viewport = new Rect(0, 0, TextDpi.FromTextDpi(_contentRect.du), TextDpi.FromTextDpi(_contentRect.
dv
));
MS\Internal\PtsHost\FigureParagraph.cs (5)
351
( (fsrcFigurePreliminary.v + fsrcFigurePreliminary.
dv
) > (fsrcTrack.v + fsrcTrack.
dv
) ) && // And we exceed column height
679
fsrcSearch.dv = fsrcPage.
dv
;
684
fsrcSearch.dv = fsrcMargin.
dv
;
689
fsrcSearch.dv = (fsrcTrack.v + fsrcTrack.
dv
) - fsrcFigurePreliminary.v;
MS\Internal\PtsHost\FloaterParaClient.cs (6)
136
viewportSubpage.dv = viewport.
dv
;
207
_contentRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.
dv
- mbp.BPBottom - mbp.BPTop);
212
_paddingRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.
dv
- mbp.BorderBottom - mbp.BorderTop);
453
sectionVisual.DrawColumnRules(ref arrayColumnDesc, TextDpi.FromTextDpi(subpageDetails.u.complex.fsrc.v), TextDpi.FromTextDpi(subpageDetails.u.complex.fsrc.
dv
), columnProperties);
484
PTS.FSRECT clipRect = new PTS.FSRECT(_paddingRect.u - _contentRect.u, _paddingRect.v - _contentRect.v, _paddingRect.du, _paddingRect.
dv
);
763
Rect viewport = new Rect(0, 0, TextDpi.FromTextDpi(_contentRect.du), TextDpi.FromTextDpi(_contentRect.
dv
));
MS\Internal\PtsHost\Pts.cs (6)
867
internal FSRECT(FSRECT rect) { u = rect.u; v=rect.v; du = rect.du; dv = rect.
dv
; }
888
return rect1.u == rect2.u && rect1.v == rect2.v && rect1.du == rect2.du && rect1.
dv
== rect2.
dv
;
905
return u.GetHashCode() ^ v.GetHashCode() ^ du.GetHashCode() ^
dv
.GetHashCode();
913
return new Rect(TextDpi.FromTextDpi(u), TextDpi.FromTextDpi(v), TextDpi.FromTextDpi(du), TextDpi.FromTextDpi(
dv
));
921
return (point.u >= u && point.u <= u + du && point.v >= v && point.v <= v +
dv
);
MS\Internal\PtsHost\PtsPage.cs (5)
778
rect.dv = Math.Max(rect.
dv
, bbox.fsrc.
dv
);
782
_calculatedSize.Height = Math.Max(TextDpi.MinWidth, TextDpi.FromTextDpi(rect.
dv
));
787
_contentSize.Height = Math.Max(TextDpi.MinWidth, TextDpi.FromTextDpi(bbox.fsrc.
dv
));
1153
visual.DrawColumnRules(ref arrayColumnDesc, TextDpi.FromTextDpi(sectionDesc.fsrc.v), TextDpi.FromTextDpi(sectionDesc.fsrc.
dv
), columnProperties);
MS\Internal\PtsHost\SubpageParaClient.cs (5)
99
_contentRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.
dv
- mbp.BPBottom - mbp.BPTop);
104
_paddingRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.
dv
- mbp.BorderBottom - mbp.BorderTop);
380
sectionVisual.DrawColumnRules(ref arrayColumnDesc, TextDpi.FromTextDpi(subpageDetails.u.complex.fsrc.v), TextDpi.FromTextDpi(subpageDetails.u.complex.fsrc.
dv
), columnProperties);
410
PTS.FSRECT clipRect = new PTS.FSRECT(_paddingRect.u - _contentRect.u, _paddingRect.v - _contentRect.v, _paddingRect.du, _paddingRect.
dv
);
430
viewportSubpage.dv = viewport.
dv
;
MS\Internal\PtsHost\SubpageParagraph.cs (4)
161
subpageHeight = fsrcToFill.
dv
;
245
dvrUsed = Math.Max(dvrUsed, fsbbox.fsrc.
dv
+ fsbbox.fsrc.v);
441
dvrUsed = Math.Max(dvrUsed, fsbbox.fsrc.
dv
+ fsbbox.fsrc.v);
600
dvrUsed = Math.Max(dvrUsed, fsbbox.fsrc.
dv
+ fsbbox.fsrc.v);
MS\Internal\PtsHost\TableParaClient.cs (3)
646
v >= rect.v && v <= (rect.v + rect.
dv
))
653
int dv = Math.Min(Math.Abs(rect.v - v), Math.Abs(rect.v + rect.
dv
- v));
2427
Math.Max(_rect.
dv
- calculatedBPBottom - calculatedBPTop, 1)
MS\Internal\PtsHost\TextParaClient.cs (5)
3323
return ((_rect.v) <= (rect.v + rect.
dv
)) &&
3324
((_rect.v + _rect.
dv
) >= rect.v);
3333
(rect.v + rect.
dv
>= (_rect.v + _rect.
dv
));
3428
if ((lineDesc.vrStart) > (viewport.v + viewport.
dv
))
MS\Internal\PtsHost\UIElementParaClient.cs (1)
81
_rect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.
dv
);
MS\Internal\PtsHost\UIElementParagraph.cs (3)
228
dvrFloaterHeight = fsbbox.fsrc.
dv
;
308
dvrFloaterHeight = fsbbox.fsrc.
dv
;
322
dvrFloaterHeight = fsbbox.fsrc.
dv
;
MS\Internal\Text\TextDpi.cs (1)
100
FromTextDpi(fsrect.
dv
));