25 instantiations of Typeface
PresentationCore (7)
MS\Internal\FontFace\TypefaceCollection.cs (2)
155return new Typeface(_typefaceCollection._fontFamily, new FontStyle((int)face.Style), new FontWeight((int)face.Weight), new FontStretch((int)face.Stretch)); 160return new Typeface(_typefaceCollection._fontFamily, familyTypeface.Style, familyTypeface.Weight, familyTypeface.Stretch);
MS\Internal\TextFormatting\TextMarkerSource.cs (1)
76new Typeface(
System\Windows\Media\FormattedText.cs (4)
410new Typeface(fontFamily, oldTypeface.Style, oldTypeface.Weight, oldTypeface.Stretch), 632new Typeface(oldTypeface.FontFamily, oldTypeface.Style, weight, oldTypeface.Stretch), 682new Typeface(oldTypeface.FontFamily, style, oldTypeface.Weight, oldTypeface.Stretch), 733new Typeface(oldTypeface.FontFamily, oldTypeface.Style, oldTypeface.Weight, stretch),
PresentationFramework (18)
MS\Internal\Text\DynamicPropertyReader.cs (2)
44return new Typeface(fontFamily, fontStyle, fontWeight, fontStretch); 55return new Typeface(fontFamily, fontStyle, fontWeight, fontStretch);
System\Windows\Documents\FixedPage.cs (1)
1270new Typeface("Arial"),
System\Windows\Documents\FixedPageStructure.cs (12)
268new Typeface("Courier New"), 282new Typeface("Courier New"), 299new Typeface("Courier New"), 336new Typeface("Courier New"), 370new Typeface("Courier New"), 416new Typeface("Courier New"), 432new Typeface("Courier New"), 480new Typeface("Courier New"), 496new Typeface("Courier New"), 555new Typeface("Courier New"), 624new Typeface("Courier New"), 655new Typeface("Arial"),
System\Windows\Documents\FixedSOMSemanticBox.cs (1)
71new Typeface("Arial"),
System\Windows\Documents\FixedSOMTable.cs (1)
45new Typeface("Courier New"),
System\Windows\Documents\RtfToXamlReader.cs (1)
3488Typeface typeface = new Typeface(typefaceName);
70 references to Typeface
PresentationCore (62)
MS\Internal\FontFace\IFontFamily.cs (1)
104ICollection<Typeface> GetTypefaces(FontFamilyIdentifier familyIdentifier);
MS\Internal\FontFace\PhysicalFontFamily.cs (1)
435ICollection<Typeface> IFontFamily.GetTypefaces(FontFamilyIdentifier familyIdentifier)
MS\Internal\FontFace\TypefaceCollection.cs (11)
11internal unsafe struct TypefaceCollection : ICollection<Typeface> 35public void Add(Typeface item) 45public bool Contains(Typeface item) 47foreach (Typeface t in this) 55public void CopyTo(Typeface[] array, int arrayIndex) 71foreach (Typeface t in this) 101public bool Remove(Typeface item) 110public IEnumerator<Typeface> GetEnumerator() 126private struct Enumerator : IEnumerator<Typeface> 148public Typeface Current 179return ((IEnumerator<Typeface>)this).Current;
MS\Internal\Shaping\CompositeFontFamily.cs (1)
257ICollection<Typeface> IFontFamily.GetTypefaces(FontFamilyIdentifier familyIdentifier)
MS\Internal\Shaping\GlyphingCache.cs (4)
32private readonly SizeLimitedCache<Typeface, TypefaceMap> _sizeLimitedCache; 36_sizeLimitedCache = new SizeLimitedCache<Typeface, TypefaceMap>(capacity); 40Typeface typeface, 91private TypefaceMap Lookup(Typeface key)
MS\Internal\TextFormatting\GenericTextProperties.cs (3)
39Typeface typeface, 113public override Typeface Typeface 205private Typeface _typeface;
MS\Internal\TextFormatting\LineServicesCallbacks.cs (1)
424Typeface typeface = store.Pap.DefaultTypeface;
MS\Internal\TextFormatting\SimpleTextLine.cs (1)
1353internal Typeface Typeface
MS\Internal\TextFormatting\TextMarkerSource.cs (1)
72Typeface defaultTypeface = defaultRunProperties.Typeface;
MS\Internal\TextFormatting\TextProperties.cs (1)
122internal Typeface DefaultTypeface
MS\Internal\TextFormatting\TextShapeableCharacters.cs (1)
186Typeface typeface = _properties.Typeface;
System\Windows\Media\FamilyTypeface.cs (1)
26internal FamilyTypeface(Typeface face)
System\Windows\Media\FamilyTypefaceCollection.cs (3)
14private ICollection<Typeface> _innerList; 31internal FamilyTypefaceCollection(ICollection<Typeface> innerList) 279foreach (Typeface face in _innerList)
System\Windows\Media\FontFamily.cs (1)
243public ICollection<Typeface> GetTypefaces()
System\Windows\Media\Fonts.cs (15)
133public static ICollection<Typeface> GetTypefaces(string location) 150public static ICollection<Typeface> GetTypefaces(Uri baseUri) 172public static ICollection<Typeface> GetTypefaces(Uri baseUri, string location) 203public static ICollection<Typeface> SystemTypefaces 278private struct TypefaceCollection : ICollection<Typeface> 289public void Add(Typeface item) 299public bool Contains(Typeface item) 301foreach (Typeface t in this) 309public void CopyTo(Typeface[] array, int arrayIndex) 324foreach (Typeface t in this) 335foreach (Typeface t in this) 351public bool Remove(Typeface item) 360public IEnumerator<Typeface> GetEnumerator() 364foreach (Typeface typeface in family.GetTypefaces()) 377return ((IEnumerable<Typeface>)this).GetEnumerator();
System\Windows\Media\FormattedText.cs (13)
34Typeface typeface, 64Typeface typeface, 98Typeface typeface, 130Typeface typeface, 164Typeface typeface, 189Typeface typeface, 199private void InitFormattedText(string textToFormat, CultureInfo culture, FlowDirection flowDirection, Typeface typeface, 405Typeface oldTypeface = runProps.Typeface; 627Typeface oldTypeface = runProps.Typeface; 677Typeface oldTypeface = runProps.Typeface; 728Typeface oldTypeface = runProps.Typeface; 754public void SetFontTypeface(Typeface typeface) 765public void SetFontTypeface(Typeface typeface, int startIndex, int count)
System\Windows\Media\textformatting\TextRunProperties.cs (1)
31public abstract Typeface Typeface
System\Windows\Media\Typeface.cs (2)
683Typeface t = o as Typeface;
PresentationFramework (8)
MS\Internal\PtsHost\ListMarkerSourceInfo.cs (2)
80Typeface typeface = DynamicPropertyReader.GetModifiedTypeface(list, new FontFamily("Wingdings")); 133Typeface typeface = DynamicPropertyReader.GetModifiedTypeface(list, new FontFamily("Wingdings"));
MS\Internal\Text\DynamicPropertyReader.cs (2)
35internal static Typeface GetTypeface(DependencyObject element) 47internal static Typeface GetModifiedTypeface(DependencyObject element, FontFamily fontFamily)
MS\Internal\Text\TextProperties.cs (2)
35public override Typeface Typeface { get { return _typeface; } } 319private Typeface _typeface;
MS\Internal\Text\TextSpanModifier.cs (1)
184public override Typeface Typeface
System\Windows\Documents\RtfToXamlReader.cs (1)
3488Typeface typeface = new Typeface(typefaceName);