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