Moodle  2.2.1
http://www.collinsharper.com
moodle_image Class Reference

Public Member Functions

 __construct ($img)
 destroy ()
 undo ()
 watermark ($text='', $pos=array(), $options=array())
 rotate ($angle=0, $bgcolor=0)
 resize ($w, $h, $use_resize=true)
 saveas ($imagepath)
 display ()

Detailed Description

Definition at line 26 of file image.php.


Constructor & Destructor Documentation

__construct ( img)

Definition at line 34 of file image.php.

Here is the call graph for this function:


Member Function Documentation

destroy ( )

Definition at line 65 of file image.php.

Here is the caller graph for this function:

display ( )

Definition at line 149 of file image.php.

Here is the call graph for this function:

resize ( w,
h,
use_resize = true 
)

Definition at line 114 of file image.php.

rotate ( angle = 0,
bgcolor = 0 
)

Definition at line 109 of file image.php.

saveas ( imagepath)

Definition at line 128 of file image.php.

Here is the call graph for this function:

undo ( )

Definition at line 71 of file image.php.

watermark ( text = '',
pos = array(),
options = array() 
)

Definition at line 76 of file image.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations