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