2 writes to _font
PresentationCore (2)
System\Windows\Media\GlyphTypeface.cs (2)
77
_font
= font;
148
_font
= fontCollection.GetFontFromFontFace(fontFaceDWrite);
39 references to _font
PresentationCore (39)
System\Windows\Media\GlyphTypeface.cs (39)
81
MS.Internal.Text.TextInterface.FontFace fontFaceDWrite =
_font
.GetFontFace();
151
_fontFace = new FontFaceLayoutInfo(
_font
);
314
_font
.GetInformationalStrings(MS.Internal.Text.TextInterface.InformationalStringID.PreferredFamilyNames, out localizedStrings)
316
_font
.GetInformationalStrings(MS.Internal.Text.TextInterface.InformationalStringID.WIN32FamilyNames, out localizedStrings)
342
_font
.GetInformationalStrings(MS.Internal.Text.TextInterface.InformationalStringID.PreferredSubFamilyNames, out localizedStrings)
344
_font
.GetInformationalStrings(MS.Internal.Text.TextInterface.InformationalStringID.Win32SubFamilyNames, out localizedStrings)
386
IDictionary<CultureInfo, string> adjustedFaceNames =
_font
.FaceNames;
565
return new FontStyle((int)
_font
.Style);
578
return new FontWeight((int)
_font
.Weight);
591
return new FontStretch((int)
_font
.Stretch);
603
return
_font
.Version;
615
return (double)(
_font
.Metrics.Ascent +
_font
.Metrics.Descent) /
_font
.Metrics.DesignUnitsPerEm;
627
return (double)
_font
.Metrics.Ascent /
_font
.Metrics.DesignUnitsPerEm;
639
return (double)
_font
.Metrics.CapHeight /
_font
.Metrics.DesignUnitsPerEm;
651
return (double)
_font
.Metrics.XHeight /
_font
.Metrics.DesignUnitsPerEm;
664
return
_font
.IsSymbolFont;
677
return (double)
_font
.Metrics.UnderlinePosition /
_font
.Metrics.DesignUnitsPerEm;
689
return (double)
_font
.Metrics.UnderlineThickness /
_font
.Metrics.DesignUnitsPerEm;
702
return (double)
_font
.Metrics.StrikethroughPosition /
_font
.Metrics.DesignUnitsPerEm;
714
return (double)
_font
.Metrics.StrikethroughThickness /
_font
.Metrics.DesignUnitsPerEm;
961
MS.Internal.Text.TextInterface.FontFace fontFaceDWrite =
_font
.GetFontFace();
995
return
_font
;
1058
MS.Internal.Text.TextInterface.FontFace fontFaceDWrite =
_font
.GetFontFace();
1089
MS.Internal.Text.TextInterface.FontFace fontFaceDWrite =
_font
.GetFontFace();
1261
MS.Internal.Text.TextInterface.FontFace fontFaceDWrite =
_font
.GetFontFace();
1556
MS.Internal.Text.TextInterface.FontFace fontFaceDWrite =
_font
.GetFontFace();
1602
return
_font
.Metrics.DesignUnitsPerEm;
1615
return
_font
.DWriteFontAddRef;
1632
if (
_font
.GetInformationalStrings(informationalStringID, out localizedStrings))
1697
MS.Internal.Text.TextInterface.FontFace fontFaceDWrite =
_font
.GetFontFace();