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