Adding some primitive to the Canvas

Here are some primitive for drawing on a canvas.