2 instantiations of FamilyTypeface
PresentationCore (2)
Core\CSharp\MS\Internal\FontFace\CompositeFontParser.cs (1)
574FamilyTypeface face = new FamilyTypeface();
Core\CSharp\System\Windows\Media\FamilyTypefaceCollection.cs (1)
299items[i++] = new FamilyTypeface(face);
52 references to FamilyTypeface
PresentationCore (52)
Core\CSharp\MS\Internal\FontFace\CompositeFontParser.cs (3)
574FamilyTypeface face = new FamilyTypeface(); 642private void ParseFamilyTypefaceAttributes(FamilyTypeface face) 726private void ParseCharacterMetricsElement(FamilyTypeface face)
Core\CSharp\MS\Internal\FontFace\TypefaceCollection.cs (4)
168_familyTypefaceEnumerator = ((IEnumerable<FamilyTypeface>)typefaceCollection._familyTypefaceCollection).GetEnumerator(); 191FamilyTypeface familyTypeface = _familyTypefaceEnumerator.Current; 236_familyTypefaceEnumerator = ((IEnumerable<FamilyTypeface>)_typefaceCollection._familyTypefaceCollection).GetEnumerator(); 245private IEnumerator<FamilyTypeface> _familyTypefaceEnumerator;
Core\CSharp\MS\Internal\Shaping\CompositeFontFamily.cs (9)
233FamilyTypeface bestFace = FindExactFamilyTypeface(style, weight, stretch); 401FamilyTypeface bestFace = FindNearestFamilyTypeface(style, weight, stretch); 414private FamilyTypeface FindNearestFamilyTypeface( 425FamilyTypeface bestFace = (FamilyTypeface)_fontInfo.FamilyTypefaces[0]; 431FamilyTypeface currentFace = (FamilyTypeface)_fontInfo.FamilyTypefaces[i]; 448private FamilyTypeface FindExactFamilyTypeface( 461foreach (FamilyTypeface currentFace in _fontInfo.FamilyTypefaces)
Core\CSharp\System\Windows\Media\FamilyMapCollection.cs (2)
112if (!elementType.IsAssignableFrom(typeof(FamilyTypeface))) 113throw new ArgumentException(SR.Get(SRID.CannotConvertType, typeof(FamilyTypeface), elementType));
Core\CSharp\System\Windows\Media\FamilyTypeface.cs (2)
225public bool Equals(FamilyTypeface typeface) 274return Equals(o as FamilyTypeface);
Core\CSharp\System\Windows\Media\FamilyTypefaceCollection.cs (31)
28public sealed class FamilyTypefaceCollection : IList<FamilyTypeface>, SC.IList 32private FamilyTypeface[] _items; 60public IEnumerator<FamilyTypeface> GetEnumerator() 77public void Add(FamilyTypeface item) 93public bool Contains(FamilyTypeface item) 101public void CopyTo(FamilyTypeface[] array, int index) 124public bool Remove(FamilyTypeface item) 159public int IndexOf(FamilyTypeface item) 167public void Insert(int index, FamilyTypeface item) 183public FamilyTypeface this[int index] 203return FindItem(value as FamilyTypeface) >= 0; 208return FindItem(value as FamilyTypeface); 219int i = FindItem(value as FamilyTypeface); 246private int InsertItem(int index, FamilyTypeface item) 264_items = new FamilyTypeface[InitialCapacity]; 268FamilyTypeface[] items = new FamilyTypeface[_count * 2]; 293FamilyTypeface[] items = new FamilyTypeface[_count]; 307private FamilyTypeface GetItem(int index) 314private void SetItem(int index, FamilyTypeface item) 346private int FindItem(FamilyTypeface item) 372private FamilyTypeface ConvertValue(object obj) 377FamilyTypeface familyTypeface = obj as FamilyTypeface; 379throw new ArgumentException(SR.Get(SRID.CannotConvertType, obj.GetType(), typeof(FamilyTypeface))); 393if (!elementType.IsAssignableFrom(typeof(FamilyTypeface))) 394throw new ArgumentException(SR.Get(SRID.CannotConvertType, typeof(FamilyTypeface[]), elementType)); 409private class Enumerator : IEnumerator<FamilyTypeface>, SC.IEnumerator 413FamilyTypeface _current; 444public FamilyTypeface Current
Shared\MS\Internal\HashHelper.cs (1)
40typeof(System.Windows.Media.FamilyTypeface), // bug 1612103