dokeos
[ class tree: dokeos ] [ index: dokeos ] [ all elements ]

Class: image

Source Location: /main/inc/lib/image.lib.php

Class Overview




Variables

Methods



Class Details

[line 3]


[ Top ]


Class Variables

$bg =

[line 5]


Type:   mixed


[ Top ]

$bgx =

[line 9]


Type:   mixed


[ Top ]

$bgy =

[line 10]


Type:   mixed


[ Top ]

$color =

[line 14]


Type:   mixed


[ Top ]

$fontfile = './verdana'

[line 11]


Type:   mixed


[ Top ]

$logo =

[line 6]


Type:   mixed


[ Top ]

$logox =

[line 7]


Type:   mixed


[ Top ]

$logoy =

[line 8]


Type:   mixed


[ Top ]



Class Methods


constructor image [line 16]

image image( [ $bgfile = ''])



Parameters:

   $bgfile  

[ Top ]

method addbackground [line 83]

void addbackground( $bgfile)



Parameters:

   $bgfile  

[ Top ]

method addlogo [line 91]

void addlogo( $file)



Parameters:

   $file  

[ Top ]

method addtext [line 114]

void addtext( $text, [ $x = 0], [ $y = 0], [ $size = 12], [ $angle = 0])



Parameters:

   $text  
   $x  
   $y  
   $size  
   $angle  

[ Top ]

method createimagefromtype [line 22]

void createimagefromtype( $file, $handler)



Parameters:

   $file  
   $handler  

[ Top ]

method makecolor [line 106]

void makecolor( $red, $green, $blue)



Parameters:

   $red  
   $green  
   $blue  

[ Top ]

method mergelogo [line 100]

void mergelogo( $x, $y, [ $alpha = 100])



Parameters:

   $x  
   $y  
   $alpha  

[ Top ]

method resize [line 45]

void resize( $thumbw, $thumbh, $border)



Parameters:

   $thumbw  
   $thumbh  
   $border  

[ Top ]

method send_image [line 135]

void send_image( $type, [ $file = ''], [ $compress = -1])



Parameters:

   $type  
   $file  
   $compress  

[ Top ]

method setfont [line 110]

void setfont( $fontfile)



Parameters:

   $fontfile  

[ Top ]


Documentation generated on Thu, 12 Jun 2008 13:46:02 -0500 by phpDocumentor 1.4.1