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