2 implementations of IFontFamily
PresentationCore (2)
MS\Internal\FontFace\PhysicalFontFamily.cs (1)
33
internal sealed class PhysicalFontFamily :
IFontFamily
MS\Internal\Shaping\CompositeFontFamily.cs (1)
34
internal sealed class CompositeFontFamily :
IFontFamily
49 references to IFontFamily
PresentationCore (49)
MS\Internal\FontCache\CachedTypeface.cs (3)
28
private
IFontFamily
_firstFontFamily;
36
IFontFamily
firstFontFamily,
67
internal
IFontFamily
FirstFontFamily
MS\Internal\FontCache\FamilyCollection.cs (3)
337
internal
IFontFamily
LookupFamily(
667
IFontFamily
fontFamily = (
IFontFamily
)compositeFontFamily;
MS\Internal\FontFace\PhysicalFontFamily.cs (11)
77
ITypefaceMetrics
IFontFamily
.GetTypefaceMetrics(
90
IDeviceFont
IFontFamily
.GetDeviceFont(FontStyle style, FontWeight weight, FontStretch stretch)
100
IDictionary<XmlLanguage,string>
IFontFamily
.Names
398
double
IFontFamily
.Baseline(double emSize, double toReal, double pixelsPerDip, TextFormattingMode textFormattingMode)
411
double
IFontFamily
.BaselineDesign
415
return ((
IFontFamily
)this).Baseline(1, 1, 1, TextFormattingMode.Ideal);
420
double
IFontFamily
.LineSpacingDesign
424
return ((
IFontFamily
)this).LineSpacing(1, 1, 1, TextFormattingMode.Ideal);
432
double
IFontFamily
.LineSpacing(double emSize, double toReal, double pixelsPerDip, TextFormattingMode textFormattingMode)
445
ICollection<Typeface>
IFontFamily
.GetTypefaces(FontFamilyIdentifier familyIdentifier)
454
bool
IFontFamily
.GetMapTargetFamilyNameAndScale(
MS\Internal\Shaping\CompositeFontFamily.cs (12)
38
private
IFontFamily
_firstFontFamily;
78
IFontFamily
firstFontFamily
103
IDictionary<XmlLanguage, string>
IFontFamily
.Names
118
return ((
IFontFamily
)this).BaselineDesign * emSize;
149
return ((
IFontFamily
)this).LineSpacingDesign * emSize;
168
double
IFontFamily
.BaselineDesign
181
double
IFontFamily
.LineSpacingDesign
201
ITypefaceMetrics
IFontFamily
.GetTypefaceMetrics(
222
IDeviceFont
IFontFamily
.GetDeviceFont(FontStyle style, FontWeight weight, FontStretch stretch)
236
bool
IFontFamily
.GetMapTargetFamilyNameAndScale(
266
ICollection<Typeface>
IFontFamily
.GetTypefaces(FontFamilyIdentifier familyIdentifier)
367
private
IFontFamily
GetFirstFontFamily()
MS\Internal\Shaping\TypefaceMap.cs (4)
492
IFontFamily
fontFamily,
681
IFontFamily
fontFamily = firstValidFamily;
894
IFontFamily
targetFamily;
985
IFontFamily
fontFamily,
System\Windows\Media\FontFamily.cs (13)
55
private
IFontFamily
_firstFontFamily;
334
internal
IFontFamily
FirstFontFamily
338
IFontFamily
family = _firstFontFamily;
346
family = TypefaceMetricsCache.ReadonlyLookup(FamilyIdentifier) as
IFontFamily
;
378
internal static
IFontFamily
FindFontFamilyFromFriendlyNameList(string friendlyNameList)
380
IFontFamily
firstFontFamily = null;
406
internal static
IFontFamily
SafeLookupFontFamily(
413
IFontFamily
fontFamily = LookupFontFamily(canonicalName);
430
internal static
IFontFamily
LookupFontFamily(CanonicalFontFamilyReference canonicalName)
460
internal
IFontFamily
FindFirstFontFamilyAndFace(
472
IFontFamily
firstFontFamily = null;
497
internal static
IFontFamily
LookupFontFamilyAndFace(
534
IFontFamily
fontFamily = familyCollection.LookupFamily(
System\Windows\Media\Typeface.cs (3)
754
IFontFamily
firstFontFamily = sourceFontFamily.FindFirstFontFamilyAndFace(
784
IFontFamily
cachedValue = TypefaceMetricsCache.ReadonlyLookup(sourceFontFamily.FamilyIdentifier) as
IFontFamily
;