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