19 instantiations of FontStretch
PresentationCore (17)
Core\CSharp\MS\Internal\FontCache\FamilyCollection.cs (1)
573
fontStretch = new
FontStretch
((int)font.Stretch);
Core\CSharp\MS\Internal\FontFace\CompositeFontParser.cs (1)
672
FontStretch fontStretch = new
FontStretch
();
Core\CSharp\MS\Internal\FontFace\PhysicalFontFamily.cs (1)
254
_style = new MatchingStyle(new FontStyle((int)face.Style), new FontWeight((int)face.Weight), new
FontStretch
((int)face.Stretch));
Core\CSharp\MS\Internal\FontFace\TypefaceCollection.cs (1)
187
return new Typeface(_typefaceCollection._fontFamily, new FontStyle((int)face.Style), new FontWeight((int)face.Weight), new
FontStretch
((int)face.Stretch));
Core\CSharp\System\Windows\FontStretch.cs (1)
51
return new
FontStretch
(stretchValue);
Core\CSharp\System\Windows\FontStretchConverter.cs (1)
87
FontStretch fontStretch = new
FontStretch
();
Core\CSharp\System\Windows\FontStretches.cs (10)
25
public static FontStretch UltraCondensed { get { return new
FontStretch
(1); } }
30
public static FontStretch ExtraCondensed { get { return new
FontStretch
(2); } }
35
public static FontStretch Condensed { get { return new
FontStretch
(3); } }
40
public static FontStretch SemiCondensed { get { return new
FontStretch
(4); } }
45
public static FontStretch Normal { get { return new
FontStretch
(5); } }
50
public static FontStretch Medium { get { return new
FontStretch
(5); } }
55
public static FontStretch SemiExpanded { get { return new
FontStretch
(6); } }
60
public static FontStretch Expanded { get { return new
FontStretch
(7); } }
65
public static FontStretch ExtraExpanded { get { return new
FontStretch
(8); } }
70
public static FontStretch UltraExpanded { get { return new
FontStretch
(9); } }
Core\CSharp\System\Windows\Media\GlyphTypeface.cs (1)
797
return new
FontStretch
((int)_font.Stretch);
PresentationFramework (2)
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4424
bamlType.DefaultConstructor = delegate() { return new System.Windows.
FontStretch
(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1278
case KnownElements.FontStretch: o = new System.Windows.
FontStretch
(); break;
107 references to FontStretch
PresentationCore (78)
Core\CSharp\MS\Internal\FontCache\CachedTypeface.cs (3)
27
private
FontStretch
_canonicalStretch;
35
FontStretch
canonicalStretch,
62
internal
FontStretch
CanonicalStretch
Core\CSharp\MS\Internal\FontCache\FamilyCollection.cs (1)
493
ref
FontStretch
fontStretch
Core\CSharp\MS\Internal\FontFace\CompositeFontParser.cs (1)
672
FontStretch
fontStretch = new FontStretch();
Core\CSharp\MS\Internal\FontFace\FontDifferentiator.cs (2)
32
FontStretch
stretch)
45
FontStretch
fontStretch
Core\CSharp\MS\Internal\FontFace\IFontFamily.cs (2)
64
FontStretch
stretch
71
IDeviceFont GetDeviceFont(FontStyle style, FontWeight weight,
FontStretch
stretch);
Core\CSharp\MS\Internal\FontFace\MatchingStyle.cs (1)
42
FontStretch
stretch
Core\CSharp\MS\Internal\FontFace\PhysicalFontFamily.cs (4)
84
FontStretch
stretch
94
IDeviceFont IFontFamily.GetDeviceFont(FontStyle style, FontWeight weight,
FontStretch
stretch)
140
FontStretch
stretch
173
FontStretch
stretch,
Core\CSharp\MS\Internal\Shaping\CompositeFontFamily.cs (5)
213
FontStretch
stretch
231
IDeviceFont IFontFamily.GetDeviceFont(FontStyle style, FontWeight weight,
FontStretch
stretch)
398
FontStretch
stretch
417
FontStretch
stretch
451
FontStretch
stretch
Core\CSharp\MS\Internal\Shaping\CompositeTypefaceMetrics.cs (2)
40
private
FontStretch
_stretch;
64
FontStretch
stretch
Core\CSharp\MS\Internal\Shaping\TypefaceMap.cs (5)
45
private
FontStretch
_canonicalStretch;
60
FontStretch
canonicalStretch,
505
FontStretch
canonicalStretch,
888
FontStretch
canonicalStretch = _canonicalStretch;
997
FontStretch
canonicalStretch,
Core\CSharp\System\Windows\FontStretch.cs (18)
47
public static
FontStretch
FromOpenTypeStretch(int stretchValue)
76
public static int Compare(
FontStretch
left,
FontStretch
right)
87
public static bool operator<(
FontStretch
left,
FontStretch
right)
98
public static bool operator<=(
FontStretch
left,
FontStretch
right)
109
public static bool operator>(
FontStretch
left,
FontStretch
right)
120
public static bool operator>=(
FontStretch
left,
FontStretch
right)
132
public static bool operator==(
FontStretch
left,
FontStretch
right)
144
public static bool operator!=(
FontStretch
left,
FontStretch
right)
155
public bool Equals(
FontStretch
obj)
168
if (!(obj is
FontStretch
))
170
return this == (
FontStretch
)obj;
Core\CSharp\System\Windows\FontStretchConverter.cs (7)
87
FontStretch
fontStretch = new FontStretch();
113
if (destinationType != null && value is
FontStretch
)
117
MethodInfo mi = typeof(
FontStretch
).GetMethod("FromOpenTypeStretch", new Type[]{typeof(int)});
118
FontStretch
c = (
FontStretch
)value;
123
FontStretch
c = (
FontStretch
)value;
Core\CSharp\System\Windows\FontStretches.cs (12)
25
public static
FontStretch
UltraCondensed { get { return new FontStretch(1); } }
30
public static
FontStretch
ExtraCondensed { get { return new FontStretch(2); } }
35
public static
FontStretch
Condensed { get { return new FontStretch(3); } }
40
public static
FontStretch
SemiCondensed { get { return new FontStretch(4); } }
45
public static
FontStretch
Normal { get { return new FontStretch(5); } }
50
public static
FontStretch
Medium { get { return new FontStretch(5); } }
55
public static
FontStretch
SemiExpanded { get { return new FontStretch(6); } }
60
public static
FontStretch
Expanded { get { return new FontStretch(7); } }
65
public static
FontStretch
ExtraExpanded { get { return new FontStretch(8); } }
70
public static
FontStretch
UltraExpanded { get { return new FontStretch(9); } }
72
internal static bool FontStretchStringToKnownStretch(string s, IFormatProvider provider, ref
FontStretch
fontStretch)
147
fontStretch =
FontStretch
.FromOpenTypeStretch(stretchValue);
Core\CSharp\System\Windows\Media\FamilyTypeface.cs (2)
92
public
FontStretch
Stretch
339
private
FontStretch
_stretch;
Core\CSharp\System\Windows\Media\FontFamily.cs (4)
358
FontStretch
stretch = FontStretches.Normal;
442
FontStretch
stretch = FontStretches.Normal;
476
ref
FontStretch
stretch
521
ref
FontStretch
stretch
Core\CSharp\System\Windows\Media\FormattedText.cs (2)
744
public void SetFontStretch(
FontStretch
stretch)
755
public void SetFontStretch(
FontStretch
stretch, int startIndex, int count)
Core\CSharp\System\Windows\Media\GlyphTypeface.cs (1)
791
public
FontStretch
Stretch
Core\CSharp\System\Windows\Media\Typeface.cs (6)
46
private
FontStretch
_stretch;
83
FontStretch
stretch
108
FontStretch
stretch,
156
public
FontStretch
Stretch
343
internal
FontStretch
CanonicalStretch
749
FontStretch
canonicalStretch = _stretch;
PresentationFramework (29)
src\Framework\MS\Internal\Text\DynamicPropertyReader.cs (4)
52
FontStretch
fontStretch = (
FontStretch
) element.GetValue(TextElement.FontStretchProperty);
63
FontStretch
fontStretch = (
FontStretch
) element.GetValue(TextElement.FontStretchProperty);
src\Framework\System\Windows\Controls\AccessText.cs (2)
209
public
FontStretch
FontStretch
211
get { return (
FontStretch
) GetValue(FontStretchProperty); }
src\Framework\System\Windows\Controls\Control.cs (2)
230
public
FontStretch
FontStretch
232
get { return (
FontStretch
) GetValue(FontStretchProperty); }
src\Framework\System\Windows\Controls\StickyNote.cs (3)
400
typeof(
FontStretch
),
409
public
FontStretch
CaptionFontStretch
411
get { return (
FontStretch
) GetValue(CaptionFontStretchProperty); }
src\Framework\System\Windows\Controls\TextBlock.cs (5)
798
public
FontStretch
FontStretch
800
get { return (
FontStretch
) GetValue(FontStretchProperty); }
809
public static void SetFontStretch(DependencyObject element,
FontStretch
value)
823
public static
FontStretch
GetFontStretch(DependencyObject element)
830
return (
FontStretch
)element.GetValue(FontStretchProperty);
src\Framework\System\Windows\Documents\FixedSOMTextRun.cs (2)
371
public
FontStretch
FontStretch
435
private
FontStretch
_fontStretch;
src\Framework\System\Windows\Documents\FlowDocument.cs (2)
262
public
FontStretch
FontStretch
264
get { return (
FontStretch
) GetValue(FontStretchProperty); }
src\Framework\System\Windows\Documents\TextElement.cs (6)
625
typeof(
FontStretch
),
634
public
FontStretch
FontStretch
636
get { return (
FontStretch
) GetValue(FontStretchProperty); }
645
public static void SetFontStretch(DependencyObject element,
FontStretch
value)
659
public static
FontStretch
GetFontStretch(DependencyObject element)
666
return (
FontStretch
)element.GetValue(FontStretchProperty);
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
309
case 217: t = () => typeof(
FontStretch
); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4422
typeof(System.Windows.
FontStretch
),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5761
case KnownElements.FontStretch: t = typeof(System.Windows.
FontStretch
); break;