2 instantiations of FamilyTypeface
PresentationCore (2)
MS\Internal\FontFace\CompositeFontParser.cs (1)
555
FamilyTypeface face = new
FamilyTypeface
();
System\Windows\Media\FamilyTypefaceCollection.cs (1)
281
items[i++] = new
FamilyTypeface
(face);
52 references to FamilyTypeface
PresentationCore (51)
MS\Internal\FontFace\CompositeFontParser.cs (3)
555
FamilyTypeface
face = new FamilyTypeface();
623
private void ParseFamilyTypefaceAttributes(
FamilyTypeface
face)
706
private void ParseCharacterMetricsElement(
FamilyTypeface
face)
MS\Internal\FontFace\TypefaceCollection.cs (4)
141
_familyTypefaceEnumerator = ((IEnumerable<
FamilyTypeface
>)typefaceCollection._familyTypefaceCollection).GetEnumerator();
159
FamilyTypeface
familyTypeface = _familyTypefaceEnumerator.Current;
204
_familyTypefaceEnumerator = ((IEnumerable<
FamilyTypeface
>)_typefaceCollection._familyTypefaceCollection).GetEnumerator();
213
private IEnumerator<
FamilyTypeface
> _familyTypefaceEnumerator;
MS\Internal\Shaping\CompositeFontFamily.cs (9)
215
FamilyTypeface
bestFace = FindExactFamilyTypeface(style, weight, stretch);
383
FamilyTypeface
bestFace = FindNearestFamilyTypeface(style, weight, stretch);
396
private
FamilyTypeface
FindNearestFamilyTypeface(
407
FamilyTypeface
bestFace = (
FamilyTypeface
)_fontInfo.FamilyTypefaces[0];
413
FamilyTypeface
currentFace = (
FamilyTypeface
)_fontInfo.FamilyTypefaces[i];
430
private
FamilyTypeface
FindExactFamilyTypeface(
443
foreach (
FamilyTypeface
currentFace in _fontInfo.FamilyTypefaces)
System\Windows\Media\FamilyMapCollection.cs (2)
94
if (!elementType.IsAssignableFrom(typeof(
FamilyTypeface
)))
95
throw new ArgumentException(SR.Format(SR.CannotConvertType, typeof(
FamilyTypeface
), elementType));
System\Windows\Media\FamilyTypeface.cs (2)
205
public bool Equals(
FamilyTypeface
typeface)
254
return Equals(o as
FamilyTypeface
);
System\Windows\Media\FamilyTypefaceCollection.cs (31)
11
public sealed class FamilyTypefaceCollection : IList<
FamilyTypeface
>, SC.IList
15
private
FamilyTypeface
[] _items;
43
public IEnumerator<
FamilyTypeface
> GetEnumerator()
60
public void Add(
FamilyTypeface
item)
76
public bool Contains(
FamilyTypeface
item)
84
public void CopyTo(
FamilyTypeface
[] array, int index)
107
public bool Remove(
FamilyTypeface
item)
142
public int IndexOf(
FamilyTypeface
item)
150
public void Insert(int index,
FamilyTypeface
item)
166
public
FamilyTypeface
this[int index]
186
return FindItem(value as
FamilyTypeface
) >= 0;
191
return FindItem(value as
FamilyTypeface
);
202
int i = FindItem(value as
FamilyTypeface
);
229
private int InsertItem(int index,
FamilyTypeface
item)
246
_items = new
FamilyTypeface
[InitialCapacity];
250
FamilyTypeface
[] items = new
FamilyTypeface
[_count * 2];
275
FamilyTypeface
[] items = new
FamilyTypeface
[_count];
289
private
FamilyTypeface
GetItem(int index)
296
private void SetItem(int index,
FamilyTypeface
item)
327
private int FindItem(
FamilyTypeface
item)
353
private
FamilyTypeface
ConvertValue(object obj)
357
FamilyTypeface
familyTypeface = obj as
FamilyTypeface
;
359
throw new ArgumentException(SR.Format(SR.CannotConvertType, obj.GetType(), typeof(
FamilyTypeface
)));
372
if (!elementType.IsAssignableFrom(typeof(
FamilyTypeface
)))
373
throw new ArgumentException(SR.Format(SR.CannotConvertType, typeof(
FamilyTypeface
[]), elementType));
388
private class Enumerator : IEnumerator<
FamilyTypeface
>, SC.IEnumerator
392
private
FamilyTypeface
_current;
423
public
FamilyTypeface
Current
PresentationFramework (1)
HashHelper.cs (1)
15
typeof(System.Windows.Media.
FamilyTypeface
), // bug 1612103