2 instantiations of FamilyTypeface
PresentationCore (2)
MS\Internal\FontFace\CompositeFontParser.cs (1)
567FamilyTypeface face = new FamilyTypeface();
System\Windows\Media\FamilyTypefaceCollection.cs (1)
295items[i++] = new FamilyTypeface(face);
52 references to FamilyTypeface
PresentationCore (52)
MS\Internal\FontFace\CompositeFontParser.cs (3)
567FamilyTypeface face = new FamilyTypeface(); 635private void ParseFamilyTypefaceAttributes(FamilyTypeface face) 718private void ParseCharacterMetricsElement(FamilyTypeface face)
MS\Internal\FontFace\TypefaceCollection.cs (4)
156_familyTypefaceEnumerator = ((IEnumerable<FamilyTypeface>)typefaceCollection._familyTypefaceCollection).GetEnumerator(); 174FamilyTypeface familyTypeface = _familyTypefaceEnumerator.Current; 219_familyTypefaceEnumerator = ((IEnumerable<FamilyTypeface>)_typefaceCollection._familyTypefaceCollection).GetEnumerator(); 228private IEnumerator<FamilyTypeface> _familyTypefaceEnumerator;
MS\Internal\Shaping\CompositeFontFamily.cs (9)
224FamilyTypeface bestFace = FindExactFamilyTypeface(style, weight, stretch); 392FamilyTypeface bestFace = FindNearestFamilyTypeface(style, weight, stretch); 405private FamilyTypeface FindNearestFamilyTypeface( 416FamilyTypeface bestFace = (FamilyTypeface)_fontInfo.FamilyTypefaces[0]; 422FamilyTypeface currentFace = (FamilyTypeface)_fontInfo.FamilyTypefaces[i]; 439private FamilyTypeface FindExactFamilyTypeface( 452foreach (FamilyTypeface currentFace in _fontInfo.FamilyTypefaces)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\HashHelper.cs (1)
42typeof(System.Windows.Media.FamilyTypeface), // bug 1612103
System\Windows\Media\FamilyMapCollection.cs (2)
107if (!elementType.IsAssignableFrom(typeof(FamilyTypeface))) 108throw new ArgumentException(SR.Format(SR.CannotConvertType, typeof(FamilyTypeface), elementType));
System\Windows\Media\FamilyTypeface.cs (2)
222public bool Equals(FamilyTypeface typeface) 271return Equals(o as FamilyTypeface);
System\Windows\Media\FamilyTypefaceCollection.cs (31)
25public sealed class FamilyTypefaceCollection : IList<FamilyTypeface>, SC.IList 29private FamilyTypeface[] _items; 57public IEnumerator<FamilyTypeface> GetEnumerator() 74public void Add(FamilyTypeface item) 90public bool Contains(FamilyTypeface item) 98public void CopyTo(FamilyTypeface[] array, int index) 121public bool Remove(FamilyTypeface item) 156public int IndexOf(FamilyTypeface item) 164public void Insert(int index, FamilyTypeface item) 180public FamilyTypeface this[int index] 200return FindItem(value as FamilyTypeface) >= 0; 205return FindItem(value as FamilyTypeface); 216int i = FindItem(value as FamilyTypeface); 243private int InsertItem(int index, FamilyTypeface item) 260_items = new FamilyTypeface[InitialCapacity]; 264FamilyTypeface[] items = new FamilyTypeface[_count * 2]; 289FamilyTypeface[] items = new FamilyTypeface[_count]; 303private FamilyTypeface GetItem(int index) 310private void SetItem(int index, FamilyTypeface item) 341private int FindItem(FamilyTypeface item) 367private FamilyTypeface ConvertValue(object obj) 371FamilyTypeface familyTypeface = obj as FamilyTypeface; 373throw new ArgumentException(SR.Format(SR.CannotConvertType, obj.GetType(), typeof(FamilyTypeface))); 386if (!elementType.IsAssignableFrom(typeof(FamilyTypeface))) 387throw new ArgumentException(SR.Format(SR.CannotConvertType, typeof(FamilyTypeface[]), elementType)); 402private class Enumerator : IEnumerator<FamilyTypeface>, SC.IEnumerator 406FamilyTypeface _current; 437public FamilyTypeface Current