Class: Mathtype::Nudge

Inherits:
BinData::Record
  • Object
show all
Includes:
Snapshot
Defined in:
lib/records/nudge.rb

Constant Summary collapse

EXPOSED_IN_SNAPSHOT =
%i(dx dy)

Instance Method Summary collapse

Methods included from Snapshot

#snapshot

Instance Method Details

#dxObject



26
27
28
# File 'lib/records/nudge.rb', line 26

def dx
  _small_dx == 128 ? _large_dx : (_small_dx - 128)
end

#dyObject



30
31
32
# File 'lib/records/nudge.rb', line 30

def dy
  _small_dy == 128 ? _large_dy : (_small_dy - 128)
end