SproutCMS

This is the code documentation for the SproutCMS project

Page options:

Inherited members

class GD

GD Image Driver.

Variables

NameVisibilityDescription
$blank_png (static) 
$blank_png_height (static) 
$blank_png_width (static) 
$errors 
$image 
$tmp_image 

Functions

NameVisibilityDescription
__constructpublic 
addTextpublic 
croppublic 
executepublicExecutes a set of actions, defined in pairs.
flippublic 
imagecreatetransparentprotectedReturns an image with a transparent background. Used for rotating to
processpublic 
propertiesprotected 
resizepublic 
rotatepublic 
sanitizeGeometryprotectedSanitize and normalize a geometry array based on the temporary image
sharpenpublic 

public __construct

void $GD->__construct ( );

This function does not have a description

public addText

unknown $GD->addText ( mixed $text );

This function does not have a description

public crop

unknown $GD->crop ( mixed $properties );

This function does not have a description

public execute (from ImageDriver)

boolean $ImageDriver->execute ( array $actions );

Executes a set of actions, defined in pairs.

public flip

unknown $GD->flip ( mixed $direction );

This function does not have a description

protected imagecreatetransparent

resource $GD->imagecreatetransparent ( integer $width , integer $height );

Returns an image with a transparent background. Used for rotating to
prevent unfilled backgrounds.

public process

unknown $GD->process ( mixed $image , mixed $actions , mixed $dir , mixed $file [, mixed $render ] );

This function does not have a description

protected properties

unknown $GD->properties ( );

This function does not have a description

public resize

unknown $GD->resize ( mixed $properties );

This function does not have a description

public rotate

unknown $GD->rotate ( mixed $amount );

This function does not have a description

protected sanitizeGeometry (from ImageDriver)

void $ImageDriver->sanitizeGeometry ( array &$geometry );

Sanitize and normalize a geometry array based on the temporary image
width and height. Valid properties are: width, height, top, left.

public sharpen

unknown $GD->sharpen ( mixed $amount );

This function does not have a description