Am Mon, 11 May 2009 01:00:17 -0400 schrieb Jose Gonzalez:

Hello Jose,

thanks for your explanation. I started work again on the C++ wrapper
for Evas and noticed Gradient2. So I'll omit it.

Maybe it could be left on SVN for anyone who likes to work again on it,
but disabled with a configure switch. Or move it into an OLD directory.

regards
Andreas

>    Andreas Volz wrote:
> 
> > Hello,
> >
> > could anyone explain why there is a Gradient and a Gradient2 in
> > Evas?
> >
> > I couldn't find and document that explains what are the advantages
> > of one against the other. Is one of both deprecated?
> >
> >   
> 
>    Who now dares to disturb my peaceful slumber? Are ye one of the
> minions of the evil one, or simply a confused soul?
> 
>    No matter... Ummm, something about schmegrients I see. Let me see
> if I can summarize it for you:
> 
> 1. "Gradient" was an initial revision of even earlier evas gradients.
> It uses premul colors (and also allows for separate alphas), and has
> a somewhat unified approach to its api. Both of these 'features' are
> not easily represented by some engines and they are done basically via
> the software implementation (also, separate apis for specifying
> the intrinsic 'geometry' of a given gradient type also seems more
> intuitive).
> 
> 2. "Gradient2" was an initial attempt to 'correct' both the above
> issues and to eventually replace "gradient" with it. So, it uses
> only non-premul color data (so far) to specify the gradients and
> has two separate types (linear and radial) each with their own
> api for specifying their intrinsic geometry. As a final addition,
> it also allows for specifying an affine fill-transform on those
> geometries.
> 
>    Unfortunately, the existence of multitudes of engines and no-one
> who wants to implement gradient2 natively in those engines (if
> possible), along with other reasons, led to stalling on the
> development of this (some refinements were done as part of a large
> patch that also dealt with image fill-transforms, but development on
> this was also stalled for various reasons).
> 
>    Hopefully that will clear up the 'why' for the existence of
> gradient/gradient2 and some idea of their status.
> 
>    I would suggest possibly removing gradient2 from evas for its
> upcoming 'release' until this can be gotten back to, if this would
> clear up any possible confusion.
> 
> 
> > Which one is used if I use a gradient block in Edje files?
> >
> >   
> 
>    Edje uses "gradient" internally since when gradients were added
> to edje by Brian Mattern (aka. rephorm), there was no "gradient2".
> 
> 
> ____________________________________________________________
> Click here to find the right business program for you and take your
> career to the next level.
> http://thirdpartyoffers.juno.com/TGL2141/fc/BLSrjpTESUSIkyaniDxTF3DaL6qWfgyQFdMVFq30oS6ThqA2qrlkxN5rFZG/
> 
> ------------------------------------------------------------------------------
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances!
> Your production scanning environment may not be a perfect world - but
> thanks to Kodak, there's a perfect scanner to get the job done! With
> the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi
> even with all image processing features enabled.
> http://p.sf.net/sfu/kodak-com
> _______________________________________________ enlightenment-devel
> mailing list enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to