--- /dev/null
+<?php
+
+namespace Cubist\Util\CommandLine;
+
+use Cubist\Util\CommandLine;
+
+class Inkscape extends CommandLine
+{
+//inkscape -f $1"-stroketopath/"$svgfile --verb="EditSelectAll" --verb="StrokeToPath" --verb="FileSave" --verb="FileQuit"
+
+ public function __construct($output = null, $error = true)
+ {
+ parent::__construct('inkscape', $output, $error);
+ }
+
+ public function openFileAndApplyVerbs($file, $verbs = [])
+ {
+ $this->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