On Mon, Nov 14, 2016 at 3:20 AM, Hermet Park <her...@hermet.pe.kr> wrote: > Eina_Rectangle => A data structure. > Evas_Rectangle => A drawing primitive. > > Sorry, but I thought rect is a bit digressed to this topic. > > I'm not a negative even though path is not going in Eina. > > But let's consider more realitic position. > > I think path is unlike to an interface but it's more to be an individual data > set. > > And efl_gfx_shape is likely to depend on this. > > If you agree that it could be an interface, then efl_gfx_path may be also > fine.
I think I can see use case for an efl_gfx_path and have efl_gfx_shape inherit from it. Could be useful to define a path for example for the icon size while mimicking engage effect. > but not in ector/evas because efl interface is lower than them. Especially because both ector/evas and even elementary need to be able to see that interface. So it makes sense in efl_gfx interface namespace. Cedric > -----Original Message----- > From: "Andrew Williams"<a...@andywilliams.me> > To: "Enlightenment developer list"<enlightenment-devel@lists.sourceforge.net>; > Cc: > Sent: 2016-11-14 (월) 17:51:31 > Subject: Re: [E-devel] FW: FW: FW: Propose a Eina_Path > > I think that even if a shape is not going to be rendered it is still a > graphical concept. > In most frameworks I can find it is in a graphics, geometry or gui > namespace. > > Eina is already becoming ambiguous in its purpose and adding shapes in > there seems confusing. > > Is it just me who is confused that Eina_Rectangle and Evas_Rect both exist? > > Andy > On Mon, 14 Nov 2016 at 02:16, Hermet Park <her...@hermet.pe.kr> wrote: > >> elm_path well.. it's not a concreted idea yet, but we may provide that >> kind of feasible object like a elm_flip for an arbitrary shaped objects. >> >> I don't know about elm_chart but guess it does not have a simliar concept >> with path object. >> Because the traditional charts have been designed for a sort of vector >> wise graphical drawing like lines, bars and *pizza* pies etc. >> but this path is majorly designed for binding our graphcial objects onto >> an arbitrary path. >> >> See the next some screenshots. >> >> https://phab.enlightenment.org/F48119 >> https://phab.enlightenment.org/F48120 >> https://phab.enlightenment.org/F48121 >> https://phab.enlightenment.org/F48122 >> >> If you have more than the chart idea than I expected then please share it >> to us. >> >> Also, I don't see extending efl_gfx_shape is not the answer here. >> If path object is introduced in elm, path won't need all shape stuff. >> Even some usage may just require only path data without graphical drawing. >> So rather than that, modulization(divide path) should be considerd for >> shape now. >> >> Honestly, I'm not quite sure which place is the best for the path >> interface but at least Eina for now. >> Even necessary of path eo binding. of course, path naming could be >> considered in case of Eina. >> >> >> -----Original Message----- >> From: "Cedric BAIL"<cedric.b...@free.fr> >> To: "e-devel"<enlightenment-devel@lists.sourceforge.net>; >> Cc: >> Sent: 2016-11-12 (토) 01:41:58 >> Subject: Re: [E-devel] FW: FW: Propose a Eina_Path >> >> On Nov 11, 2016 04:39, "Andrew Williams" <a...@andywilliams.me> wrote: >> > >> > It strange that eina defines a rectangle and no other shapes - is that >> even >> > used outside a graphical context? >> >> >> Eina started as a simple toolset and got a lot of stuff that was just >> refactoring of our stack. We have a tiler and rectangle along with matrix, >> just from the top of my head. I clearly see the need for having a path >> primitive, the question is where and under what name. It would be fine in >> eina, if not for the name that is confusing. It would be fine in Ector, if >> not for Ector depending on efl_gfx_shape. Thinking of it, for binding, we >> want this API to be in Eo. So why not extending efl_gfx_shape to provide >> what it is missing and have elementary use it. >> >> >> Added question what is the goal of elm_path object ? I am personnally >> looking forward to an elm_chart object a lot more. >> >> >> Best, >> >> Cedric >> >> >> > A >> > On Fri, 11 Nov 2016 at 11:17, Hermet Park <her...@hermet.pe.kr> wrote: >> > >> > > 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 >> > > >> > ------------------------------------------------------------ >> ------------------ >> > 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 -- Cedric BAIL ------------------------------------------------------------------------------ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel