Source for file marquee.php
Documentation is available at marquee.php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker */
// CVS: $Id: marquee.php,v 1.1 2005/10/02 17:53:00 firman Exp $
* Load Image_Tools marquee tool
require_once 'Image/Tools.php';
// Create destination image when masked sample image will be draw.
$filename = 'images/master.png';
// Sets sample image, x position and y position.
'sample' => 'images/pear.png',
// Create new Image_Tools_Marquee object instance
if (PEAR ::isError ($toolMarquee)) {
die ($toolMarquee->toString ());
// Sets rectangle marquee
$toolMarquee->setRectangleMarquee (10 , 10 , 40 , 40 );
// Apply marquee to the image and send it to browser
$err = $toolMarquee->display ();
if (PEAR ::isError ($err)) {
* c-hanging-comment-ender-p: nil
Documentation generated on Thu, 23 Nov 2006 18:00:05 -0500 by phpDocumentor 1.3.0. PEAR Logo Copyright © PHP Group 2004.
|