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)
416new Typeface(fontFamily, oldTypeface.Style, oldTypeface.Weight, oldTypeface.Stretch), 642new Typeface(oldTypeface.FontFamily, oldTypeface.Style, weight, oldTypeface.Stretch), 694new Typeface(oldTypeface.FontFamily, style, oldTypeface.Weight, oldTypeface.Stretch), 747new 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)
1269new 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)
3486Typeface 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)
436Typeface typeface = store.Pap.DefaultTypeface;
MS\Internal\TextFormatting\SimpleTextLine.cs (1)
1360internal 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)
247public 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)
38Typeface typeface, 68Typeface typeface, 102Typeface typeface, 134Typeface typeface, 168Typeface typeface, 193Typeface typeface, 203private void InitFormattedText(string textToFormat, CultureInfo culture, FlowDirection flowDirection, Typeface typeface, 411Typeface oldTypeface = runProps.Typeface; 637Typeface oldTypeface = runProps.Typeface; 689Typeface oldTypeface = runProps.Typeface; 742Typeface oldTypeface = runProps.Typeface; 769public void SetFontTypeface(Typeface typeface) 780public 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)
3486Typeface typeface = new Typeface(typefaceName);