Added `draw_legend`. It basically compiles ALL of the calls to the renderer `draw_*` methods and sends them out at the same time.