39 writes to dv
PresentationFramework (39)
MS\Internal\PtsHost\CellParaClient.cs (2)
103_rect.dv = TextDpi.ToTextDpi(_arrangeHeight); 171rectCell.dv = TextDpi.ToTextDpi(subpageSize.Height);
MS\Internal\PtsHost\ContainerParaClient.cs (1)
62_rect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.dv);
MS\Internal\PtsHost\ContainerParagraph.cs (2)
536fsrcToFillSubtrack.dv -= marginTop + mbp.BPTop; 538fsrcToFillSubtrack.dv = Math.Max(fsrcToFillSubtrack.dv, 0);
MS\Internal\PtsHost\FigureParaClient.cs (4)
80_contentRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.dv - mbp.BPBottom - mbp.BPTop); 85_paddingRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.dv - mbp.BorderBottom - mbp.BorderTop); 146viewportSubpage.dv = viewport.dv; 194_rect.dv -= mbp.MarginTop + mbp.MarginBottom;
MS\Internal\PtsHost\FigureParagraph.cs (3)
673fsrcSearch.dv = fsrcPage.dv; 678fsrcSearch.dv = fsrcMargin.dv; 683fsrcSearch.dv = (fsrcTrack.v + fsrcTrack.dv) - fsrcFigurePreliminary.v;
MS\Internal\PtsHost\FloaterParaClient.cs (4)
131viewportSubpage.dv = viewport.dv; 186_rect.dv -= mbp.MarginTop + mbp.MarginBottom; 202_contentRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.dv - mbp.BPBottom - mbp.BPTop); 207_paddingRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.dv - mbp.BorderBottom - mbp.BorderTop);
MS\Internal\PtsHost\FloaterParagraph.cs (4)
234fsrcSubpageMargin.dv = subpageHeight; 291fsrcSubpageMargin.dv = subpageHeight; 328fsbbox.fsrc.dv = dvrFloaterHeight; 511fsbbox.fsrc.dv = dvrFloaterHeight;
MS\Internal\PtsHost\Pts.cs (4)
861internal FSRECT(int inU, int inV, int inDU, int inDV) { u = inU; v=inV; du = inDU; dv = inDV; } 862internal FSRECT(FSRECT rect) { u = rect.u; v=rect.v; du = rect.du; dv = rect.dv; } 870dv = TextDpi.ToTextDpi(rect.Height); 874u = v = du = dv = 0;
MS\Internal\PtsHost\PtsHelper.cs (1)
178rcPara.dv = arrayParaDesc[index].dvrUsed - dvrTopSpace;
MS\Internal\PtsHost\PtsPage.cs (1)
772rect.dv = Math.Max(rect.dv, bbox.fsrc.dv);
MS\Internal\PtsHost\Section.cs (1)
119fsrcMargin.dv = dvrPage - TextDpi.ToTextDpi(pageMargin.Top + pageMargin.Bottom);
MS\Internal\PtsHost\SubpageParaClient.cs (3)
94_contentRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.dv - mbp.BPBottom - mbp.BPTop); 99_paddingRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.dv - mbp.BorderBottom - mbp.BorderTop); 425viewportSubpage.dv = viewport.dv;
MS\Internal\PtsHost\SubpageParagraph.cs (4)
199fsrcSubpageMargin.dv = subpageHeight; 285fsbbox.fsrc.dv = Math.Max(dvrUsed - dvrTopSpace, 0); 448fsbbox.fsrc.dv = Math.Max(dvrUsed - dvrTopSpace, 0); 607fsbbox.fsrc.dv = Math.Max(dvrUsed - dvrTopSpace, 0);
MS\Internal\PtsHost\UIElementParaClient.cs (1)
77_rect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.dv);
MS\Internal\PtsHost\UIElementParagraph.cs (4)
221fsbbox.fsrc.dv = mbp.BPTop + mbp.BPBottom; 314fsbbox.fsrc.dv = mbp.BPTop + mbp.BPBottom; 411fsbbox.fsrc.dv = TextDpi.ToTextDpi(elementHeight) + mbp.BPTop + mbp.BPBottom; 438fsbbox.fsrc.dv = TextDpi.ToTextDpi(uiIslandSize.Height) + mbp.BPTop + mbp.BPBottom;
60 references to dv
PresentationFramework (60)
MS\Internal\Documents\ColumnResult.cs (2)
47TextDpi.FromTextDpi(trackDesc.fsrc.du), TextDpi.FromTextDpi(trackDesc.fsrc.dv)); 68TextDpi.FromTextDpi(trackDesc.fsrc.du), TextDpi.FromTextDpi(trackDesc.fsrc.dv));
MS\Internal\PtsHost\BaseParaClient.cs (1)
91return _rect.v + _rect.dv;
MS\Internal\PtsHost\CellParaClient.cs (3)
338Rect viewport = new Rect(0, 0, TextDpi.FromTextDpi(ContentRect.du), TextDpi.FromTextDpi(ContentRect.dv)); 447TextDpi.FromTextDpi(tpc.Rect.dv)); 452TextDpi.FromTextDpi(cpc.Rect.dv));
MS\Internal\PtsHost\ContainerParaClient.cs (1)
62_rect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.dv);
MS\Internal\PtsHost\ContainerParagraph.cs (3)
537fsrcToFillSubtrack.v = Math.Max(Math.Min(fsrcToFillSubtrack.v, fsrcToFill.v + fsrcToFill.dv - 1), fsrcToFill.v); 538fsrcToFillSubtrack.dv = Math.Max(fsrcToFillSubtrack.dv, 0); 598dvrUsed = Math.Min(fsrcToFill.dv, dvrUsed);
MS\Internal\PtsHost\FigureParaClient.cs (6)
80_contentRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.dv - mbp.BPBottom - mbp.BPTop); 85_paddingRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.dv - mbp.BorderBottom - mbp.BorderTop); 146viewportSubpage.dv = viewport.dv; 441sectionVisual.DrawColumnRules(ref arrayColumnDesc, TextDpi.FromTextDpi(subpageDetails.u.complex.fsrc.v), TextDpi.FromTextDpi(subpageDetails.u.complex.fsrc.dv), columnProperties); 472PTS.FSRECT clipRect = new PTS.FSRECT(_paddingRect.u - _contentRect.u, _paddingRect.v - _contentRect.v, _paddingRect.du, _paddingRect.dv); 749Rect viewport = new Rect(0, 0, TextDpi.FromTextDpi(_contentRect.du), TextDpi.FromTextDpi(_contentRect.dv));
MS\Internal\PtsHost\FigureParagraph.cs (5)
345( (fsrcFigurePreliminary.v + fsrcFigurePreliminary.dv) > (fsrcTrack.v + fsrcTrack.dv) ) && // And we exceed column height 673fsrcSearch.dv = fsrcPage.dv; 678fsrcSearch.dv = fsrcMargin.dv; 683fsrcSearch.dv = (fsrcTrack.v + fsrcTrack.dv) - fsrcFigurePreliminary.v;
MS\Internal\PtsHost\FloaterParaClient.cs (6)
131viewportSubpage.dv = viewport.dv; 202_contentRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.dv - mbp.BPBottom - mbp.BPTop); 207_paddingRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.dv - mbp.BorderBottom - mbp.BorderTop); 448sectionVisual.DrawColumnRules(ref arrayColumnDesc, TextDpi.FromTextDpi(subpageDetails.u.complex.fsrc.v), TextDpi.FromTextDpi(subpageDetails.u.complex.fsrc.dv), columnProperties); 479PTS.FSRECT clipRect = new PTS.FSRECT(_paddingRect.u - _contentRect.u, _paddingRect.v - _contentRect.v, _paddingRect.du, _paddingRect.dv); 758Rect viewport = new Rect(0, 0, TextDpi.FromTextDpi(_contentRect.du), TextDpi.FromTextDpi(_contentRect.dv));
MS\Internal\PtsHost\Pts.cs (6)
862internal FSRECT(FSRECT rect) { u = rect.u; v=rect.v; du = rect.du; dv = rect.dv; } 883return rect1.u == rect2.u && rect1.v == rect2.v && rect1.du == rect2.du && rect1.dv == rect2.dv; 900return u.GetHashCode() ^ v.GetHashCode() ^ du.GetHashCode() ^ dv.GetHashCode(); 908return new Rect(TextDpi.FromTextDpi(u), TextDpi.FromTextDpi(v), TextDpi.FromTextDpi(du), TextDpi.FromTextDpi(dv)); 916return (point.u >= u && point.u <= u + du && point.v >= v && point.v <= v + dv);
MS\Internal\PtsHost\PtsPage.cs (5)
772rect.dv = Math.Max(rect.dv, bbox.fsrc.dv); 776_calculatedSize.Height = Math.Max(TextDpi.MinWidth, TextDpi.FromTextDpi(rect.dv)); 781_contentSize.Height = Math.Max(TextDpi.MinWidth, TextDpi.FromTextDpi(bbox.fsrc.dv)); 1147visual.DrawColumnRules(ref arrayColumnDesc, TextDpi.FromTextDpi(sectionDesc.fsrc.v), TextDpi.FromTextDpi(sectionDesc.fsrc.dv), columnProperties);
MS\Internal\PtsHost\SubpageParaClient.cs (5)
94_contentRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.dv - mbp.BPBottom - mbp.BPTop); 99_paddingRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.dv - mbp.BorderBottom - mbp.BorderTop); 375sectionVisual.DrawColumnRules(ref arrayColumnDesc, TextDpi.FromTextDpi(subpageDetails.u.complex.fsrc.v), TextDpi.FromTextDpi(subpageDetails.u.complex.fsrc.dv), columnProperties); 405PTS.FSRECT clipRect = new PTS.FSRECT(_paddingRect.u - _contentRect.u, _paddingRect.v - _contentRect.v, _paddingRect.du, _paddingRect.dv); 425viewportSubpage.dv = viewport.dv;
MS\Internal\PtsHost\SubpageParagraph.cs (4)
156subpageHeight = fsrcToFill.dv; 240dvrUsed = Math.Max(dvrUsed, fsbbox.fsrc.dv + fsbbox.fsrc.v); 436dvrUsed = Math.Max(dvrUsed, fsbbox.fsrc.dv + fsbbox.fsrc.v); 595dvrUsed = Math.Max(dvrUsed, fsbbox.fsrc.dv + fsbbox.fsrc.v);
MS\Internal\PtsHost\TableParaClient.cs (3)
640v >= rect.v && v <= (rect.v + rect.dv)) 647int dv = Math.Min(Math.Abs(rect.v - v), Math.Abs(rect.v + rect.dv - v)); 2421Math.Max(_rect.dv - calculatedBPBottom - calculatedBPTop, 1)
MS\Internal\PtsHost\TextParaClient.cs (5)
3317return ((_rect.v) <= (rect.v + rect.dv)) && 3318((_rect.v + _rect.dv) >= rect.v); 3327(rect.v + rect.dv >= (_rect.v + _rect.dv)); 3422if ((lineDesc.vrStart) > (viewport.v + viewport.dv))
MS\Internal\PtsHost\UIElementParaClient.cs (1)
77_rect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.MinWidth), _rect.dv);
MS\Internal\PtsHost\UIElementParagraph.cs (3)
225dvrFloaterHeight = fsbbox.fsrc.dv; 305dvrFloaterHeight = fsbbox.fsrc.dv; 319dvrFloaterHeight = fsbbox.fsrc.dv;
MS\Internal\Text\TextDpi.cs (1)
97FromTextDpi(fsrect.dv));