5 references to ToOpenTypeWeight
PresentationCore (4)
Core\CSharp\MS\Internal\FontFace\MatchingStyle.cs (2)
48(weight.ToOpenTypeWeight() - FontWeights.Normal.ToOpenTypeWeight()) / 100.0 * FontWeightScale
Core\CSharp\MS\Internal\FontFace\PhysicalFontFamily.cs (1)
143Text.TextInterface.Font bestMatch = _family.GetFirstMatchingFont((Text.TextInterface.FontWeight)weight.ToOpenTypeWeight(),
Core\CSharp\System\Windows\FontWeightConverter.cs (1)
119return new InstanceDescriptor(mi, new object[]{c.ToOpenTypeWeight()});
PresentationFramework (1)
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (1)
192return fontWeight.ToOpenTypeWeight();