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