6 references to RoundDipForDisplayMode
PresentationCore (6)
MS\Internal\TextFormatting\TextFormatterImp.cs (4)
636
xDisplay =
RoundDipForDisplayMode
(x, pixelsPerDip);
637
yDisplay =
RoundDipForDisplayMode
(y, pixelsPerDip);
657
return
RoundDipForDisplayMode
(value, pixelsPerDip);
709
value =
RoundDipForDisplayMode
(value, pixelsPerDip);
System\Windows\Media\GlyphRun.cs (1)
1726
this.Baseline = TextFormatterImp.
RoundDipForDisplayMode
(designToEm * GlyphTypeface.BaselineHelper(glyphMetrics), pixelsPerDip);
System\Windows\Media\GlyphTypeface.cs (1)
1204
baseline = TextFormatterImp.
RoundDipForDisplayMode
(designToEm * BaselineHelper(glyphMetrics), pixelsPerDip) * scalingFactor;