Re: [E-devel] [Evas] possible bug in gradient

2008-07-26 Thread The Rasterman
On Wed, 09 Jul 2008 19:33:14 -0400 Jose Gonzalez <[EMAIL PROTECTED]> babbled: it's a matter of how high level you want the api. in fact your end api (the minimal one) is exactly what my original gradient api had.. just add a point a distance from another with a color - it's linear interpolation. c

Re: [E-devel] [Evas] possible bug in gradient

2008-07-15 Thread Jose Gonzalez
>> Again, though not completely to my personal liking (and contradicting >> my original >> version), I'd like to propose changing the evas gradient 'spectrum' api to >> be of the form: >> >> evas_object_gradient_color_stop_insert(grad, r, g, b, a, float pos); >> >> where the 'r,g,b,a' part

Re: [E-devel] [Evas] possible bug in gradient

2008-07-15 Thread Jose Gonzalez
Ok, to continue with my review and critique of evas gradients.. For the second (2) aspect of these, we have the following api (set) functions: Evas_Object *evas_object_gradient_add(Evas *e); void evas_object_gradient_type_set(obj, const char *type, const char *instance_params); void evas_ob

Re: [E-devel] [Evas] possible bug in gradient

2008-07-15 Thread Dave Andreoli
- "Jose Gonzalez" <[EMAIL PROTECTED]> ha scritto: > Let me continue with this evas gradients overview and with my > 'critique' > of its current state (largely due both to me and to legacy and other > constraints), > and to continue proposing *api-breaking* changes. > Before doing so tho

Re: [E-devel] [Evas] possible bug in gradient

2008-07-14 Thread Jose Gonzalez
> Again, though not completely to my personal liking (and contradicting > my original > version), I'd like to propose changing the evas gradient 'spectrum' api to be > of the form: > > evas_object_gradient_color_stop_insert(grad, r, g, b, a, float pos); > > where the 'r,g,b,a' part of the

Re: [E-devel] [Evas] possible bug in gradient

2008-07-14 Thread Jose Gonzalez
Let me continue with this evas gradients overview and with my 'critique' of its current state (largely due both to me and to legacy and other constraints), and to continue proposing *api-breaking* changes. Before doing so though, let me quickly point out something to Dave regarding hi

Re: [E-devel] [Evas] possible bug in gradient

2008-07-13 Thread Jose Gonzalez
I wrote: >Toma wrote: > >> While everyones talking about gradients, Ive a request... Id like to >> be able to create a gradient that goes from sollid white to alpha then >> clip an image to it so that the image fades away. Something like >> this... >> >> spectra { >> spectrum { >>

Re: [E-devel] [Evas] possible bug in gradient

2008-07-09 Thread Jose Gonzalez
Toma wrote: > While everyones talking about gradients, Ive a request... Id like to > be able to create a gradient that goes from sollid white to alpha then > clip an image to it so that the image fades away. Something like > this... > > spectra { > spectrum { > name: "sp2"; > color: 2

Re: [E-devel] [Evas] possible bug in gradient

2008-07-09 Thread Toma
While everyones talking about gradients, Ive a request... Id like to be able to create a gradient that goes from sollid white to alpha then clip an image to it so that the image fades away. Something like this... spectra { spectrum { name: "sp2"; color: 255 255 255 255 1; color: 0 0

Re: [E-devel] [Evas] possible bug in gradient

2008-07-09 Thread Jose Gonzalez
>> So, if anyone has any comments, suggestions, issues.. *anything* with evas gradients -- now would be a good time to pipe in. :) >>> >>> I'd _love_ using gradients, in fact I would use them much more >>> often, _if_ not everytime I start using them, it all feels like I'm >>

Re: [E-devel] [Evas] possible bug in gradient

2008-07-09 Thread Dave Andreoli
I had worked on the gradient & spectra manager in edje_editor, it is ready now, you will see my work in cvs soon. I have done a cool spectra editor and yes, the 'delta' param is a hell! I agree with you also with the rest of the api :) ...but updating all the code that use gradient could be paint

Re: [E-devel] [Evas] possible bug in gradient

2008-07-09 Thread Vincent Torri
forget my previous mail; it was a problem with my mail client sorry Vincent - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with

Re: [E-devel] [Evas] possible bug in gradient

2008-07-09 Thread Jose Gonzalez
I wrote: > >>> So, if anyone has any comments, suggestions, issues.. *anything* with >>> evas gradients -- now would be a good time to pipe in. :) >>> >> >> I'd _love_ using gradients, in fact I would use them much more often, >> _if_ not everytime I start using them, it all feels like I'm

Re: [E-devel] [Evas] possible bug in gradient

2008-06-26 Thread Jose Gonzalez
>> So, if anyone has any comments, suggestions, issues.. *anything* with >> evas gradients -- now would be a good time to pipe in. :) >> > > I'd _love_ using gradients, in fact I would use them much more often, _if_ > not > everytime I start using them, it all feels like I'm operating a pow

Re: [E-devel] [Evas] possible bug in gradient

2008-06-25 Thread Jose Gonzalez
Michael 'Mickey' Lauer wrote: > [...] > > >> So, if anyone has any comments, suggestions, issues.. *anything* with >> evas gradients -- now would be a good time to pipe in. :) >> > > I'd _love_ using gradients, in fact I would use them much more often, _if_ > not > everytime I start using

Re: [E-devel] [Evas] possible bug in gradient

2008-06-25 Thread Michael 'Mickey' Lauer
[...] > So, if anyone has any comments, suggestions, issues.. *anything* with > evas gradients -- now would be a good time to pipe in. :) I'd _love_ using gradients, in fact I would use them much more often, _if_ not everytime I start using them, it all feels like I'm operating a powerful machi

Re: [E-devel] [Evas] possible bug in gradient

2008-06-25 Thread Jose Gonzalez
Vincent wrote: > Hey, > > before putting that in bugzilla, here is what I obtain with the following > code: > > [code] > >o = evas_object_gradient_add (evas); >evas_object_gradient_fill_angle_set(o, 90); >evas_object_gradient_fill_spread_set(o, 1); >evas_object_gradient_fill_se

Re: [E-devel] [Evas] possible bug in gradient

2007-12-27 Thread [EMAIL PROTECTED]
Vincent wrote: > before putting that in bugzilla, here is what I obtain with the > following code: > > [code] > > o = evas_object_gradient_add (evas); > evas_object_gradient_fill_angle_set(o, 90); > evas_object_gradient_fill_spread_set(o, 1); > evas_object_gradient_fill_set(o, 0

[E-devel] [Evas] possible bug in gradient

2007-12-26 Thread Vincent Torri
Hey, before putting that in bugzilla, here is what I obtain with the following code: [code] o = evas_object_gradient_add (evas); evas_object_gradient_fill_angle_set(o, 90); evas_object_gradient_fill_spread_set(o, 1); evas_object_gradient_fill_set(o, 0, 0, w, h); evas_object_grad