3 references to GetAdvanceWidth
PresentationCore (3)
System\Windows\Media\GlyphRun.cs (1)
1583double nominalAdvance = TextFormatterImp.RoundDip(_glyphTypeface.GetAdvanceWidth(glyphIndex, _pixelsPerDip, _textFormattingMode, IsSideways) * _renderingEmSize,
System\Windows\Media\GlyphTypeface.cs (2)
829return CreateGlyphIndexer(this.GetAdvanceWidth); 1360int missingGlyphWidth = (int)Math.Round(TextFormatterImp.RoundDip(emSize * GetAdvanceWidth(0, pixelsPerDip, textFormattingMode, isSideways), pixelsPerDip, textFormattingMode) * scalingFactor);