# File lib/bio/graphics/page.rb, line 16 def initialize(args) @height = args[:height] @width = args[:width] args[:style] = "background-color:#{args[:background_color]};" if args[:background_color] @svg = SVGEE.new(args) @scale_start = 1.0/0.0 @scale_stop = -1.0/0.0 @tracks = [] #array of track objects with loads of features in it... @nt_per_percent = 1; @num_intervals = args[:number_of_intervals] @track_top = 30 def @svg.update_height(height) @height = height end #def @svg.update_width(width) # @width = width #end end