28 references to StyleSimulations
PresentationCore (23)
MS\Internal\FontFace\ITypefaceMetrics.cs (1)
72
StyleSimulations
StyleSimulations { get; }
MS\Internal\Shaping\CompositeTypefaceMetrics.cs (2)
178
public
StyleSimulations
StyleSimulations
182
return
StyleSimulations
.None;
System\Windows\Media\FamilyTypeface.cs (2)
199
StyleSimulations
ITypefaceMetrics.StyleSimulations
203
return
StyleSimulations
.None;
System\Windows\Media\GlyphTypeface.cs (16)
63
public GlyphTypeface(Uri typefaceSource) : this(typefaceSource,
StyleSimulations
.None)
72
public GlyphTypeface(Uri typefaceSource,
StyleSimulations
styleSimulations)
83
StyleSimulations
styleSimulations = (
StyleSimulations
)font.SimulationFlags;
110
Invariant.Assert( styleSimulations ==
StyleSimulations
.None
111
|| styleSimulations ==
StyleSimulations
.ItalicSimulation
112
|| styleSimulations ==
StyleSimulations
.BoldSimulation
113
|| styleSimulations ==
StyleSimulations
.BoldItalicSimulation);
120
private void Initialize(Uri typefaceSource,
StyleSimulations
styleSimulations)
135
if ( styleSimulations !=
StyleSimulations
.None
136
&& styleSimulations !=
StyleSimulations
.ItalicSimulation
137
&& styleSimulations !=
StyleSimulations
.BoldSimulation
138
&& styleSimulations !=
StyleSimulations
.BoldItalicSimulation)
140
throw new InvalidEnumArgumentException("styleSimulations", (int)styleSimulations, typeof(
StyleSimulations
));
945
public
StyleSimulations
StyleSimulations
1977
private
StyleSimulations
_styleSimulations;
System\Windows\Media\Typeface.cs (2)
163
return (CachedTypeface.TypefaceMetrics.StyleSimulations &
StyleSimulations
.ItalicSimulation) != 0;
175
return (CachedTypeface.TypefaceMetrics.StyleSimulations &
StyleSimulations
.BoldSimulation) != 0;
PresentationFramework (4)
System\Windows\Documents\Glyphs.cs (4)
916
DependencyProperty.Register( "StyleSimulations", typeof(
StyleSimulations
), typeof(Glyphs),
917
new FrameworkPropertyMetadata(
StyleSimulations
.None, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(GlyphRunPropertyChanged)));
922
public
StyleSimulations
StyleSimulations
926
return (
StyleSimulations
)GetValue(StyleSimulationsProperty);
ReachFramework (1)
Serialization\VisualSerializer.cs (1)
2098
WriteAttr("StyleSimulations", glyphRun.GlyphTypeface.StyleSimulations,
StyleSimulations
.None);