3 instantiations of CanonicalFontFamilyReference
PresentationCore (3)
MS\Internal\FontCache\CanonicalFontFamilyReference.cs (3)
66
return new
CanonicalFontFamilyReference
(fileName, unescapeFamilyName);
70
return new
CanonicalFontFamilyReference
(absoluteUri, unescapeFamilyName);
192
private static readonly CanonicalFontFamilyReference _unresolved = new
CanonicalFontFamilyReference
((Uri)null, string.Empty);
26 references to CanonicalFontFamilyReference
PresentationCore (26)
MS\Internal\FontCache\CanonicalFontFamilyReference.cs (5)
30
public static
CanonicalFontFamilyReference
Create(Uri baseUri, string normalizedString)
82
public static
CanonicalFontFamilyReference
Unresolved
117
public bool Equals(
CanonicalFontFamilyReference
other)
127
return Equals(obj as
CanonicalFontFamilyReference
);
192
private static readonly
CanonicalFontFamilyReference
_unresolved = new CanonicalFontFamilyReference((Uri)null, string.Empty);
MS\Internal\FontFace\FontFamilyIdentifier.cs (13)
117
_canonicalReferences = new
CanonicalFontFamilyReference
[_tokenCount];
120
foreach (
CanonicalFontFamilyReference
family in first._canonicalReferences)
124
foreach (
CanonicalFontFamilyReference
family in second._canonicalReferences)
178
foreach (
CanonicalFontFamilyReference
family in _canonicalReferences)
201
internal
CanonicalFontFamilyReference
this[int tokenIndex]
247
CanonicalFontFamilyReference
[] canonicalReferences = TypefaceMetricsCache.ReadonlyLookup(hashKey) as
CanonicalFontFamilyReference
[];
252
canonicalReferences = new
CanonicalFontFamilyReference
[count];
362
private
CanonicalFontFamilyReference
GetCanonicalReference(int startIndex, int length)
371
CanonicalFontFamilyReference
canonicalReference = TypefaceMetricsCache.ReadonlyLookup(hashKey) as
CanonicalFontFamilyReference
;
377
canonicalReference =
CanonicalFontFamilyReference
.Create(_baseUri, normalizedString);
480
private
CanonicalFontFamilyReference
[] _canonicalReferences;
MS\Internal\Shaping\TypefaceMap.cs (2)
493
CanonicalFontFamilyReference
canonicalFamilyReference,
893
CanonicalFontFamilyReference
canonicalFamilyReference = null;
System\Windows\Media\FontFamily.cs (6)
61
internal static readonly
CanonicalFontFamilyReference
NullFontFamilyCanonicalName =
CanonicalFontFamilyReference
.Create(null, "#ARIAL");
407
CanonicalFontFamilyReference
canonicalName,
430
internal static IFontFamily LookupFontFamily(
CanonicalFontFamilyReference
canonicalName)
498
CanonicalFontFamilyReference
canonicalFamilyReference,
504
if (canonicalFamilyReference == null || object.ReferenceEquals(canonicalFamilyReference,
CanonicalFontFamilyReference
.Unresolved))