Ignore:
Timestamp:
11/17/09 09:02:41 (15 years ago)
Author:
amuller
Message:

Ticket #597 - melhoria no modulo gerenciador de arquivos

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/filemanager/tp/dompdf/include/gd_adapter.cls.php

    r1575 r1654  
    538538   * @param array $color 
    539539   * @param float $adjust word spacing adjustment 
    540    */ 
    541   function text($x, $y, $text, $font, $size, $color = array(0,0,0), $adjust = 0) { 
     540   * @param float $angle Text angle 
     541   */ 
     542  function text($x, $y, $text, $font, $size, $color = array(0,0,0), $adjust = 0, $angle = 0) { 
    542543 
    543544    // Scale by the AA factor 
     
    554555 
    555556    // FIXME: word spacing 
    556     imagettftext($this->_img, $size, 0, $x, $y + $h, $c, $font, $text); 
     557    imagettftext($this->_img, $size, $angle, $x, $y + $h, $c, $font, $text); 
    557558     
    558559  } 
Note: See TracChangeset for help on using the changeset viewer.