lib/PHPPdf/Core/Node/Node.php
public function collectOrderedDrawingTasks(Document $document, DrawingTaskHeap $tasks)
    {
        try
        {
            $this->preDraw($document, $tasks);
            $this->doDraw($document, $tasks);
            $this->postDraw($document, $tasks);
        }
        catch(\Exception $e)
        {
            throw new \PHPPdf\Core\Exception\DrawingException(sprintf('Error while drawing node "%s"', get_class($this)), 0, $e);
        }
    }
public function collectOrderedDrawingTasks(Document $document, DrawingTaskHeap $tasks)
    {
        try
        {
            $this->preDraw($document, $tasks);
            $this->doDraw($document, $tasks);
            $this->postDraw($document, $tasks);
        }
        catch(\Exception $e)
        {
            throw new \PHPPdf\Core\Exception\DrawingException(sprintf('Error while drawing node "%s"', get_class($this)), 0, $e);
        }
    }
public function collectOrderedDrawingTasks ( Document $ document , DrawingTaskHeap $ tasks ) { try { $ this -> preDraw ( $ document , $ tasks ) ; $ this -> doDraw ( $ document , $ tasks ) ; $ this -> postDraw ( $ document , $ tasks ) ; } catch ( \ Exception $ e ) { throw new \ PHPPdf \ Core \ Exception \ DrawingException ( sprintf ( 'Error while drawing node "%s"' , get_class ( $ this ) ) , 0 , $ e ) ; } }
Returns array of PHPPdf\Core\DrawingTask objects. Those objects encapsulate drawing function.

@return array Array of PHPPdf\Core\DrawingTask objects
Returns array of PHPPdf \ Core \ DrawingTask objects . Those objects encapsulate drawing function .