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