Re: "Merging" Image_Graph and Image_Graphite into new Image_Graph-package

From: Date: Thu, 16 Sep 2004 07:28:40 +0000
Subject: Re: "Merging" Image_Graph and Image_Graphite into new Image_Graph-package
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-33401@lists.php.net to get a copy of this message
On Thu, 16 Sep 2004 at 09:22:30, l0t3k wrote: > Great news... Thank you. > "Stefan Neufeind" <pear.neufeind@speedpartner.de> wrote in message > news:414844E3.4090107@speedpartner.de... > > > Currently we're having a closer look at the package- and API-design, > > possible extensions etc. and preparing for a new release. But I expect > > it to take a few more weeks ... stay tuned! > > i'd like to add an idea for your consideration. at some point it would be a > good idea to support a "canvas" class (or interface in PHP 5) which would > produce output by implementing basic graphics primitives (drawLine, > drawRectangle, fillArea, etc). this class/interface would then render based > on its output format. That's in the design of the current Image_Graph (though there is just one output-format currently), and is definitely something that we intend to implement for Image_Graphite as well. However we didn't yet decide what's the best way to do it. Using primitives you run into some problems when dealing with fillings. But Jesper also proposed to follow a "more strict" OO-layout than it's currently in Image_Graph (which was chosen for performance). We're definitely looking into this matter. Thank you for your suggestion. Regards, Stefan

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