phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: property/inc/pdf class.ezpdf.php,NONE,1.1


From: Sigurd Nes <address@hidden>
Subject: [Phpgroupware-cvs] CVS: property/inc/pdf class.ezpdf.php,NONE,1.1
Date: Wed, 26 Mar 2003 12:06:16 -0500

Update of /cvsroot/phpgroupware/property/inc/pdf
In directory subversions:/tmp/cvs-serv7446

Added Files:
        class.ezpdf.php 
Log Message:
no message

--- NEW FILE ---
<?php

//include_once('class.pdf.php');
//include_once (PHPGW_APP_INC . '/pdf/class.pdf.php');

class pdf extends pdf_ {
//==============================================================================
// this class will take the basic interaction facilities of the Cpdf class
// and make more useful functions so that the user does not have to
// know all the ins and outs of pdf presentation to produce something pretty.
//
// IMPORTANT NOTE
// there is no warranty, implied or otherwise with this software.
//
// version 009 (versioning is linked to class.pdf.php)
//
// released under a public domain licence.
//
// Wayne Munro, R&OS Ltd, http://www.ros.co.nz/pdf
[...1518 lines suppressed...]
    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;
  }
}

// 
------------------------------------------------------------------------------

}
?>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]