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