25 instantiations of Typeface
PresentationCore (7)
MS\Internal\FontFace\TypefaceCollection.cs (2)
156return new Typeface(_typefaceCollection._fontFamily, new FontStyle((int)face.Style), new FontWeight((int)face.Weight), new FontStretch((int)face.Stretch)); 161return new Typeface(_typefaceCollection._fontFamily, familyTypeface.Style, familyTypeface.Weight, familyTypeface.Stretch);
MS\Internal\TextFormatting\TextMarkerSource.cs (1)
77new Typeface(
System\Windows\Media\FormattedText.cs (4)
411new Typeface(fontFamily, oldTypeface.Style, oldTypeface.Weight, oldTypeface.Stretch), 633new Typeface(oldTypeface.FontFamily, oldTypeface.Style, weight, oldTypeface.Stretch), 683new Typeface(oldTypeface.FontFamily, style, oldTypeface.Weight, oldTypeface.Stretch), 734new Typeface(oldTypeface.FontFamily, oldTypeface.Style, oldTypeface.Weight, stretch),
PresentationFramework (18)
MS\Internal\Text\DynamicPropertyReader.cs (2)
45return new Typeface(fontFamily, fontStyle, fontWeight, fontStretch); 56return new Typeface(fontFamily, fontStyle, fontWeight, fontStretch);
System\Windows\Documents\FixedPage.cs (1)
1271new Typeface("Arial"),
System\Windows\Documents\FixedPageStructure.cs (12)
269new Typeface("Courier New"), 283new Typeface("Courier New"), 300new Typeface("Courier New"), 337new Typeface("Courier New"), 371new Typeface("Courier New"), 417new Typeface("Courier New"), 433new Typeface("Courier New"), 481new Typeface("Courier New"), 497new Typeface("Courier New"), 556new Typeface("Courier New"), 625new Typeface("Courier New"), 656new Typeface("Arial"),
System\Windows\Documents\FixedSOMSemanticBox.cs (1)
72new Typeface("Arial"),
System\Windows\Documents\FixedSOMTable.cs (1)
46new Typeface("Courier New"),
System\Windows\Documents\RtfToXamlReader.cs (1)
3489Typeface typeface = new Typeface(typefaceName);
70 references to Typeface
PresentationCore (62)
MS\Internal\FontFace\IFontFamily.cs (1)
105ICollection<Typeface> GetTypefaces(FontFamilyIdentifier familyIdentifier);
MS\Internal\FontFace\PhysicalFontFamily.cs (1)
436ICollection<Typeface> IFontFamily.GetTypefaces(FontFamilyIdentifier familyIdentifier)
MS\Internal\FontFace\TypefaceCollection.cs (11)
12internal unsafe struct TypefaceCollection : ICollection<Typeface> 36public void Add(Typeface item) 46public bool Contains(Typeface item) 48foreach (Typeface t in this) 56public void CopyTo(Typeface[] array, int arrayIndex) 72foreach (Typeface t in this) 102public bool Remove(Typeface item) 111public IEnumerator<Typeface> GetEnumerator() 127private struct Enumerator : IEnumerator<Typeface> 149public Typeface Current 180return ((IEnumerator<Typeface>)this).Current;
MS\Internal\Shaping\CompositeFontFamily.cs (1)
258ICollection<Typeface> IFontFamily.GetTypefaces(FontFamilyIdentifier familyIdentifier)
MS\Internal\Shaping\GlyphingCache.cs (4)
33private SizeLimitedCache<Typeface, TypefaceMap> _sizeLimitedCache; 37_sizeLimitedCache = new SizeLimitedCache<Typeface, TypefaceMap>(capacity); 41Typeface typeface, 92private TypefaceMap Lookup(Typeface key)
MS\Internal\TextFormatting\GenericTextProperties.cs (3)
40Typeface typeface, 114public override Typeface Typeface 206private Typeface _typeface;
MS\Internal\TextFormatting\LineServicesCallbacks.cs (1)
425Typeface typeface = store.Pap.DefaultTypeface;
MS\Internal\TextFormatting\SimpleTextLine.cs (1)
1354internal Typeface Typeface
MS\Internal\TextFormatting\TextMarkerSource.cs (1)
73Typeface defaultTypeface = defaultRunProperties.Typeface;
MS\Internal\TextFormatting\TextProperties.cs (1)
123internal Typeface DefaultTypeface
MS\Internal\TextFormatting\TextShapeableCharacters.cs (1)
187Typeface typeface = _properties.Typeface;
System\Windows\Media\FamilyTypeface.cs (1)
27internal FamilyTypeface(Typeface face)
System\Windows\Media\FamilyTypefaceCollection.cs (3)
15private ICollection<Typeface> _innerList; 32internal FamilyTypefaceCollection(ICollection<Typeface> innerList) 280foreach (Typeface face in _innerList)
System\Windows\Media\FontFamily.cs (1)
244public ICollection<Typeface> GetTypefaces()
System\Windows\Media\Fonts.cs (15)
134public static ICollection<Typeface> GetTypefaces(string location) 151public static ICollection<Typeface> GetTypefaces(Uri baseUri) 173public static ICollection<Typeface> GetTypefaces(Uri baseUri, string location) 204public static ICollection<Typeface> SystemTypefaces 279private struct TypefaceCollection : ICollection<Typeface> 290public void Add(Typeface item) 300public bool Contains(Typeface item) 302foreach (Typeface t in this) 310public void CopyTo(Typeface[] array, int arrayIndex) 325foreach (Typeface t in this) 336foreach (Typeface t in this) 352public bool Remove(Typeface item) 361public IEnumerator<Typeface> GetEnumerator() 365foreach (Typeface typeface in family.GetTypefaces()) 378return ((IEnumerable<Typeface>)this).GetEnumerator();
System\Windows\Media\FormattedText.cs (13)
35Typeface typeface, 65Typeface typeface, 99Typeface typeface, 131Typeface typeface, 165Typeface typeface, 190Typeface typeface, 200private void InitFormattedText(string textToFormat, CultureInfo culture, FlowDirection flowDirection, Typeface typeface, 406Typeface oldTypeface = runProps.Typeface; 628Typeface oldTypeface = runProps.Typeface; 678Typeface oldTypeface = runProps.Typeface; 729Typeface oldTypeface = runProps.Typeface; 755public void SetFontTypeface(Typeface typeface) 766public void SetFontTypeface(Typeface typeface, int startIndex, int count)
System\Windows\Media\textformatting\TextRunProperties.cs (1)
32public abstract Typeface Typeface
System\Windows\Media\Typeface.cs (2)
684Typeface t = o as Typeface;
PresentationFramework (8)
MS\Internal\PtsHost\ListMarkerSourceInfo.cs (2)
81Typeface typeface = DynamicPropertyReader.GetModifiedTypeface(list, new FontFamily("Wingdings")); 134Typeface typeface = DynamicPropertyReader.GetModifiedTypeface(list, new FontFamily("Wingdings"));
MS\Internal\Text\DynamicPropertyReader.cs (2)
36internal static Typeface GetTypeface(DependencyObject element) 48internal static Typeface GetModifiedTypeface(DependencyObject element, FontFamily fontFamily)
MS\Internal\Text\TextProperties.cs (2)
36public override Typeface Typeface { get { return _typeface; } } 320private Typeface _typeface;
MS\Internal\Text\TextSpanModifier.cs (1)
185public override Typeface Typeface
System\Windows\Documents\RtfToXamlReader.cs (1)
3489Typeface typeface = new Typeface(typefaceName);