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)
81MS.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) 386IDictionary<CultureInfo, string> adjustedFaceNames = _font.FaceNames; 565return new FontStyle((int)_font.Style); 578return new FontWeight((int)_font.Weight); 591return new FontStretch((int)_font.Stretch); 603return _font.Version; 615return (double)(_font.Metrics.Ascent + _font.Metrics.Descent) / _font.Metrics.DesignUnitsPerEm; 627return (double)_font.Metrics.Ascent / _font.Metrics.DesignUnitsPerEm; 639return (double)_font.Metrics.CapHeight / _font.Metrics.DesignUnitsPerEm; 651return (double)_font.Metrics.XHeight / _font.Metrics.DesignUnitsPerEm; 664return _font.IsSymbolFont; 677return (double)_font.Metrics.UnderlinePosition / _font.Metrics.DesignUnitsPerEm; 689return (double)_font.Metrics.UnderlineThickness / _font.Metrics.DesignUnitsPerEm; 702return (double)_font.Metrics.StrikethroughPosition / _font.Metrics.DesignUnitsPerEm; 714return (double)_font.Metrics.StrikethroughThickness / _font.Metrics.DesignUnitsPerEm; 961MS.Internal.Text.TextInterface.FontFace fontFaceDWrite = _font.GetFontFace(); 995return _font; 1058MS.Internal.Text.TextInterface.FontFace fontFaceDWrite = _font.GetFontFace(); 1089MS.Internal.Text.TextInterface.FontFace fontFaceDWrite = _font.GetFontFace(); 1261MS.Internal.Text.TextInterface.FontFace fontFaceDWrite = _font.GetFontFace(); 1556MS.Internal.Text.TextInterface.FontFace fontFaceDWrite = _font.GetFontFace(); 1602return _font.Metrics.DesignUnitsPerEm; 1615return _font.DWriteFontAddRef; 1632if (_font.GetInformationalStrings(informationalStringID, out localizedStrings)) 1697MS.Internal.Text.TextInterface.FontFace fontFaceDWrite = _font.GetFontFace();