10 references to TypefaceMetricsCache
PresentationCore (10)
Core\CSharp\MS\Internal\FontFace\FontFamilyIdentifier.cs (4)
253
CanonicalFontFamilyReference[] canonicalReferences =
TypefaceMetricsCache
.ReadonlyLookup(hashKey) as CanonicalFontFamilyReference[];
273
TypefaceMetricsCache
.Add(hashKey, canonicalReferences);
377
CanonicalFontFamilyReference canonicalReference =
TypefaceMetricsCache
.ReadonlyLookup(hashKey) as CanonicalFontFamilyReference;
386
TypefaceMetricsCache
.Add(hashKey, canonicalReference);
Core\CSharp\System\Windows\Media\FontFamily.cs (2)
352
family =
TypefaceMetricsCache
.ReadonlyLookup(FamilyIdentifier) as IFontFamily;
368
TypefaceMetricsCache
.Add(FamilyIdentifier, family);
Core\CSharp\System\Windows\Media\Typeface.cs (4)
728
CachedTypeface cachedTypeface =
TypefaceMetricsCache
.ReadonlyLookup(this) as CachedTypeface;
733
TypefaceMetricsCache
.Add(this, cachedTypeface);
790
IFontFamily cachedValue =
TypefaceMetricsCache
.ReadonlyLookup(sourceFontFamily.FamilyIdentifier) as IFontFamily;
798
TypefaceMetricsCache
.Add(sourceFontFamily.FamilyIdentifier, firstFontFamily);