25 instantiations of Typeface
PresentationCore (7)
MS\Internal\FontFace\TypefaceCollection.cs (2)
170return new Typeface(_typefaceCollection._fontFamily, new FontStyle((int)face.Style), new FontWeight((int)face.Weight), new FontStretch((int)face.Stretch)); 175return new Typeface(_typefaceCollection._fontFamily, familyTypeface.Style, familyTypeface.Weight, familyTypeface.Stretch);
MS\Internal\TextFormatting\TextMarkerSource.cs (1)
83new Typeface(
System\Windows\Media\FormattedText.cs (4)
432new Typeface(fontFamily, oldTypeface.Style, oldTypeface.Weight, oldTypeface.Stretch), 658new Typeface(oldTypeface.FontFamily, oldTypeface.Style, weight, oldTypeface.Stretch), 710new Typeface(oldTypeface.FontFamily, style, oldTypeface.Weight, oldTypeface.Stretch), 763new Typeface(oldTypeface.FontFamily, oldTypeface.Style, oldTypeface.Weight, stretch),
PresentationFramework (18)
MS\Internal\Text\DynamicPropertyReader.cs (2)
51return new Typeface(fontFamily, fontStyle, fontWeight, fontStretch); 62return new Typeface(fontFamily, fontStyle, fontWeight, fontStretch);
System\Windows\Documents\FixedPage.cs (1)
1277new Typeface("Arial"),
System\Windows\Documents\FixedPageStructure.cs (12)
275new Typeface("Courier New"), 289new Typeface("Courier New"), 306new Typeface("Courier New"), 343new Typeface("Courier New"), 377new Typeface("Courier New"), 423new Typeface("Courier New"), 439new Typeface("Courier New"), 487new Typeface("Courier New"), 503new Typeface("Courier New"), 562new Typeface("Courier New"), 631new Typeface("Courier New"), 662new Typeface("Arial"),
System\Windows\Documents\FixedSOMSemanticBox.cs (1)
76new Typeface("Arial"),
System\Windows\Documents\FixedSOMTable.cs (1)
51new Typeface("Courier New"),
System\Windows\Documents\RtfToXamlReader.cs (1)
3487Typeface typeface = new Typeface(typefaceName);
70 references to Typeface
PresentationCore (62)
MS\Internal\FontFace\IFontFamily.cs (1)
109ICollection<Typeface> GetTypefaces(FontFamilyIdentifier familyIdentifier);
MS\Internal\FontFace\PhysicalFontFamily.cs (1)
445ICollection<Typeface> IFontFamily.GetTypefaces(FontFamilyIdentifier familyIdentifier)
MS\Internal\FontFace\TypefaceCollection.cs (11)
26internal unsafe struct TypefaceCollection : ICollection<Typeface> 50public void Add(Typeface item) 60public bool Contains(Typeface item) 62foreach (Typeface t in this) 70public void CopyTo(Typeface[] array, int arrayIndex) 86foreach (Typeface t in this) 116public bool Remove(Typeface item) 125public IEnumerator<Typeface> GetEnumerator() 141private struct Enumerator : IEnumerator<Typeface> 163public Typeface Current 194return ((IEnumerator<Typeface>)this).Current;
MS\Internal\Shaping\CompositeFontFamily.cs (1)
266ICollection<Typeface> IFontFamily.GetTypefaces(FontFamilyIdentifier familyIdentifier)
MS\Internal\Shaping\GlyphingCache.cs (4)
38private SizeLimitedCache<Typeface, TypefaceMap> _sizeLimitedCache; 42_sizeLimitedCache = new SizeLimitedCache<Typeface, TypefaceMap>(capacity); 46Typeface typeface, 97private TypefaceMap Lookup(Typeface key)
MS\Internal\TextFormatting\GenericTextProperties.cs (3)
42Typeface typeface, 116public override Typeface Typeface 208private Typeface _typeface;
MS\Internal\TextFormatting\LineServicesCallbacks.cs (1)
455Typeface typeface = store.Pap.DefaultTypeface;
MS\Internal\TextFormatting\SimpleTextLine.cs (1)
1369internal Typeface Typeface
MS\Internal\TextFormatting\TextMarkerSource.cs (1)
79Typeface defaultTypeface = defaultRunProperties.Typeface;
MS\Internal\TextFormatting\TextProperties.cs (1)
129internal Typeface DefaultTypeface
MS\Internal\TextFormatting\TextShapeableCharacters.cs (1)
195Typeface typeface = _properties.Typeface;
System\Windows\Media\FamilyTypeface.cs (1)
43internal FamilyTypeface(Typeface face)
System\Windows\Media\FamilyTypefaceCollection.cs (3)
28private ICollection<Typeface> _innerList; 45internal FamilyTypefaceCollection(ICollection<Typeface> innerList) 293foreach (Typeface face in _innerList)
System\Windows\Media\FontFamily.cs (1)
266public ICollection<Typeface> GetTypefaces()
System\Windows\Media\Fonts.cs (15)
147public static ICollection<Typeface> GetTypefaces(string location) 164public static ICollection<Typeface> GetTypefaces(Uri baseUri) 186public static ICollection<Typeface> GetTypefaces(Uri baseUri, string location) 217public static ICollection<Typeface> SystemTypefaces 292private struct TypefaceCollection : ICollection<Typeface> 303public void Add(Typeface item) 313public bool Contains(Typeface item) 315foreach (Typeface t in this) 323public void CopyTo(Typeface[] array, int arrayIndex) 338foreach (Typeface t in this) 349foreach (Typeface t in this) 365public bool Remove(Typeface item) 374public IEnumerator<Typeface> GetEnumerator() 378foreach (Typeface typeface in family.GetTypefaces()) 391return ((IEnumerable<Typeface>)this).GetEnumerator();
System\Windows\Media\FormattedText.cs (13)
54Typeface typeface, 84Typeface typeface, 118Typeface typeface, 150Typeface typeface, 184Typeface typeface, 209Typeface typeface, 219private void InitFormattedText(string textToFormat, CultureInfo culture, FlowDirection flowDirection, Typeface typeface, 427Typeface oldTypeface = runProps.Typeface; 653Typeface oldTypeface = runProps.Typeface; 705Typeface oldTypeface = runProps.Typeface; 758Typeface oldTypeface = runProps.Typeface; 785public void SetFontTypeface(Typeface typeface) 796public void SetFontTypeface(Typeface typeface, int startIndex, int count)
System\Windows\Media\textformatting\TextRunProperties.cs (1)
35public abstract Typeface Typeface
System\Windows\Media\Typeface.cs (2)
693Typeface t = o as Typeface;
PresentationFramework (8)
MS\Internal\PtsHost\ListMarkerSourceInfo.cs (2)
84Typeface typeface = DynamicPropertyReader.GetModifiedTypeface(list, new FontFamily("Wingdings")); 137Typeface typeface = DynamicPropertyReader.GetModifiedTypeface(list, new FontFamily("Wingdings"));
MS\Internal\Text\DynamicPropertyReader.cs (2)
42internal static Typeface GetTypeface(DependencyObject element) 54internal static Typeface GetModifiedTypeface(DependencyObject element, FontFamily fontFamily)
MS\Internal\Text\TextProperties.cs (2)
38public override Typeface Typeface { get { return _typeface; } } 322private Typeface _typeface;
MS\Internal\Text\TextSpanModifier.cs (1)
187public override Typeface Typeface
System\Windows\Documents\RtfToXamlReader.cs (1)
3487Typeface typeface = new Typeface(typefaceName);