Horde_Pdf_Writer::link PHP Method

    public function link($x, $y, $width, $height, $link)
    {
        if ($x < 0) {
            $x += $this->w;
        }
        if ($y < 0) {
            $y += $this->h;
        }
        /* Set up the coordinates with correct scaling in pt. */
        $x = $this->_toPt($x);
        $y = $this->hPt - $this->_toPt($y);
        $width = $this->_toPt($width);
        $height = $this->_toPt($height);
        /* Save link to page links array. */
        $this->_link($x, $y, $width, $height, $link);
    }