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