hello,

i have the following php code (WandImage is a wrapper class):

==========================================

$image = new WandImage(300, 100);

$image->pushPattern("pat", 0, 0, 30, 30);
$image->setStrokeWidth(1);
$image->setFillColor('#0c0');
$image->setStrokeColor('#c00');
$image->drawCircle(1, 1, 8);
$image->popPattern();

$image->setFillPattern('#pat');

==========================================

pop/push patter calls return true, so i'm assuming the pattern is
created. however setFillPattern() call does not work and returns false.
what's the syntax for the pattern id param? what could be the problem?

Bob

_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to