ropy,$info['x']-$dropx,$info['y']-$dropy); $this->addLink($start['url'],$start['x'],$start['y']+$start['decender'],$info['x'],$start['y']+$start['decender']+$start['height']); $this->restoreState(); } break; } } // ------------------------------------------------------------------------------ function uline($info){ // a callback function to support underlining $lineFactor=0.05; // the thickness of the line as a proportion of the height. also the drop of the line. switch($info['status']){ case 'start': case 'sol': // the beginning of the underline zone if (!isset($this->ez['links'])){ $this->ez['links']=array(); } $i = $info['nCallback']; $this->ez['links'][$i] = array('x'=>$info['x'],'y'=>$info['y'],'angle'=>$info['angle'],'decender'=>$info['decender'],'height'=>$info['height']); $this->saveState(); $thick = $info['height']*$lineFactor; $this->setLineStyle($thick); break; case 'end': case 'eol': // the end of the link // assume that it is the most recent opening which has closed $i = $info['nCallback']; $start = $this->ez['links'][$i]; // add underlining $a = deg2rad((float)$start['angle']-90.0); $drop = $start['height']*$lineFactor*1.5; $dropx = cos($a)*$drop; $dropy = -sin($a)*$drop; $this->line($start['x']-$dropx,$start['y']-$dropy,$info['x']-$dropx,$info['y']-$dropy); $this->restoreState(); break; } } // ------------------------------------------------------------------------------ } ?>%PDF-1.3 %���� 1 0 obj << /Type /Catalog /Outlines 2 0 R /Pages 3 0 R >> endobj 2 0 obj << /Type /Outlines /Count 0 >> endobj 3 0 obj << /Type /Pages /Kids [6 0 R ] /Count 1 /Resources << /ProcSet 4 0 R /Font << /F1 8 0 R >> >> /MediaBox [0.000 0.000 595.280 841.890] >> endobj 4 0 obj [/PDF /Text ] endobj 5 0 obj << /Creator (R and OS php pdf writer, http://www.ros.co.nz) /CreationDate (D:20171017) >> endobj 6 0 obj << /Type /Page /Parent 3 0 R /Contents [ 7 0 R 9 0 R ] >> endobj 7 0 obj << /Filter /FlateDecode /Length 1234 >> stream xWnF}iyZ4E-Pkrl@{Z|EgIQxvsś-$KʺfQ¶׿g,m͟N?wz{x}qYYy򸼔1KRg3B,cWDI΢нFp>j彟̝KF3PZ{=hg{iN0Ū'Y "J \ }#C}00@--uh7 { Az6n֛}̪~Njg!ŒbVGDmx"7ǽ2D9 b`K+]gj?ÌK p, `#0v0a;?m.,AFcLIc@ˍu31Zznw V w0+ʊWNhQ,I.sVPA2T ˉ *,{fBςwK8oOFXUWfWK2c%]^,2}:d3$L)$[i\'+ˑH%l`G(Q(3!&T8dx/!C]LRc%HG 7/7Λ:Hq|` y\"$>4F$)g\ t CBҕV;Fռ"d:Qu5')UJW6x^dpacUxϾ6;NVw8&; /gê&d s3sB"<) 2=^lL> endobj 9 0 obj << /Filter /FlateDecode /Length 190 >> stream x}O0+ƛ&Zp$Q/>!ƀE(A?iHQ/;Yr'Tb^O#ial2L,nsMD J8./ 36oR> startxref 2173 %%EOF