From: Vincent Vanwaelscappel Date: Wed, 15 Mar 2023 17:53:03 +0000 (+0100) Subject: wip #5811 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=fc7da0fa3c5e7470e62db7f95087f8480ccd7cf8;p=cubist_util.git wip #5811 @0.5 --- diff --git a/src/CommandLine/Inkscape.php b/src/CommandLine/Inkscape.php new file mode 100644 index 0000000..13c8de4 --- /dev/null +++ b/src/CommandLine/Inkscape.php @@ -0,0 +1,28 @@ +setArg('f', $file); + foreach ($verbs as $verb) { + $this->setArg('verb', $verb); + } + } + + public function strokeToPath($file) + { + $this->openFileAndApplyVerbs($file, ['EditSelectAll', 'StrokeToPath', 'FileSave', 'FileQuit']); + } +} \ No newline at end of file