3 instantiations of CanonicalFontFamilyReference
PresentationCore (3)
MS\Internal\FontCache\CanonicalFontFamilyReference.cs (3)
62
return new
CanonicalFontFamilyReference
(fileName, unescapeFamilyName);
66
return new
CanonicalFontFamilyReference
(absoluteUri, unescapeFamilyName);
188
private static readonly CanonicalFontFamilyReference _unresolved = new
CanonicalFontFamilyReference
((Uri)null, string.Empty);
26 references to CanonicalFontFamilyReference
PresentationCore (26)
MS\Internal\FontCache\CanonicalFontFamilyReference.cs (5)
26
public static
CanonicalFontFamilyReference
Create(Uri baseUri, string normalizedString)
78
public static
CanonicalFontFamilyReference
Unresolved
113
public bool Equals(
CanonicalFontFamilyReference
other)
123
return Equals(obj as
CanonicalFontFamilyReference
);
188
private static readonly
CanonicalFontFamilyReference
_unresolved = new CanonicalFontFamilyReference((Uri)null, string.Empty);
MS\Internal\FontFace\FontFamilyIdentifier.cs (13)
105
_canonicalReferences = new
CanonicalFontFamilyReference
[_tokenCount];
108
foreach (
CanonicalFontFamilyReference
family in first._canonicalReferences)
112
foreach (
CanonicalFontFamilyReference
family in second._canonicalReferences)
166
foreach (
CanonicalFontFamilyReference
family in _canonicalReferences)
189
internal
CanonicalFontFamilyReference
this[int tokenIndex]
235
CanonicalFontFamilyReference
[] canonicalReferences = TypefaceMetricsCache.ReadonlyLookup(hashKey) as
CanonicalFontFamilyReference
[];
240
canonicalReferences = new
CanonicalFontFamilyReference
[count];
350
private
CanonicalFontFamilyReference
GetCanonicalReference(int startIndex, int length)
359
CanonicalFontFamilyReference
canonicalReference = TypefaceMetricsCache.ReadonlyLookup(hashKey) as
CanonicalFontFamilyReference
;
365
canonicalReference =
CanonicalFontFamilyReference
.Create(_baseUri, normalizedString);
468
private
CanonicalFontFamilyReference
[] _canonicalReferences;
MS\Internal\Shaping\TypefaceMap.cs (2)
485
CanonicalFontFamilyReference
canonicalFamilyReference,
885
CanonicalFontFamilyReference
canonicalFamilyReference = null;
System\Windows\Media\FontFamily.cs (6)
42
internal static readonly
CanonicalFontFamilyReference
NullFontFamilyCanonicalName =
CanonicalFontFamilyReference
.Create(null, "#ARIAL");
388
CanonicalFontFamilyReference
canonicalName,
411
internal static IFontFamily LookupFontFamily(
CanonicalFontFamilyReference
canonicalName)
479
CanonicalFontFamilyReference
canonicalFamilyReference,
485
if (canonicalFamilyReference == null || object.ReferenceEquals(canonicalFamilyReference,
CanonicalFontFamilyReference
.Unresolved))