Documentation TYPO3 par Ameos |
Public Member Functions | |
start ($conf, $data) | |
gifBuild () | |
make () | |
checkTextObj ($conf) | |
calcOffset ($string) | |
getResource ($file, $fileArray) | |
checkFile ($file) | |
fileName ($pre) | |
extension () | |
start ($conf, $data) | |
gifBuild () | |
make () | |
checkTextObj ($conf) | |
calcOffset ($string) | |
getResource ($file, $fileArray) | |
checkFile ($file) | |
fileName ($pre) | |
extension () | |
Public Attributes | |
$im = '' | |
$w = 0 | |
$h = 0 | |
$map | |
$workArea | |
$setup = Array () | |
$data = Array() | |
$objBB = Array() | |
$myClassName = 'gifbuilder' | |
$charRangeMap = array() |
Definition at line 102 of file class.tslib_gifbuilder.php.
|
Calculation of offset using "splitCalc" and insertion of dimensions from other GIFBUILDER objects. Example: Input: 2+2, 2*3, 123, [10.w] Output: 4,6,123,45 (provided that the width of object in position 10 was 45 pixels wide)
Definition at line 552 of file class.tslib_gifbuilder.php. References t3lib_div::splitCalc(). |
|
Calculation of offset using "splitCalc" and insertion of dimensions from other GIFBUILDER objects. Example: Input: 2+2, 2*3, 123, [10.w] Output: 4,6,123,45 (provided that the width of object in position 10 was 45 pixels wide)
Definition at line 552 of file class.tslib_gifbuilder.php. References t3lib_div::splitCalc(). Referenced by start(). |
|
Returns the reference to a "resource" in TypoScript.
Reimplemented from t3lib_stdGraphic. Definition at line 616 of file class.tslib_gifbuilder.php. |
|
Returns the reference to a "resource" in TypoScript.
Reimplemented from t3lib_stdGraphic. Definition at line 616 of file class.tslib_gifbuilder.php. Referenced by checkTextObj(). |
|
Initializing/Cleaning of TypoScript properties for TEXT GIFBUILDER objects 'cleans' TEXT-object; Checks fontfile and other vital setup Finds the title if its a 'variable' (instantiates a cObj and loads it with the ->data record) Performs caseshift if any.
Definition at line 475 of file class.tslib_gifbuilder.php. References checkFile(), and t3lib_div::makeInstance(). |
|
Initializing/Cleaning of TypoScript properties for TEXT GIFBUILDER objects 'cleans' TEXT-object; Checks fontfile and other vital setup Finds the title if its a 'variable' (instantiates a cObj and loads it with the ->data record) Performs caseshift if any.
Definition at line 475 of file class.tslib_gifbuilder.php. References checkFile(), and t3lib_div::makeInstance(). |
|
Returns the file extension used in the filename
Definition at line 637 of file class.tslib_gifbuilder.php. |
|
Returns the file extension used in the filename
Definition at line 637 of file class.tslib_gifbuilder.php. Referenced by fileName(). |
|
Calculates the GIFBUILDER output filename/path based on a serialized, hashed value of this->setup
Definition at line 627 of file class.tslib_gifbuilder.php. References extension(). |
|
Calculates the GIFBUILDER output filename/path based on a serialized, hashed value of this->setup
Definition at line 627 of file class.tslib_gifbuilder.php. References extension(). Referenced by gifBuild(). |
|
Returns an "imgResource" creating an instance of the tslib_cObj class and calling tslib_cObj::getImgResource
Definition at line 601 of file class.tslib_gifbuilder.php. References t3lib_div::makeInstance(). |
|
Returns an "imgResource" creating an instance of the tslib_cObj class and calling tslib_cObj::getImgResource
Definition at line 601 of file class.tslib_gifbuilder.php. References t3lib_div::makeInstance(). Referenced by start(). |
|
Initiates the image file generation if ->setup is true and if the file did not exist already. Gets filename from fileName() and if file exists in typo3temp/ dir it will - of course - not be rendered again. Otherwise rendering means calling ->make(), then ->output(), then ->destroy()
Definition at line 296 of file class.tslib_gifbuilder.php. References t3lib_stdGraphic::createTempSubDir(), t3lib_stdGraphic::destroy(), fileName(), make(), and t3lib_stdGraphic::output(). |
|
Initiates the image file generation if ->setup is true and if the file did not exist already. Gets filename from fileName() and if file exists in typo3temp/ dir it will - of course - not be rendered again. Otherwise rendering means calling ->make(), then ->output(), then ->destroy()
Definition at line 296 of file class.tslib_gifbuilder.php. References t3lib_stdGraphic::createTempSubDir(), t3lib_stdGraphic::destroy(), fileName(), make(), and t3lib_stdGraphic::output(). |
|
The actual rendering of the image file. Basically sets the dimensions, the background color, the traverses the array of GIFBUILDER objects and finally setting the transparent color if defined. Creates a GDlib resource in $this->im and works on that Called by gifBuild()
Definition at line 324 of file class.tslib_gifbuilder.php. References t3lib_stdGraphic::adjust(), checkTextObj(), t3lib_stdGraphic::convertColor(), t3lib_stdGraphic::copyImageOntoImage(), t3lib_stdGraphic::crop(), t3lib_stdGraphic::makeBox(), t3lib_stdGraphic::makeEffect(), t3lib_stdGraphic::makeEmboss(), t3lib_stdGraphic::makeOutline(), t3lib_stdGraphic::makeShadow(), t3lib_stdGraphic::makeText(), t3lib_stdGraphic::maskImageOntoImage(), t3lib_stdGraphic::scale(), t3lib_stdGraphic::setWorkArea(), and t3lib_TStemplate::sortedKeyList(). |
|
The actual rendering of the image file. Basically sets the dimensions, the background color, the traverses the array of GIFBUILDER objects and finally setting the transparent color if defined. Creates a GDlib resource in $this->im and works on that Called by gifBuild()
Definition at line 324 of file class.tslib_gifbuilder.php. References t3lib_stdGraphic::adjust(), checkTextObj(), t3lib_stdGraphic::convertColor(), t3lib_stdGraphic::copyImageOntoImage(), t3lib_stdGraphic::crop(), t3lib_stdGraphic::makeBox(), t3lib_stdGraphic::makeEffect(), t3lib_stdGraphic::makeEmboss(), t3lib_stdGraphic::makeOutline(), t3lib_stdGraphic::makeShadow(), t3lib_stdGraphic::makeText(), t3lib_stdGraphic::maskImageOntoImage(), t3lib_stdGraphic::scale(), t3lib_stdGraphic::setWorkArea(), and t3lib_TStemplate::sortedKeyList(). Referenced by gifBuild(). |
|
Initialization of the GIFBUILDER objects, in particular TEXT and IMAGE. This includes finding the bounding box, setting dimensions and offset values before the actual rendering is started. Modifies the ->setup, ->objBB internal arrays Should be called after the ->init() function which initializes the parent class functions/variables in general. The class tslib_gmenu also uses gifbuilder and here there is an interesting use since the function findLargestDims() from that class calls the init() and start() functions to find the total dimensions before starting the rendering of the images.
Definition at line 127 of file class.tslib_gifbuilder.php. References $data, t3lib_stdGraphic::calcBBox(), calcOffset(), checkTextObj(), t3lib_stdGraphic::crop(), t3lib_stdGraphic::fontResize(), getResource(), t3lib_div::intExplode(), t3lib_div::intInRange(), t3lib_div::makeInstance(), t3lib_stdGraphic::setWorkArea(), and t3lib_TStemplate::sortedKeyList(). |
|
Initialization of the GIFBUILDER objects, in particular TEXT and IMAGE. This includes finding the bounding box, setting dimensions and offset values before the actual rendering is started. Modifies the ->setup, ->objBB internal arrays Should be called after the ->init() function which initializes the parent class functions/variables in general. The class tslib_gmenu also uses gifbuilder and here there is an interesting use since the function findLargestDims() from that class calls the init() and start() functions to find the total dimensions before starting the rendering of the images.
Definition at line 127 of file class.tslib_gifbuilder.php. References $data, t3lib_stdGraphic::calcBBox(), calcOffset(), checkTextObj(), t3lib_stdGraphic::crop(), t3lib_stdGraphic::fontResize(), getResource(), t3lib_div::intExplode(), t3lib_div::intInRange(), t3lib_div::makeInstance(), t3lib_stdGraphic::setWorkArea(), and t3lib_TStemplate::sortedKeyList(). |