![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.php archiveRe: imagefilledpolygon() with a pattern
From: albert <groups@fastworx.com>
Date: Thu Jul 21 2005 - 13:37:29 CEST
By pure chance I stumbled across the imagesettile() method. This can be
So I wrote the following function to create a crosshash fill:
[code]
$crossHash = imagecreate(20, 20);
imagesettile($image, $crossHash);
imagedestroy($crossHash);
You can fill the polygon with anything by changing the $crossHash
Have a good day
|