Added factory to create vector graphics contexts.