22 references to DesignEmHeight
PresentationCore (22)
MS\Internal\TextFormatting\TextShapeableCharacters.cs (2)
345double designToEm = _emSize / glyphTypeface.DesignEmHeight; 358double designToEm = _emSize * scalingFactor / glyphTypeface.DesignEmHeight;
System\Windows\Media\GlyphRun.cs (2)
1293double designToEm = _renderingEmSize / _glyphTypeface.DesignEmHeight; 1461double designToEm = _renderingEmSize / _glyphTypeface.DesignEmHeight;
System\Windows\Media\GlyphTypeface.cs (15)
1020MS.Internal.Text.TextInterface.GlyphMetrics glyphMetrics = GlyphMetrics(glyph, DesignEmHeight, pixelsPerDip, textFormattingMode, isSideways); 1022return (double)glyphMetrics.AdvanceWidth / DesignEmHeight; 1113return ((double)GlyphMetrics(glyph, DesignEmHeight, pixelsPerDip, textFormattingMode, isSideways).LeftSideBearing) / DesignEmHeight; 1121return ((double)GlyphMetrics(glyph, DesignEmHeight, pixelsPerDip, textFormattingMode, isSideways).RightSideBearing) / DesignEmHeight; 1129return ((double)GlyphMetrics(glyph, DesignEmHeight, pixelsPerDip, textFormattingMode, isSideways).TopSideBearing) / DesignEmHeight; 1137return ((double)GlyphMetrics(glyph, DesignEmHeight, pixelsPerDip, textFormattingMode, isSideways).BottomSideBearing) / DesignEmHeight; 1145MS.Internal.Text.TextInterface.GlyphMetrics glyphMetrics = GlyphMetrics(glyph, DesignEmHeight, pixelsPerDip, textFormattingMode, isSideways); 1146return BaselineHelper(glyphMetrics) / DesignEmHeight; 1185double designToEm = renderingEmSize / DesignEmHeight; 1341double designToEm = emSize / DesignEmHeight; 1349double designToEm = emSize * scalingFactor / DesignEmHeight;
System\Windows\Media\Typeface.cs (3)
412double designToEm = emSize / glyphTypeface.DesignEmHeight; 640double designToEm = emSize / glyphTypeface.DesignEmHeight; 649double designToEm = emSize * toIdeal / glyphTypeface.DesignEmHeight;