added ellips and rect primitives to vector shape api