Class pictures

Description

Class for text images

  • author: Andreas Plank <andreas.plank@web.de>
  • version: 2009-02-24 21:24:33
  • license: Noncommercial-Share

Located in /structure/classes/tools.php (line 816)


	
			
Variable Summary
 mixed $angle
 mixed $text
Method Summary
 void errors ( $error_message)
 image.png write_text_picture (string $text, int $angle)
Variables
mixed $angle = 50 (line 824)
  • access: public
mixed $background_color = '' (line 823)
  • access: public
mixed $text (line 822)
  • access: public
Methods
errors (line 826)
void errors ( $error_message)
  • $error_message
write_text_picture (line 894)

writes text in table's headings rotated as image

To ensure characters being transmitted base64_encode() is used instead of only htmlentities(). Note IE has some problems with transparency PNG. Possibly depending on PHP version the boundingbox isn't fetched properly and width or height has to be adjusted then in imagettftext().

image.png write_text_picture (string $text, int $angle)
  • string $text: : the text
  • int $angle: : the angle

Documentation generated on Mon, 14 Dec 2009 14:37:08 +0100 by phpDocumentor 1.4.2