39 writes to dv
PresentationFramework (39)
src\Framework\MS\Internal\PtsHost\CellParaClient.cs (2)
120
_rect.
dv
= TextDpi.ToTextDpi(_arrangeHeight);
193
rectCell.
dv
= TextDpi.ToTextDpi(subpageSize.Height);
src\Framework\MS\Internal\PtsHost\ContainerParaClient.cs (1)
78
_rect.
dv
= Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.dv);
src\Framework\MS\Internal\PtsHost\ContainerParagraph.cs (2)
553
fsrcToFillSubtrack.
dv
-= marginTop + mbp.BPTop;
555
fsrcToFillSubtrack.
dv
= Math.Max(fsrcToFillSubtrack.dv, 0);
src\Framework\MS\Internal\PtsHost\FigureParaClient.cs (4)
106
_contentRect.
dv
= Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.dv - mbp.BPBottom - mbp.BPTop);
111
_paddingRect.
dv
= Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.dv - mbp.BorderBottom - mbp.BorderTop);
179
viewportSubpage.
dv
= viewport.dv;
227
_rect.
dv
-= mbp.MarginTop + mbp.MarginBottom;
src\Framework\MS\Internal\PtsHost\FigureParagraph.cs (3)
701
fsrcSearch.
dv
= fsrcPage.dv;
706
fsrcSearch.
dv
= fsrcMargin.dv;
711
fsrcSearch.
dv
= (fsrcTrack.v + fsrcTrack.dv) - fsrcFigurePreliminary.v;
src\Framework\MS\Internal\PtsHost\FloaterParaClient.cs (4)
161
viewportSubpage.
dv
= viewport.dv;
216
_rect.
dv
-= mbp.MarginTop + mbp.MarginBottom;
232
_contentRect.
dv
= Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.dv - mbp.BPBottom - mbp.BPTop);
237
_paddingRect.
dv
= Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.dv - mbp.BorderBottom - mbp.BorderTop);
src\Framework\MS\Internal\PtsHost\FloaterParagraph.cs (4)
246
fsrcSubpageMargin.
dv
= subpageHeight;
303
fsrcSubpageMargin.
dv
= subpageHeight;
340
fsbbox.fsrc.
dv
= dvrFloaterHeight;
530
fsbbox.fsrc.
dv
= dvrFloaterHeight;
src\Framework\MS\Internal\PtsHost\Pts.cs (4)
905
internal FSRECT(int inU, int inV, int inDU, int inDV) { u = inU; v=inV; du = inDU;
dv
= inDV; }
906
internal FSRECT(FSRECT rect) { u = rect.u; v=rect.v; du = rect.du;
dv
= rect.dv; }
914
dv
= TextDpi.ToTextDpi(rect.Height);
918
u = v = du =
dv
= 0;
src\Framework\MS\Internal\PtsHost\PtsHelper.cs (1)
199
rcPara.
dv
= arrayParaDesc[index].dvrUsed - dvrTopSpace;
src\Framework\MS\Internal\PtsHost\PtsPage.cs (1)
850
rect.
dv
= Math.Max(rect.dv, bbox.fsrc.dv);
src\Framework\MS\Internal\PtsHost\Section.cs (1)
125
fsrcMargin.
dv
= dvrPage - TextDpi.ToTextDpi(pageMargin.Top + pageMargin.Bottom);
src\Framework\MS\Internal\PtsHost\SubpageParaClient.cs (3)
118
_contentRect.
dv
= Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.dv - mbp.BPBottom - mbp.BPTop);
123
_paddingRect.
dv
= Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.dv - mbp.BorderBottom - mbp.BorderTop);
482
viewportSubpage.
dv
= viewport.dv;
src\Framework\MS\Internal\PtsHost\SubpageParagraph.cs (4)
217
fsrcSubpageMargin.
dv
= subpageHeight;
303
fsbbox.fsrc.
dv
= Math.Max(dvrUsed - dvrTopSpace, 0);
478
fsbbox.fsrc.
dv
= Math.Max(dvrUsed - dvrTopSpace, 0);
646
fsbbox.fsrc.
dv
= Math.Max(dvrUsed - dvrTopSpace, 0);
src\Framework\MS\Internal\PtsHost\UIElementParaClient.cs (1)
88
_rect.
dv
= Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.dv);
src\Framework\MS\Internal\PtsHost\UIElementParagraph.cs (4)
223
fsbbox.fsrc.
dv
= mbp.BPTop + mbp.BPBottom;
316
fsbbox.fsrc.
dv
= mbp.BPTop + mbp.BPBottom;
413
fsbbox.fsrc.
dv
= TextDpi.ToTextDpi(elementHeight) + mbp.BPTop + mbp.BPBottom;
440
fsbbox.fsrc.
dv
= TextDpi.ToTextDpi(uiIslandSize.Height) + mbp.BPTop + mbp.BPBottom;
60 references to dv
PresentationFramework (60)
src\Framework\MS\Internal\Documents\ColumnResult.cs (2)
61
TextDpi.FromTextDpi(trackDesc.fsrc.du), TextDpi.FromTextDpi(trackDesc.fsrc.
dv
));
86
TextDpi.FromTextDpi(trackDesc.fsrc.du), TextDpi.FromTextDpi(trackDesc.fsrc.
dv
));
src\Framework\MS\Internal\PtsHost\BaseParaClient.cs (1)
114
return _rect.v + _rect.
dv
;
src\Framework\MS\Internal\PtsHost\CellParaClient.cs (3)
370
Rect viewport = new Rect(0, 0, TextDpi.FromTextDpi(ContentRect.du), TextDpi.FromTextDpi(ContentRect.
dv
));
480
TextDpi.FromTextDpi(tpc.Rect.
dv
));
485
TextDpi.FromTextDpi(cpc.Rect.
dv
));
src\Framework\MS\Internal\PtsHost\ContainerParaClient.cs (1)
78
_rect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.
dv
);
src\Framework\MS\Internal\PtsHost\ContainerParagraph.cs (3)
554
fsrcToFillSubtrack.v = Math.Max(Math.Min(fsrcToFillSubtrack.v, fsrcToFill.v + fsrcToFill.
dv
- 1), fsrcToFill.v);
555
fsrcToFillSubtrack.dv = Math.Max(fsrcToFillSubtrack.
dv
, 0);
615
dvrUsed = Math.Min(fsrcToFill.
dv
, dvrUsed);
src\Framework\MS\Internal\PtsHost\FigureParaClient.cs (6)
106
_contentRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.
dv
- mbp.BPBottom - mbp.BPTop);
111
_paddingRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.
dv
- mbp.BorderBottom - mbp.BorderTop);
179
viewportSubpage.dv = viewport.
dv
;
498
sectionVisual.DrawColumnRules(ref arrayColumnDesc, TextDpi.FromTextDpi(subpageDetails.u.complex.fsrc.v), TextDpi.FromTextDpi(subpageDetails.u.complex.fsrc.
dv
), columnProperties);
529
PTS.FSRECT clipRect = new PTS.FSRECT(_paddingRect.u - _contentRect.u, _paddingRect.v - _contentRect.v, _paddingRect.du, _paddingRect.
dv
);
830
Rect viewport = new Rect(0, 0, TextDpi.FromTextDpi(_contentRect.du), TextDpi.FromTextDpi(_contentRect.
dv
));
src\Framework\MS\Internal\PtsHost\FigureParagraph.cs (5)
365
( (fsrcFigurePreliminary.v + fsrcFigurePreliminary.
dv
) > (fsrcTrack.v + fsrcTrack.
dv
) ) && // And we exceed column height
701
fsrcSearch.dv = fsrcPage.
dv
;
706
fsrcSearch.dv = fsrcMargin.
dv
;
711
fsrcSearch.dv = (fsrcTrack.v + fsrcTrack.
dv
) - fsrcFigurePreliminary.v;
src\Framework\MS\Internal\PtsHost\FloaterParaClient.cs (6)
161
viewportSubpage.dv = viewport.
dv
;
232
_contentRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.
dv
- mbp.BPBottom - mbp.BPTop);
237
_paddingRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.
dv
- mbp.BorderBottom - mbp.BorderTop);
502
sectionVisual.DrawColumnRules(ref arrayColumnDesc, TextDpi.FromTextDpi(subpageDetails.u.complex.fsrc.v), TextDpi.FromTextDpi(subpageDetails.u.complex.fsrc.
dv
), columnProperties);
533
PTS.FSRECT clipRect = new PTS.FSRECT(_paddingRect.u - _contentRect.u, _paddingRect.v - _contentRect.v, _paddingRect.du, _paddingRect.
dv
);
836
Rect viewport = new Rect(0, 0, TextDpi.FromTextDpi(_contentRect.du), TextDpi.FromTextDpi(_contentRect.
dv
));
src\Framework\MS\Internal\PtsHost\Pts.cs (6)
906
internal FSRECT(FSRECT rect) { u = rect.u; v=rect.v; du = rect.du; dv = rect.
dv
; }
927
return rect1.u == rect2.u && rect1.v == rect2.v && rect1.du == rect2.du && rect1.
dv
== rect2.
dv
;
944
return u.GetHashCode() ^ v.GetHashCode() ^ du.GetHashCode() ^
dv
.GetHashCode();
952
return new Rect(TextDpi.FromTextDpi(u), TextDpi.FromTextDpi(v), TextDpi.FromTextDpi(du), TextDpi.FromTextDpi(
dv
));
960
return (point.u >= u && point.u <= u + du && point.v >= v && point.v <= v +
dv
);
src\Framework\MS\Internal\PtsHost\PtsPage.cs (5)
850
rect.dv = Math.Max(rect.
dv
, bbox.fsrc.
dv
);
854
_calculatedSize.Height = Math.Max(TextDpi.MinWidth, TextDpi.FromTextDpi(rect.
dv
));
859
_contentSize.Height = Math.Max(TextDpi.MinWidth, TextDpi.FromTextDpi(bbox.fsrc.
dv
));
1262
visual.DrawColumnRules(ref arrayColumnDesc, TextDpi.FromTextDpi(sectionDesc.fsrc.v), TextDpi.FromTextDpi(sectionDesc.fsrc.
dv
), columnProperties);
src\Framework\MS\Internal\PtsHost\SubpageParaClient.cs (5)
118
_contentRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.
dv
- mbp.BPBottom - mbp.BPTop);
123
_paddingRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.
dv
- mbp.BorderBottom - mbp.BorderTop);
423
sectionVisual.DrawColumnRules(ref arrayColumnDesc, TextDpi.FromTextDpi(subpageDetails.u.complex.fsrc.v), TextDpi.FromTextDpi(subpageDetails.u.complex.fsrc.
dv
), columnProperties);
453
PTS.FSRECT clipRect = new PTS.FSRECT(_paddingRect.u - _contentRect.u, _paddingRect.v - _contentRect.v, _paddingRect.du, _paddingRect.
dv
);
482
viewportSubpage.dv = viewport.
dv
;
src\Framework\MS\Internal\PtsHost\SubpageParagraph.cs (4)
174
subpageHeight = fsrcToFill.
dv
;
258
dvrUsed = Math.Max(dvrUsed, fsbbox.fsrc.
dv
+ fsbbox.fsrc.v);
466
dvrUsed = Math.Max(dvrUsed, fsbbox.fsrc.
dv
+ fsbbox.fsrc.v);
634
dvrUsed = Math.Max(dvrUsed, fsbbox.fsrc.
dv
+ fsbbox.fsrc.v);
src\Framework\MS\Internal\PtsHost\TableParaClient.cs (3)
695
v >= rect.v && v <= (rect.v + rect.
dv
))
702
int dv = Math.Min(Math.Abs(rect.v - v), Math.Abs(rect.v + rect.
dv
- v));
2548
Math.Max(_rect.
dv
- calculatedBPBottom - calculatedBPTop, 1)
src\Framework\MS\Internal\PtsHost\TextParaClient.cs (5)
3580
return ((_rect.v) <= (rect.v + rect.
dv
)) &&
3581
((_rect.v + _rect.
dv
) >= rect.v);
3590
(rect.v + rect.
dv
>= (_rect.v + _rect.
dv
));
3689
if ((lineDesc.vrStart) > (viewport.v + viewport.
dv
))
src\Framework\MS\Internal\PtsHost\UIElementParaClient.cs (1)
88
_rect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.
dv
);
src\Framework\MS\Internal\PtsHost\UIElementParagraph.cs (3)
227
dvrFloaterHeight = fsbbox.fsrc.
dv
;
307
dvrFloaterHeight = fsbbox.fsrc.
dv
;
321
dvrFloaterHeight = fsbbox.fsrc.
dv
;
src\Framework\MS\Internal\Text\TextDpi.cs (1)
103
FromTextDpi(fsrect.
dv
));