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