Example #1
0
 /**
  * @param Object $object
  * @param OutputFormatterStyleInterface $style
  * @param int $depth
  * @param int $offsetX
  * @param int $offsetY
  * @param WindowBounds $windowBounds
  */
 private function deeperToDrawObject(Object $object, OutputFormatterStyleInterface $style = null, $depth = 0, $offsetX = 0, $offsetY = 0, WindowBounds $windowBounds)
 {
     foreach ($object->getPoints() as $point) {
         $newOffsetX = $offsetX + $point->getX();
         $newOffsetY = $offsetY + $point->getY();
         $this->deeperToDrawPoint($point, $style, $depth, $newOffsetX, $newOffsetY, $windowBounds);
     }
 }