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