Class: Mathtype3::RecordMatrix
- Inherits:
-
BinData::Record
- Object
- BinData::Record
- Mathtype3::RecordMatrix
- Includes:
- Snapshot
- Defined in:
- lib/records3/matrix.rb
Constant Summary collapse
- EXPOSED_IN_SNAPSHOT =
%i(options nudge valign h_just v_just rows cols row_parts col_parts object_list)
Instance Method Summary collapse
Methods included from Snapshot
Instance Method Details
#h_just ⇒ Object
63 64 65 |
# File 'lib/records3/matrix.rb', line 63 def h_just HALIGN[_h_just] end |
#options ⇒ Object
71 72 73 |
# File 'lib/records3/matrix.rb', line 71 def end |
#realign(nparts) ⇒ Object
75 76 77 78 |
# File 'lib/records3/matrix.rb', line 75 def realign (nparts) offset = (((nparts + 1) * 2) % 8) return offset == 0 ? 0 : (8 - offset) end |
#v_just ⇒ Object
67 68 69 |
# File 'lib/records3/matrix.rb', line 67 def v_just VALIGN[_v_just] end |
#valign ⇒ Object
59 60 61 |
# File 'lib/records3/matrix.rb', line 59 def valign VALIGN[_valign] end |