# File mrplot/plots/bar.rb, line 264 def draw(dataset, context, text_pos, style) symbolstyle = Style.new symbolstyle.fill_color = dataset.style.fill_color symbolstyle.color = Color.new(0,0,0) symbolrect = Rect.new(text_pos.x, text_pos.y, style.symbol_size, style.symbol_size) context.atom_fillrect(symbolrect, symbolstyle) end