Re: Call for Votes Image_Text (+ Image_Tools)

From: Date: Sat, 11 Oct 2003 20:48:15 +0000
Subject: Re: Call for Votes Image_Text (+ Image_Tools)
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-22610@lists.php.net to get a copy of this message
Am Saturday, October 11, 2003 10:21 PM [GMT+0100=CET], artikulierte Stephan Schmidt <schst@php-tools.net>: > Hi, Hi Stefan! > Generally I have to say that I like the packages, but I think 2 > features would be nice: > 1. Image_Tools should be a collection of classes, if the class will > grow you have to load a lot of code if you only want to draw a border. I'm honest, I do not have an opinion on that. I like both solutions. Let's see what the other say! > 2. It would be nice if you could supply an image resource in the > constructor of Image_Tools so can can draw several borders, text, etc > in one image without supplying the resource over and over again... Thats a possible idea. I'm not shure on the design to choose for that. When I implement a multi class package for that, there are some more design issues to handle with. How to add the elements to the base object? Maybe a kind of plugin api? Factory methods? I thought about that solution. Would be cool to implement a kind of layer system. Don't know if that'd be usefull for anyone, just an idea. Regards, Toby

« previous php.pear.dev (#22610) next »