Thanks for your advice. But imo, it's unlike to graphical one such as evas_rect and evas_line... Path itself is more likely to the eina_rect... Because path itself is just data information. Also, efl_gfx_shape should rely on it.
-----Original Message----- From: "Andrew Williams"<a...@andywilliams.me> To: "Enlightenment developer list"<enlightenment-devel@lists.sourceforge.net>; Cc: Sent: 2016-11-11 (금) 20:07:44 Subject: Re: [E-devel] FW: Propose a Eina_Path Alongside Evas_Rect and Evas_Line? On Fri, 11 Nov 2016 at 08:59, Hermet Park <her...@hermet.pe.kr> 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"<a...@andywilliams.me> > 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 <barbi...@gmail.com > > > wrote: > > > Em sexta-feira, 11 de novembro de 2016, Hermet Park <her...@hermet.pe.kr > > > > 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 <javascript:;> > > > 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.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