[E-devel] FW: Propose a Eina_Path

2016-11-11 Thread Hermet Park
Yes, but I have no idea about proper place than eina atm.

I feel like It's more close to an data structure & utility function than 
interface.

Any idea?

-Original Message-
From: "Andrew Williams" 
To: "Enlightenment developer list"; 
Cc: 
Sent: 2016-11-11 (금) 17:31:04
Subject: Re: [E-devel] Propose a Eina_Path
 
The name makes sense in a graphical context. Therefore if it can be
somewhere less general than Eina then it could make sense.

Andy

On Fri, 11 Nov 2016 at 08:00, Gustavo Sverzut Barbieri 
wrote:

> Em sexta-feira, 11 de novembro de 2016, Hermet Park 
> escreveu:
>
> > Hello everyone.
> >
> > Currently, I'm trying a prototype - Path Object  using the evas map.
> > (specifically for a scenario, text on path).
> > It looks nice if it works on gl backend. (i will share the result later)
> >
> > But before we talk about path object stuff, I wanna propose a Eina_Path.
> >
> > After reviewed efl_gfx_shape interface again,
> > I realized path interface should be moved out from the efl_gfx_shape
> > interface so that Path Object also utilize the path stuff.
> >
> > Curently, efl_gfx_shape has more than path functionalities such as a
> > stroke,
> >
> > I think path stuff can become a more generic function set.
> > So, I'd like to move the path stuff into Eina.
> >
> > If then, path object will be able to utilize the Eina Path and
> > efl_gfx_shape will do also.
> >
> > ie)
> > Eina_Path *path = eina_path_add();
> > eina_path_append_move_to(path, xxx);
> > eina_path_append_line_to(path, xxx);
> > eina_path_append_xxx (...);
> >
> > ...
> >
> > efl_gfx_shape_path_set(shape, path);
> >
> > also,
> >
> > elm_path_object_path_set(obj, path);
> >
> > If you agree on this, I will work on this stuff soon.
> >
> > Any objections?
>
>
> The name. I started to read this email thinking abou file path. :-)
>
> But as for moving it to eina, I don't think it's the right place. Eina has
> no other similar primitive.
>
>
>
> > 
> > --
> > Developer Access Program for Intel Xeon Phi Processors
> > Access to Intel Xeon Phi processor-based developer platforms.
> > With one year of Intel Parallel Studio XE.
> > Training and support from Colfax.
> > Order your platform today. http://sdm.link/xeonphi
> > ___
> > enlightenment-devel mailing list
> > enlightenment-devel@lists.sourceforge.net 
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> >
>
>
> --
> Gustavo Sverzut Barbieri
> --
> Mobile: +55 (16) 99354-9890
>
> --
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today. http://sdm.link/xeonphi
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] FW: Propose a Eina_Path

2016-11-11 Thread Andrew Williams
Alongside Evas_Rect and Evas_Line?

On Fri, 11 Nov 2016 at 08:59, Hermet Park  wrote:

> Yes, but I have no idea about proper place than eina atm.
>
> I feel like It's more close to an data structure & utility function than
> interface.
>
> Any idea?
>
> -Original Message-
> From: "Andrew Williams"
> To: "Enlightenment developer list"<
> enlightenment-devel@lists.sourceforge.net>;
> Cc:
> Sent: 2016-11-11 (금) 17:31:04
> Subject: Re: [E-devel] Propose a Eina_Path
>
> The name makes sense in a graphical context. Therefore if it can be
> somewhere less general than Eina then it could make sense.
>
> Andy
>
> On Fri, 11 Nov 2016 at 08:00, Gustavo Sverzut Barbieri  >
> wrote:
>
> > Em sexta-feira, 11 de novembro de 2016, Hermet Park  >
> > escreveu:
> >
> > > Hello everyone.
> > >
> > > Currently, I'm trying a prototype - Path Object  using the evas map.
> > > (specifically for a scenario, text on path).
> > > It looks nice if it works on gl backend. (i will share the result
> later)
> > >
> > > But before we talk about path object stuff, I wanna propose a
> Eina_Path.
> > >
> > > After reviewed efl_gfx_shape interface again,
> > > I realized path interface should be moved out from the efl_gfx_shape
> > > interface so that Path Object also utilize the path stuff.
> > >
> > > Curently, efl_gfx_shape has more than path functionalities such as a
> > > stroke,
> > >
> > > I think path stuff can become a more generic function set.
> > > So, I'd like to move the path stuff into Eina.
> > >
> > > If then, path object will be able to utilize the Eina Path and
> > > efl_gfx_shape will do also.
> > >
> > > ie)
> > > Eina_Path *path = eina_path_add();
> > > eina_path_append_move_to(path, xxx);
> > > eina_path_append_line_to(path, xxx);
> > > eina_path_append_xxx (...);
> > >
> > > ...
> > >
> > > efl_gfx_shape_path_set(shape, path);
> > >
> > > also,
> > >
> > > elm_path_object_path_set(obj, path);
> > >
> > > If you agree on this, I will work on this stuff soon.
> > >
> > > Any objections?
> >
> >
> > The name. I started to read this email thinking abou file path. :-)
> >
> > But as for moving it to eina, I don't think it's the right place. Eina
> has
> > no other similar primitive.
> >
> >
> >
> > > 
> > > --
> > > Developer Access Program for Intel Xeon Phi Processors
> > > Access to Intel Xeon Phi processor-based developer platforms.
> > > With one year of Intel Parallel Studio XE.
> > > Training and support from Colfax.
> > > Order your platform today. http://sdm.link/xeonphi
> > > ___
> > > enlightenment-devel mailing list
> > > enlightenment-devel@lists.sourceforge.net 
> > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> > >
> >
> >
> > --
> > Gustavo Sverzut Barbieri
> > --
> > Mobile: +55 (16) 99354-9890
> >
> >
> --
> > Developer Access Program for Intel Xeon Phi Processors
> > Access to Intel Xeon Phi processor-based developer platforms.
> > With one year of Intel Parallel Studio XE.
> > Training and support from Colfax.
> > Order your platform today. http://sdm.link/xeonphi
> > ___
> > enlightenment-devel mailing list
> > enlightenment-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> >
>
> --
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today. http://sdm.link/xeonphi
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
> --
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today. http://sdm.link/xeonphi
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
___
enlightenment-devel mailing list
enlightenment-devel@lists.sour