2 references to RoundDip
PresentationCore (2)
Core\CSharp\System\Windows\Media\GlyphRun.cs (1)
1609double nominalAdvance = TextFormatterImp.RoundDip(_glyphTypeface.GetAdvanceWidth(glyphIndex, _pixelsPerDip, _textFormattingMode, IsSideways) * _renderingEmSize,
Core\CSharp\System\Windows\Media\GlyphTypeface.cs (1)
1717int missingGlyphWidth = (int)Math.Round(TextFormatterImp.RoundDip(emSize * GetAdvanceWidth(0, pixelsPerDip, textFormattingMode, isSideways), pixelsPerDip, textFormattingMode) * scalingFactor);