Canvasrenderer picture function implemented