Lines Matching refs:offsets
21 # Offsets start at 0 to total_lines-1
38 def combine_combo_creator(total_lines, width, offsets)
39 # puts "Asked: Total Lines: #{total_lines} Line Count: #{width} Offsets: #{offsets.join(',')}"
40 if not offsets or offsets.length == 0
41 # puts " Setting offsets to 0"
42 offsets = [0,]
54 offsets.each_with_index do |offset, index|
60 if index == offsets.length - 1
61 new_offset_count = offsets.length + 1
65 # 0 to offsets.length creates one additional offset
66 0.upto(offsets.length) do |new_offset_num|
74 new_offsets << offsets[index+1] + (width * 2)
136 offsets = []
140 (width, offsets, lines) = combine_combo_creator(line_count, width, offsets)