Actually flushes all the pending lines. Shouldn't be called manually. You should call the draw method instead.