2 implementations of IFontFamily
PresentationCore (2)
Core\CSharp\MS\Internal\FontFace\PhysicalFontFamily.cs (1)
37
internal sealed class PhysicalFontFamily :
IFontFamily
Core\CSharp\MS\Internal\Shaping\CompositeFontFamily.cs (1)
37
internal sealed class CompositeFontFamily :
IFontFamily
49 references to IFontFamily
PresentationCore (49)
Core\CSharp\MS\Internal\FontCache\CachedTypeface.cs (3)
28
private
IFontFamily
_firstFontFamily;
36
IFontFamily
firstFontFamily,
67
internal
IFontFamily
FirstFontFamily
Core\CSharp\MS\Internal\FontCache\FamilyCollection.cs (3)
489
internal
IFontFamily
LookupFamily(
837
IFontFamily
fontFamily = (
IFontFamily
)compositeFontFamily;
Core\CSharp\MS\Internal\FontFace\PhysicalFontFamily.cs (11)
81
ITypefaceMetrics
IFontFamily
.GetTypefaceMetrics(
94
IDeviceFont
IFontFamily
.GetDeviceFont(FontStyle style, FontWeight weight, FontStretch stretch)
108
IDictionary<XmlLanguage,string>
IFontFamily
.Names
428
double
IFontFamily
.Baseline(double emSize, double toReal, double pixelsPerDip, TextFormattingMode textFormattingMode)
441
double
IFontFamily
.BaselineDesign
445
return ((
IFontFamily
)this).Baseline(1, 1, 1, TextFormattingMode.Ideal);
450
double
IFontFamily
.LineSpacingDesign
454
return ((
IFontFamily
)this).LineSpacing(1, 1, 1, TextFormattingMode.Ideal);
467
double
IFontFamily
.LineSpacing(double emSize, double toReal, double pixelsPerDip, TextFormattingMode textFormattingMode)
480
ICollection<Typeface>
IFontFamily
.GetTypefaces(FontFamilyIdentifier familyIdentifier)
489
bool
IFontFamily
.GetMapTargetFamilyNameAndScale(
Core\CSharp\MS\Internal\Shaping\CompositeFontFamily.cs (12)
41
private
IFontFamily
_firstFontFamily;
86
IFontFamily
firstFontFamily
111
IDictionary<XmlLanguage, string>
IFontFamily
.Names
126
return ((
IFontFamily
)this).BaselineDesign * emSize;
158
return ((
IFontFamily
)this).LineSpacingDesign * emSize;
177
double
IFontFamily
.BaselineDesign
190
double
IFontFamily
.LineSpacingDesign
210
ITypefaceMetrics
IFontFamily
.GetTypefaceMetrics(
231
IDeviceFont
IFontFamily
.GetDeviceFont(FontStyle style, FontWeight weight, FontStretch stretch)
245
bool
IFontFamily
.GetMapTargetFamilyNameAndScale(
275
ICollection<Typeface>
IFontFamily
.GetTypefaces(FontFamilyIdentifier familyIdentifier)
376
private
IFontFamily
GetFirstFontFamily()
Core\CSharp\MS\Internal\Shaping\TypefaceMap.cs (4)
501
IFontFamily
fontFamily,
690
IFontFamily
fontFamily = firstValidFamily;
903
IFontFamily
targetFamily;
994
IFontFamily
fontFamily,
Core\CSharp\System\Windows\Media\FontFamily.cs (13)
60
private
IFontFamily
_firstFontFamily;
340
internal
IFontFamily
FirstFontFamily
344
IFontFamily
family = _firstFontFamily;
352
family = TypefaceMetricsCache.ReadonlyLookup(FamilyIdentifier) as
IFontFamily
;
384
internal static
IFontFamily
FindFontFamilyFromFriendlyNameList(string friendlyNameList)
386
IFontFamily
firstFontFamily = null;
413
internal static
IFontFamily
SafeLookupFontFamily(
420
IFontFamily
fontFamily = LookupFontFamily(canonicalName);
437
internal static
IFontFamily
LookupFontFamily(CanonicalFontFamilyReference canonicalName)
473
internal
IFontFamily
FindFirstFontFamilyAndFace(
486
IFontFamily
firstFontFamily = null;
517
internal static
IFontFamily
LookupFontFamilyAndFace(
554
IFontFamily
fontFamily = familyCollection.LookupFamily(
Core\CSharp\System\Windows\Media\Typeface.cs (3)
760
IFontFamily
firstFontFamily = sourceFontFamily.FindFirstFontFamilyAndFace(
790
IFontFamily
cachedValue = TypefaceMetricsCache.ReadonlyLookup(sourceFontFamily.FamilyIdentifier) as
IFontFamily
;