Class: Mathtype3::Nudge
- Inherits:
-
BinData::Record
- Object
- BinData::Record
- Mathtype3::Nudge
- Includes:
- Snapshot
- Defined in:
- lib/mathtype-0.0.7.5/lib/records3/nudge.rb
Constant Summary collapse
- EXPOSED_IN_SNAPSHOT =
%i(dx dy)
Instance Method Summary collapse
Methods included from Snapshot
Instance Method Details
#dx ⇒ Object
26 27 28 |
# File 'lib/mathtype-0.0.7.5/lib/records3/nudge.rb', line 26 def dx has_large_offset ? _large_dx : (_small_dx - 128) end |
#dy ⇒ Object
30 31 32 |
# File 'lib/mathtype-0.0.7.5/lib/records3/nudge.rb', line 30 def dy has_large_offset ? _large_dy : (_small_dy - 128) end |
#has_large_offset ⇒ Object
34 35 36 |
# File 'lib/mathtype-0.0.7.5/lib/records3/nudge.rb', line 34 def has_large_offset _small_dx == -128 and _small_dy == -128 end |