Re: gd function/parameters
| From: | Rasmus Lerdorf | Date: | Sat, 29 Jul 2000 22:00:24 +0000 |
| Subject: | Re: gd function/parameters | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-26862@lists.php.net to get a copy of this message | ||
> I think I'd lean towards something like int imageSetStyledBrush(int
> style,int brush), but it's deviating from the gd library a bit. how
> important is that?
When a slightly different API makes more sense, it isn't important at
all. There are plenty of examples of this throughout PHP.
> it would be nice to be able to switch things around at will (as a side
> effect, you'd be able to specify brushes, tiles, and styles without
> specifying which image they'd be linked to, and just use them to draw
> on any of the images that are open... that's almost a bad thing,
> since colors don't work like that, but it's still nice.).
I think it is fine.
-Rasmus