src/Html2Pdf.php
protected function _getElementY($h)
    {
        if ($this->_subPart || $this->_isSubPart || !$this->_currentH || $this->_currentH<$h) {
            return 0;
        }

        return ($this->_currentH-$h)*0.8;
    }
protected function _getElementY($h)
    {
        if ($this->_subPart || $this->_isSubPart || !$this->_currentH || $this->_currentH<$h) {
            return 0;
        }

        return ($this->_currentH-$h)*0.8;
    }
protected function _getElementY ( $ h ) { if ( $ this -> _subPart || $ this -> _isSubPart || ! $ this -> _currentH || $ this -> _currentH < $ h ) { return 0 ; } return ( $ this -> _currentH - $ h ) * 0.8 ; }
get the position of the element on the current line, depending on its height

@access protected
@param  float $h
@return float
get the position of the element on the current line depending on its height