graphics widget functions
| From: | Ulf Wendel | Date: | Sun, 28 Jan 2001 19:15:07 +0000 |
| Subject: | graphics widget functions | ||
| Groups: | php.pear | ||
| Request: | Send a blank email to php-pear+get-1207@lists.php.net to get a copy of this message | ||
Hi,
another graphics class. I named it "graphics" which is not a proper
name, anyway let me call it "graphics" in this mail.
Why?
When dealing with the Image*() function I always need some widget stuff,
e.g. to convert userdefined colors into the array of rgb integer values
PHP needs.
What?
Currently the graphics class mainly provides function to convert
userdefinied colors. Named colors like 'red', hexadecimal HTML like
colors and colors specified like '%50,%20,%9'. It also provides a
function that takes a variable number of arguments and generates out of
ID from it that you can use for the graphics_cache.
Where...
... is the source? http://www.redsys.de/graphics.htm
.
What else?
Maybe it should be renamed to "colorconvert". generateID() should be
removed. Anyway, what about the source?
Ulf