22 references to DesignEmHeight
PresentationCore (22)
MS\Internal\TextFormatting\TextShapeableCharacters.cs (2)
353
double designToEm = _emSize / glyphTypeface.
DesignEmHeight
;
366
double designToEm = _emSize * scalingFactor / glyphTypeface.
DesignEmHeight
;
System\Windows\Media\GlyphRun.cs (2)
1306
double designToEm = _renderingEmSize / _glyphTypeface.
DesignEmHeight
;
1474
double designToEm = _renderingEmSize / _glyphTypeface.
DesignEmHeight
;
System\Windows\Media\GlyphTypeface.cs (15)
1029
MS.Internal.Text.TextInterface.GlyphMetrics glyphMetrics = GlyphMetrics(glyph,
DesignEmHeight
, pixelsPerDip, textFormattingMode, isSideways);
1031
return (double)glyphMetrics.AdvanceWidth /
DesignEmHeight
;
1122
return ((double)GlyphMetrics(glyph,
DesignEmHeight
, pixelsPerDip, textFormattingMode, isSideways).LeftSideBearing) /
DesignEmHeight
;
1130
return ((double)GlyphMetrics(glyph,
DesignEmHeight
, pixelsPerDip, textFormattingMode, isSideways).RightSideBearing) /
DesignEmHeight
;
1138
return ((double)GlyphMetrics(glyph,
DesignEmHeight
, pixelsPerDip, textFormattingMode, isSideways).TopSideBearing) /
DesignEmHeight
;
1146
return ((double)GlyphMetrics(glyph,
DesignEmHeight
, pixelsPerDip, textFormattingMode, isSideways).BottomSideBearing) /
DesignEmHeight
;
1154
MS.Internal.Text.TextInterface.GlyphMetrics glyphMetrics = GlyphMetrics(glyph,
DesignEmHeight
, pixelsPerDip, textFormattingMode, isSideways);
1155
return BaselineHelper(glyphMetrics) /
DesignEmHeight
;
1194
double designToEm = renderingEmSize /
DesignEmHeight
;
1350
double designToEm = emSize /
DesignEmHeight
;
1358
double designToEm = emSize * scalingFactor /
DesignEmHeight
;
System\Windows\Media\Typeface.cs (3)
421
double designToEm = emSize / glyphTypeface.
DesignEmHeight
;
649
double designToEm = emSize / glyphTypeface.
DesignEmHeight
;
658
double designToEm = emSize * toIdeal / glyphTypeface.
DesignEmHeight
;