From fc7da0fa3c5e7470e62db7f95087f8480ccd7cf8 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 15 Mar 2023 18:53:03 +0100 Subject: [PATCH] wip #5811 @0.5 --- src/CommandLine/Inkscape.php | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/CommandLine/Inkscape.php 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 -- 2.39.5