Enhance path writing with instruction objects.

Allow adding commands to path strings with an arbitrary number of parameters. Round coordinates before writing to the path string to improve render performance.