9 references to DefaultRealToIdeal
PresentationCore (9)
MS\Internal\TextFormatting\LineServices.cs (1)
1297public const double DefaultIdealToReal = 1 / DefaultRealToIdeal;
MS\Internal\TextFormatting\TextFormatterImp.cs (1)
761get { return Constants.DefaultRealToIdeal; }
System\Windows\Media\CharacterMetrics.cs (7)
305int hash = (int)(_blackBoxWidth * Constants.DefaultRealToIdeal); 306hash = (hash * HashMultiplier) + (int)(_blackBoxHeight * Constants.DefaultRealToIdeal); 307hash = (hash * HashMultiplier) + (int)(_baseline * Constants.DefaultRealToIdeal); 308hash = (hash * HashMultiplier) + (int)(_leftSideBearing * Constants.DefaultRealToIdeal); 309hash = (hash * HashMultiplier) + (int)(_rightSideBearing * Constants.DefaultRealToIdeal); 310hash = (hash * HashMultiplier) + (int)(_topSideBearing * Constants.DefaultRealToIdeal); 311hash = (hash * HashMultiplier) + (int)(_bottomSideBearing * Constants.DefaultRealToIdeal);