7 instantiations of MatchingStyle
PresentationCore (7)
MS\Internal\FontFace\PhysicalFontFamily.cs (2)
148MatchingStyle targetStyle = new MatchingStyle(style, weight, stretch); 215_style = new MatchingStyle(new FontStyle((int)face.Style), new FontWeight((int)face.Weight), new FontStretch((int)face.Stretch));
MS\Internal\Shaping\CompositeFontFamily.cs (5)
408MatchingStyle bestMatch = new MatchingStyle(bestFace.Style, bestFace.Weight, bestFace.Stretch); 409MatchingStyle target = new MatchingStyle(style, weight, stretch); 414MatchingStyle currentMatch = new MatchingStyle(currentFace.Style, currentFace.Weight, currentFace.Stretch); 441MatchingStyle target = new MatchingStyle(style, weight, stretch); 445MatchingStyle currentMatch = new MatchingStyle(currentFace.Style, currentFace.Weight, currentFace.Stretch);
22 references to MatchingStyle
PresentationCore (22)
MS\Internal\FontFace\MatchingStyle.cs (11)
46public static bool operator ==(MatchingStyle l, MatchingStyle r) 54public static bool operator !=(MatchingStyle l, MatchingStyle r) 67return o is MatchingStyle && this == (MatchingStyle)o; 86MatchingStyle target, 87MatchingStyle best, 88ref MatchingStyle matching 99MatchingStyle target, 100MatchingStyle best
MS\Internal\FontFace\PhysicalFontFamily.cs (5)
148MatchingStyle targetStyle = new MatchingStyle(style, weight, stretch); 223internal MatchingStyle MatchingStyle 229private MatchingStyle _style; 237internal MatchingFaceComparer(MatchingStyle targetStyle) 247private MatchingStyle _targetStyle;
MS\Internal\Shaping\CompositeFontFamily.cs (6)
408MatchingStyle bestMatch = new MatchingStyle(bestFace.Style, bestFace.Weight, bestFace.Stretch); 409MatchingStyle target = new MatchingStyle(style, weight, stretch); 414MatchingStyle currentMatch = new MatchingStyle(currentFace.Style, currentFace.Weight, currentFace.Stretch); 415if (MatchingStyle.IsBetterMatch(target, bestMatch, ref currentMatch)) 441MatchingStyle target = new MatchingStyle(style, weight, stretch); 445MatchingStyle currentMatch = new MatchingStyle(currentFace.Style, currentFace.Weight, currentFace.Stretch);