Creates the path specified by the given CanvasPathCommand array.
an array of CanvasPathCommand.
a cairo context.