refinements to the vector drawing API