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
>> 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
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
- "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
> 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
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
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 {
>>
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
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
>>
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
>>
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
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
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
>> 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
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
[...]
> 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
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
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
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
19 matches
Mail list logo