2 implementations of IFontFamily
PresentationCore (2)
MS\Internal\FontFace\PhysicalFontFamily.cs (1)
24internal sealed class PhysicalFontFamily : IFontFamily
MS\Internal\Shaping\CompositeFontFamily.cs (1)
26internal sealed class CompositeFontFamily : IFontFamily
49 references to IFontFamily
PresentationCore (49)
MS\Internal\FontCache\CachedTypeface.cs (3)
26private IFontFamily _firstFontFamily; 34IFontFamily firstFontFamily, 65internal IFontFamily FirstFontFamily
MS\Internal\FontCache\FamilyCollection.cs (3)
327internal IFontFamily LookupFamily( 657IFontFamily fontFamily = (IFontFamily)compositeFontFamily;
MS\Internal\FontFace\PhysicalFontFamily.cs (11)
68ITypefaceMetrics IFontFamily.GetTypefaceMetrics( 81IDeviceFont IFontFamily.GetDeviceFont(FontStyle style, FontWeight weight, FontStretch stretch) 91IDictionary<XmlLanguage,string> IFontFamily.Names 389double IFontFamily.Baseline(double emSize, double toReal, double pixelsPerDip, TextFormattingMode textFormattingMode) 402double IFontFamily.BaselineDesign 406return ((IFontFamily)this).Baseline(1, 1, 1, TextFormattingMode.Ideal); 411double IFontFamily.LineSpacingDesign 415return ((IFontFamily)this).LineSpacing(1, 1, 1, TextFormattingMode.Ideal); 423double IFontFamily.LineSpacing(double emSize, double toReal, double pixelsPerDip, TextFormattingMode textFormattingMode) 436ICollection<Typeface> IFontFamily.GetTypefaces(FontFamilyIdentifier familyIdentifier) 445bool IFontFamily.GetMapTargetFamilyNameAndScale(
MS\Internal\Shaping\CompositeFontFamily.cs (12)
30private IFontFamily _firstFontFamily; 70IFontFamily firstFontFamily 95IDictionary<XmlLanguage, string> IFontFamily.Names 110return ((IFontFamily)this).BaselineDesign * emSize; 141return ((IFontFamily)this).LineSpacingDesign * emSize; 160double IFontFamily.BaselineDesign 173double IFontFamily.LineSpacingDesign 193ITypefaceMetrics IFontFamily.GetTypefaceMetrics( 214IDeviceFont IFontFamily.GetDeviceFont(FontStyle style, FontWeight weight, FontStretch stretch) 228bool IFontFamily.GetMapTargetFamilyNameAndScale( 258ICollection<Typeface> IFontFamily.GetTypefaces(FontFamilyIdentifier familyIdentifier) 359private IFontFamily GetFirstFontFamily()
MS\Internal\Shaping\TypefaceMap.cs (4)
484IFontFamily fontFamily, 673IFontFamily fontFamily = firstValidFamily; 886IFontFamily targetFamily; 977IFontFamily fontFamily,
System\Windows\Media\FontFamily.cs (13)
36private IFontFamily _firstFontFamily; 315internal IFontFamily FirstFontFamily 319IFontFamily family = _firstFontFamily; 327family = TypefaceMetricsCache.ReadonlyLookup(FamilyIdentifier) as IFontFamily; 359internal static IFontFamily FindFontFamilyFromFriendlyNameList(string friendlyNameList) 361IFontFamily firstFontFamily = null; 387internal static IFontFamily SafeLookupFontFamily( 394IFontFamily fontFamily = LookupFontFamily(canonicalName); 411internal static IFontFamily LookupFontFamily(CanonicalFontFamilyReference canonicalName) 441internal IFontFamily FindFirstFontFamilyAndFace( 453IFontFamily firstFontFamily = null; 478internal static IFontFamily LookupFontFamilyAndFace( 515IFontFamily fontFamily = familyCollection.LookupFamily(
System\Windows\Media\Typeface.cs (3)
745IFontFamily firstFontFamily = sourceFontFamily.FindFirstFontFamilyAndFace( 775IFontFamily cachedValue = TypefaceMetricsCache.ReadonlyLookup(sourceFontFamily.FamilyIdentifier) as IFontFamily;