7 instantiations of MatchingStyle
PresentationCore (7)
MS\Internal\FontFace\PhysicalFontFamily.cs (2)
149MatchingStyle targetStyle = new MatchingStyle(style, weight, stretch); 216_style = new MatchingStyle(new FontStyle((int)face.Style), new FontWeight((int)face.Weight), new FontStretch((int)face.Stretch));
MS\Internal\Shaping\CompositeFontFamily.cs (5)
409MatchingStyle bestMatch = new MatchingStyle(bestFace.Style, bestFace.Weight, bestFace.Stretch); 410MatchingStyle target = new MatchingStyle(style, weight, stretch); 415MatchingStyle currentMatch = new MatchingStyle(currentFace.Style, currentFace.Weight, currentFace.Stretch); 442MatchingStyle target = new MatchingStyle(style, weight, stretch); 446MatchingStyle currentMatch = new MatchingStyle(currentFace.Style, currentFace.Weight, currentFace.Stretch);
22 references to MatchingStyle
PresentationCore (22)
MS\Internal\FontFace\MatchingStyle.cs (11)
47public static bool operator ==(MatchingStyle l, MatchingStyle r) 55public static bool operator !=(MatchingStyle l, MatchingStyle r) 68return o is MatchingStyle && this == (MatchingStyle)o; 87MatchingStyle target, 88MatchingStyle best, 89ref MatchingStyle matching 100MatchingStyle target, 101MatchingStyle best
MS\Internal\FontFace\PhysicalFontFamily.cs (5)
149MatchingStyle targetStyle = new MatchingStyle(style, weight, stretch); 224internal MatchingStyle MatchingStyle 230private MatchingStyle _style; 238internal MatchingFaceComparer(MatchingStyle targetStyle) 248private MatchingStyle _targetStyle;
MS\Internal\Shaping\CompositeFontFamily.cs (6)
409MatchingStyle bestMatch = new MatchingStyle(bestFace.Style, bestFace.Weight, bestFace.Stretch); 410MatchingStyle target = new MatchingStyle(style, weight, stretch); 415MatchingStyle currentMatch = new MatchingStyle(currentFace.Style, currentFace.Weight, currentFace.Stretch); 416if (MatchingStyle.IsBetterMatch(target, bestMatch, ref currentMatch)) 442MatchingStyle target = new MatchingStyle(style, weight, stretch); 446MatchingStyle currentMatch = new MatchingStyle(currentFace.Style, currentFace.Weight, currentFace.Stretch);