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)
290int hash = (int)(_blackBoxWidth * Constants.DefaultRealToIdeal); 291hash = (hash * HashMultiplier) + (int)(_blackBoxHeight * Constants.DefaultRealToIdeal); 292hash = (hash * HashMultiplier) + (int)(_baseline * Constants.DefaultRealToIdeal); 293hash = (hash * HashMultiplier) + (int)(_leftSideBearing * Constants.DefaultRealToIdeal); 294hash = (hash * HashMultiplier) + (int)(_rightSideBearing * Constants.DefaultRealToIdeal); 295hash = (hash * HashMultiplier) + (int)(_topSideBearing * Constants.DefaultRealToIdeal); 296hash = (hash * HashMultiplier) + (int)(_bottomSideBearing * Constants.DefaultRealToIdeal);