Module: TagLayout::CombByRows

Defined in:
app/models/tag_layout/comb_by_rows.rb

Overview

Lays out the tags so that they are row ordered.

Class Method Summary collapse

Class Method Details

.directionObject


5
6
7
# File 'app/models/tag_layout/comb_by_rows.rb', line 5

def self.direction
  'combinatorial by row'
end

.tag2_index(_row, column, _scale, _height, _width) ⇒ Object


17
18
19
# File 'app/models/tag_layout/comb_by_rows.rb', line 17

def self.tag2_index(_row, column, _scale, _height, _width)
  column
end

.tag_index(row, _column, _scale, _height, _width) ⇒ Object


13
14
15
# File 'app/models/tag_layout/comb_by_rows.rb', line 13

def self.tag_index(row, _column, _scale, _height, _width)
  row
end

.well_order_scopeObject


9
10
11
# File 'app/models/tag_layout/comb_by_rows.rb', line 9

def self.well_order_scope
  :in_row_major_order
end