28 references to StyleSimulations
PresentationCore (23)
MS\Internal\FontFace\ITypefaceMetrics.cs (1)
68
StyleSimulations
StyleSimulations { get; }
MS\Internal\Shaping\CompositeTypefaceMetrics.cs (2)
174
public
StyleSimulations
StyleSimulations
178
return
StyleSimulations
.None;
System\Windows\Media\FamilyTypeface.cs (2)
183
StyleSimulations
ITypefaceMetrics.StyleSimulations
187
return
StyleSimulations
.None;
System\Windows\Media\GlyphTypeface.cs (16)
56
public GlyphTypeface(Uri typefaceSource) : this(typefaceSource,
StyleSimulations
.None)
65
public GlyphTypeface(Uri typefaceSource,
StyleSimulations
styleSimulations)
76
StyleSimulations
styleSimulations = (
StyleSimulations
)font.SimulationFlags;
102
Invariant.Assert( styleSimulations ==
StyleSimulations
.None
103
|| styleSimulations ==
StyleSimulations
.ItalicSimulation
104
|| styleSimulations ==
StyleSimulations
.BoldSimulation
105
|| styleSimulations ==
StyleSimulations
.BoldItalicSimulation);
112
private void Initialize(Uri typefaceSource,
StyleSimulations
styleSimulations)
127
if ( styleSimulations !=
StyleSimulations
.None
128
&& styleSimulations !=
StyleSimulations
.ItalicSimulation
129
&& styleSimulations !=
StyleSimulations
.BoldSimulation
130
&& styleSimulations !=
StyleSimulations
.BoldItalicSimulation)
132
throw new InvalidEnumArgumentException("styleSimulations", (int)styleSimulations, typeof(
StyleSimulations
));
936
public
StyleSimulations
StyleSimulations
1968
private
StyleSimulations
_styleSimulations;
System\Windows\Media\Typeface.cs (2)
154
return (CachedTypeface.TypefaceMetrics.StyleSimulations &
StyleSimulations
.ItalicSimulation) != 0;
166
return (CachedTypeface.TypefaceMetrics.StyleSimulations &
StyleSimulations
.BoldSimulation) != 0;
PresentationFramework (4)
System\Windows\Documents\Glyphs.cs (4)
903
DependencyProperty.Register( "StyleSimulations", typeof(
StyleSimulations
), typeof(Glyphs),
904
new FrameworkPropertyMetadata(
StyleSimulations
.None, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(GlyphRunPropertyChanged)));
909
public
StyleSimulations
StyleSimulations
913
return (
StyleSimulations
)GetValue(StyleSimulationsProperty);
ReachFramework (1)
Serialization\VisualSerializer.cs (1)
2090
WriteAttr("StyleSimulations", glyphRun.GlyphTypeface.StyleSimulations,
StyleSimulations
.None);