src/MadeYourDay/SVG/Document.php
public function getPath($scale = 1, $roundPrecision = null, $flip = 'none', $onlyFilled = true, $xOffset = 0, $yOffset = 0){

		$path = $this->getPathPart($this->xmlDocument, $onlyFilled);

		if($scale !== 1 || $roundPrecision !== null || $flip !== 'none' || $xOffset !== 0 || $yOffset !== 0){
			$path = $this->transformPath($path, $scale, $roundPrecision, $flip, $xOffset / $scale, $yOffset / $scale);
		}

		return trim($path);

	}
public function getPath($scale = 1, $roundPrecision = null, $flip = 'none', $onlyFilled = true, $xOffset = 0, $yOffset = 0){

		$path = $this->getPathPart($this->xmlDocument, $onlyFilled);

		if($scale !== 1 || $roundPrecision !== null || $flip !== 'none' || $xOffset !== 0 || $yOffset !== 0){
			$path = $this->transformPath($path, $scale, $roundPrecision, $flip, $xOffset / $scale, $yOffset / $scale);
		}

		return trim($path);

	}
returns one single SVG path definition for all elements in the document

@param  float   $scale          a positive number how much the path should be scaled (1 means 100%)
@param  integer $roundPrecision number of decimal digits to round to or null to disable rounding
@param  string  $flip           'none', 'horizontal' or 'vertical' (requires a valid view box)
@param  boolean $onlyFilled     ignore non filled objects
@param  integer $xOffset        x offset
@param  integer $yOffset        y offset
@return string                  SVG path definition