9 references to DefaultRealToIdeal
PresentationCore (9)
MS\Internal\TextFormatting\LineServices.cs (1)
1292public const double DefaultIdealToReal = 1 / DefaultRealToIdeal;
MS\Internal\TextFormatting\TextFormatterImp.cs (1)
738get { return Constants.DefaultRealToIdeal; }
System\Windows\Media\CharacterMetrics.cs (7)
296int hash = (int)(_blackBoxWidth * Constants.DefaultRealToIdeal); 297hash = (hash * HashMultiplier) + (int)(_blackBoxHeight * Constants.DefaultRealToIdeal); 298hash = (hash * HashMultiplier) + (int)(_baseline * Constants.DefaultRealToIdeal); 299hash = (hash * HashMultiplier) + (int)(_leftSideBearing * Constants.DefaultRealToIdeal); 300hash = (hash * HashMultiplier) + (int)(_rightSideBearing * Constants.DefaultRealToIdeal); 301hash = (hash * HashMultiplier) + (int)(_topSideBearing * Constants.DefaultRealToIdeal); 302hash = (hash * HashMultiplier) + (int)(_bottomSideBearing * Constants.DefaultRealToIdeal);