7 instantiations of MatchingStyle
PresentationCore (7)
Core\CSharp\MS\Internal\FontFace\PhysicalFontFamily.cs (2)
183MatchingStyle targetStyle = new MatchingStyle(style, weight, stretch); 254_style = new MatchingStyle(new FontStyle((int)face.Style), new FontWeight((int)face.Weight), new FontStretch((int)face.Stretch));
Core\CSharp\MS\Internal\Shaping\CompositeFontFamily.cs (5)
426MatchingStyle bestMatch = new MatchingStyle(bestFace.Style, bestFace.Weight, bestFace.Stretch); 427MatchingStyle target = new MatchingStyle(style, weight, stretch); 432MatchingStyle currentMatch = new MatchingStyle(currentFace.Style, currentFace.Weight, currentFace.Stretch); 459MatchingStyle target = new MatchingStyle(style, weight, stretch); 463MatchingStyle currentMatch = new MatchingStyle(currentFace.Style, currentFace.Weight, currentFace.Stretch);
22 references to MatchingStyle
PresentationCore (22)
Core\CSharp\MS\Internal\FontFace\MatchingStyle.cs (11)
56public static bool operator ==(MatchingStyle l, MatchingStyle r) 64public static bool operator !=(MatchingStyle l, MatchingStyle r) 77return o is MatchingStyle && this == (MatchingStyle)o; 97MatchingStyle target, 98MatchingStyle best, 99ref MatchingStyle matching 110MatchingStyle target, 111MatchingStyle best
Core\CSharp\MS\Internal\FontFace\PhysicalFontFamily.cs (5)
183MatchingStyle targetStyle = new MatchingStyle(style, weight, stretch); 262internal MatchingStyle MatchingStyle 268private MatchingStyle _style; 277internal MatchingFaceComparer(MatchingStyle targetStyle) 287private MatchingStyle _targetStyle;
Core\CSharp\MS\Internal\Shaping\CompositeFontFamily.cs (6)
426MatchingStyle bestMatch = new MatchingStyle(bestFace.Style, bestFace.Weight, bestFace.Stretch); 427MatchingStyle target = new MatchingStyle(style, weight, stretch); 432MatchingStyle currentMatch = new MatchingStyle(currentFace.Style, currentFace.Weight, currentFace.Stretch); 433if (MatchingStyle.IsBetterMatch(target, bestMatch, ref currentMatch)) 459MatchingStyle target = new MatchingStyle(style, weight, stretch); 463MatchingStyle currentMatch = new MatchingStyle(currentFace.Style, currentFace.Weight, currentFace.Stretch);