2 implementations of IFontFamily
PresentationCore (2)
MS\Internal\FontFace\PhysicalFontFamily.cs (1)
23
internal sealed class PhysicalFontFamily :
IFontFamily
MS\Internal\Shaping\CompositeFontFamily.cs (1)
25
internal sealed class CompositeFontFamily :
IFontFamily
49 references to IFontFamily
PresentationCore (49)
MS\Internal\FontCache\CachedTypeface.cs (3)
25
private
IFontFamily
_firstFontFamily;
33
IFontFamily
firstFontFamily,
64
internal
IFontFamily
FirstFontFamily
MS\Internal\FontCache\FamilyCollection.cs (3)
323
internal
IFontFamily
LookupFamily(
654
IFontFamily
fontFamily = (
IFontFamily
)compositeFontFamily;
MS\Internal\FontFace\PhysicalFontFamily.cs (11)
67
ITypefaceMetrics
IFontFamily
.GetTypefaceMetrics(
80
IDeviceFont
IFontFamily
.GetDeviceFont(FontStyle style, FontWeight weight, FontStretch stretch)
90
IDictionary<XmlLanguage,string>
IFontFamily
.Names
388
double
IFontFamily
.Baseline(double emSize, double toReal, double pixelsPerDip, TextFormattingMode textFormattingMode)
401
double
IFontFamily
.BaselineDesign
405
return ((
IFontFamily
)this).Baseline(1, 1, 1, TextFormattingMode.Ideal);
410
double
IFontFamily
.LineSpacingDesign
414
return ((
IFontFamily
)this).LineSpacing(1, 1, 1, TextFormattingMode.Ideal);
422
double
IFontFamily
.LineSpacing(double emSize, double toReal, double pixelsPerDip, TextFormattingMode textFormattingMode)
435
ICollection<Typeface>
IFontFamily
.GetTypefaces(FontFamilyIdentifier familyIdentifier)
444
bool
IFontFamily
.GetMapTargetFamilyNameAndScale(
MS\Internal\Shaping\CompositeFontFamily.cs (12)
29
private
IFontFamily
_firstFontFamily;
69
IFontFamily
firstFontFamily
94
IDictionary<XmlLanguage, string>
IFontFamily
.Names
109
return ((
IFontFamily
)this).BaselineDesign * emSize;
140
return ((
IFontFamily
)this).LineSpacingDesign * emSize;
159
double
IFontFamily
.BaselineDesign
172
double
IFontFamily
.LineSpacingDesign
192
ITypefaceMetrics
IFontFamily
.GetTypefaceMetrics(
213
IDeviceFont
IFontFamily
.GetDeviceFont(FontStyle style, FontWeight weight, FontStretch stretch)
227
bool
IFontFamily
.GetMapTargetFamilyNameAndScale(
257
ICollection<Typeface>
IFontFamily
.GetTypefaces(FontFamilyIdentifier familyIdentifier)
358
private
IFontFamily
GetFirstFontFamily()
MS\Internal\Shaping\TypefaceMap.cs (4)
483
IFontFamily
fontFamily,
672
IFontFamily
fontFamily = firstValidFamily;
885
IFontFamily
targetFamily;
976
IFontFamily
fontFamily,
System\Windows\Media\FontFamily.cs (13)
32
private
IFontFamily
_firstFontFamily;
311
internal
IFontFamily
FirstFontFamily
315
IFontFamily
family = _firstFontFamily;
323
family = TypefaceMetricsCache.ReadonlyLookup(FamilyIdentifier) as
IFontFamily
;
355
internal static
IFontFamily
FindFontFamilyFromFriendlyNameList(string friendlyNameList)
357
IFontFamily
firstFontFamily = null;
383
internal static
IFontFamily
SafeLookupFontFamily(
390
IFontFamily
fontFamily = LookupFontFamily(canonicalName);
407
internal static
IFontFamily
LookupFontFamily(CanonicalFontFamilyReference canonicalName)
437
internal
IFontFamily
FindFirstFontFamilyAndFace(
449
IFontFamily
firstFontFamily = null;
474
internal static
IFontFamily
LookupFontFamilyAndFace(
511
IFontFamily
fontFamily = familyCollection.LookupFamily(
System\Windows\Media\Typeface.cs (3)
744
IFontFamily
firstFontFamily = sourceFontFamily.FindFirstFontFamilyAndFace(
774
IFontFamily
cachedValue = TypefaceMetricsCache.ReadonlyLookup(sourceFontFamily.FamilyIdentifier) as
IFontFamily
;