9 references to DefaultRealToIdeal
PresentationCore (9)
Core\CSharp\MS\Internal\TextFormatting\LineServices.cs (1)
1560public const double DefaultIdealToReal = 1 / DefaultRealToIdeal;
Core\CSharp\MS\Internal\TextFormatting\TextFormatterImp.cs (1)
791get { return Constants.DefaultRealToIdeal; }
Core\CSharp\System\Windows\Media\CharacterMetrics.cs (7)
309int hash = (int)(_blackBoxWidth * Constants.DefaultRealToIdeal); 310hash = (hash * HashMultiplier) + (int)(_blackBoxHeight * Constants.DefaultRealToIdeal); 311hash = (hash * HashMultiplier) + (int)(_baseline * Constants.DefaultRealToIdeal); 312hash = (hash * HashMultiplier) + (int)(_leftSideBearing * Constants.DefaultRealToIdeal); 313hash = (hash * HashMultiplier) + (int)(_rightSideBearing * Constants.DefaultRealToIdeal); 314hash = (hash * HashMultiplier) + (int)(_topSideBearing * Constants.DefaultRealToIdeal); 315hash = (hash * HashMultiplier) + (int)(_bottomSideBearing * Constants.DefaultRealToIdeal);