Changeset 1654 for sandbox/filemanager/tp/dompdf/include/gd_adapter.cls.php
- Timestamp:
- 11/17/09 09:02:41 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/filemanager/tp/dompdf/include/gd_adapter.cls.php
r1575 r1654 538 538 * @param array $color 539 539 * @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) { 542 543 543 544 // Scale by the AA factor … … 554 555 555 556 // 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); 557 558 558 559 }
Note: See TracChangeset
for help on using the changeset viewer.