platform/upstream/efl.git
9 years agoefl: trigger EFL_GFX_CHANGED on path change.
Cedric BAIL [Fri, 3 Apr 2015 14:30:40 +0000 (16:30 +0200)]
efl: trigger EFL_GFX_CHANGED on path change.

9 years agoefl: add a changed event triggered when something affect the visual aspect of an...
Cedric BAIL [Fri, 3 Apr 2015 14:30:39 +0000 (16:30 +0200)]
efl: add a changed event triggered when something affect the visual aspect of an object.

9 years agoevas: add documentation for Evas_Object_Vg class.
Subhransu Sekhar Mohanty [Fri, 3 Apr 2015 14:30:38 +0000 (16:30 +0200)]
evas: add documentation for Evas_Object_Vg class.

9 years agoefl: add documentation for shape and gradient interface.
Subhransu Sekhar Mohanty [Fri, 3 Apr 2015 14:30:37 +0000 (16:30 +0200)]
efl: add documentation for shape and gradient interface.

9 years agoevas: add documentation for Evas_Object_VG
Subhransu Sekhar Mohanty [Fri, 3 Apr 2015 14:30:36 +0000 (16:30 +0200)]
evas: add documentation for Evas_Object_VG

9 years agoefl: add documentation for Efl.Gfx enums.
Subhransu Sekhar Mohanty [Fri, 3 Apr 2015 14:30:35 +0000 (16:30 +0200)]
efl: add documentation for Efl.Gfx enums.

9 years agoefl: move Efl.Gfx.Gradient_* to Efl.Gfx.Gradient.* much nicer for bindings.
Cedric BAIL [Fri, 3 Apr 2015 14:30:35 +0000 (16:30 +0200)]
efl: move Efl.Gfx.Gradient_* to Efl.Gfx.Gradient.* much nicer for bindings.

9 years agoevas: make Evas.VG_Shape use Efl.Gfx.Base.color_part for stroke.
Cedric BAIL [Fri, 3 Apr 2015 14:30:34 +0000 (16:30 +0200)]
evas: make Evas.VG_Shape use Efl.Gfx.Base.color_part for stroke.

9 years agoevas: use Efl.Gfx.Base.color_part in Evas.VG_Node.
Cedric BAIL [Fri, 3 Apr 2015 14:30:33 +0000 (16:30 +0200)]
evas: use Efl.Gfx.Base.color_part in Evas.VG_Node.

9 years agoefl: provide Efl.Gfx.Base.color_part and implement it in top Evas_Object.
Cedric BAIL [Fri, 3 Apr 2015 14:30:32 +0000 (16:30 +0200)]
efl: provide Efl.Gfx.Base.color_part and implement it in top Evas_Object.

9 years agoefl: add path operation to Efl.Gfx.Shape.
Cedric BAIL [Fri, 3 Apr 2015 14:23:28 +0000 (16:23 +0200)]
efl: add path operation to Efl.Gfx.Shape.

9 years agoevas: move Evas.VG to use Efl.Gfx.View.
Cedric BAIL [Fri, 3 Apr 2015 14:23:27 +0000 (16:23 +0200)]
evas: move Evas.VG to use Efl.Gfx.View.

9 years agoefl: add Efl.Gfx.View and use it in Evas.Image.
Cedric BAIL [Fri, 3 Apr 2015 14:23:26 +0000 (16:23 +0200)]
efl: add Efl.Gfx.View and use it in Evas.Image.

9 years agoevas: move Evas.VG to use Efl.Gfx.Fill.
Cedric BAIL [Fri, 3 Apr 2015 14:23:25 +0000 (16:23 +0200)]
evas: move Evas.VG to use Efl.Gfx.Fill.

9 years agoefl: add Efl.Gfx.Fill and migrate Evas.Image to it.
Cedric BAIL [Fri, 3 Apr 2015 14:23:24 +0000 (16:23 +0200)]
efl: add Efl.Gfx.Fill and migrate Evas.Image to it.

9 years agoevas: make Evas.VG_Node inherit from Efl.Gfx.Stack.
Cedric BAIL [Fri, 3 Apr 2015 14:23:23 +0000 (16:23 +0200)]
evas: make Evas.VG_Node inherit from Efl.Gfx.Stack.

9 years agoefl: add Efl.Gfx.Stack interface and update Evas_Object accordingly.
Cedric BAIL [Fri, 3 Apr 2015 14:23:22 +0000 (16:23 +0200)]
efl: add Efl.Gfx.Stack interface and update Evas_Object accordingly.

9 years agoefl: generate headers for the new VG interface in C++ to.
Cedric BAIL [Fri, 3 Apr 2015 14:23:21 +0000 (16:23 +0200)]
efl: generate headers for the new VG interface in C++ to.

9 years agoevas: implement Efl.Gfx.Base in Evas.VG_Node.
Cedric BAIL [Fri, 3 Apr 2015 14:23:20 +0000 (16:23 +0200)]
evas: implement Efl.Gfx.Base in Evas.VG_Node.

9 years agoefl: rename visibility to visible.
Cedric BAIL [Fri, 3 Apr 2015 14:23:19 +0000 (16:23 +0200)]
efl: rename visibility to visible.

After discussion bindings and people in general prefer visible.

T2035

9 years agoecore_evas: fix with new naming.
Cedric BAIL [Fri, 3 Apr 2015 14:23:18 +0000 (16:23 +0200)]
ecore_evas: fix with new naming.

9 years agoefl: add Efl.Gfx.Base and fix inheritance for Evas_Object.
Cedric BAIL [Fri, 3 Apr 2015 14:23:17 +0000 (16:23 +0200)]
efl: add Efl.Gfx.Base and fix inheritance for Evas_Object.

9 years agoefl: rename namespace Graphics to Gfx.
Cedric BAIL [Fri, 3 Apr 2015 14:23:16 +0000 (16:23 +0200)]
efl: rename namespace Graphics to Gfx.

9 years agoefl: add a parser for SVG data path that generate EFL Path.
Cedric BAIL [Fri, 3 Apr 2015 14:23:15 +0000 (16:23 +0200)]
efl: add a parser for SVG data path that generate EFL Path.

9 years agoevas: use the new Efl_File mmap function correctly for Evas_VG API.
Cedric BAIL [Fri, 3 Apr 2015 14:23:14 +0000 (16:23 +0200)]
evas: use the new Efl_File mmap function correctly for Evas_VG API.

9 years agoefl: move mmap API to be part of Efl_File class.
Cedric BAIL [Fri, 3 Apr 2015 14:23:13 +0000 (16:23 +0200)]
efl: move mmap API to be part of Efl_File class.

9 years agoevas: fix warning due to forgotten return.
Cedric BAIL [Fri, 3 Apr 2015 14:23:12 +0000 (16:23 +0200)]
evas: fix warning due to forgotten return.

9 years agoefl: make path a property actually.
Cedric BAIL [Fri, 3 Apr 2015 14:23:10 +0000 (16:23 +0200)]
efl: make path a property actually.

9 years agoevas: handle setting sub VG object to NULL.
Cedric BAIL [Fri, 3 Apr 2015 14:23:09 +0000 (16:23 +0200)]
evas: handle setting sub VG object to NULL.

9 years agoefl : fix append circle api in efl_graphics_utils
Subhransu Sekhar Mohanty [Fri, 3 Apr 2015 14:23:08 +0000 (16:23 +0200)]
efl : fix append circle api in efl_graphics_utils

9 years agoefl: simplify the enum to only use Cubic Bezier curve.
Cedric BAIL [Fri, 3 Apr 2015 14:23:07 +0000 (16:23 +0200)]
efl: simplify the enum to only use Cubic Bezier curve.

So SVG support all kind of primitive, but really they are just sugar
on top of the simpler cubic bezier curve. Let's simplify our backend
by just supporting them and the simple line. We still provide all
the sugar, but via helper function that do convert to the right
number of Bezier curve.

9 years agoevas: actually return the right type and fix warnings.
Cedric BAIL [Fri, 3 Apr 2015 14:23:06 +0000 (16:23 +0200)]
evas: actually return the right type and fix warnings.

9 years agoefl: fix typos that emitted the wrong PATH type.
Cedric BAIL [Fri, 3 Apr 2015 14:23:05 +0000 (16:23 +0200)]
efl: fix typos that emitted the wrong PATH type.

9 years agoevas: actually we want the Ector_Renderer, not the Evas_VG_Node.
Cedric BAIL [Fri, 3 Apr 2015 14:23:04 +0000 (16:23 +0200)]
evas: actually we want the Ector_Renderer, not the Evas_VG_Node.

9 years agoevas: properly propagate Eina_Matrix from the VG scene graph to the Ector_Renderer.
Cedric BAIL [Fri, 3 Apr 2015 14:23:03 +0000 (16:23 +0200)]
evas: properly propagate Eina_Matrix from the VG scene graph to the Ector_Renderer.

9 years agoefl: add efl_graphics_path_interpolate and efl_graphics_path_equal_commands.
Cedric BAIL [Fri, 3 Apr 2015 14:23:01 +0000 (16:23 +0200)]
efl: add efl_graphics_path_interpolate and efl_graphics_path_equal_commands.

This function will be handy to implement path interpolation in Edje later on. This
would be usable by Edje if we do push an Evas_Object_Shape. Not really difficult to
add at this stage.

9 years agoevas: start correctly implementing the render callback.
Cedric BAIL [Fri, 3 Apr 2015 14:23:00 +0000 (16:23 +0200)]
evas: start correctly implementing the render callback.

9 years agoecore_evas_svg: actually make the Evas_Object_VG visible.
Cedric BAIL [Fri, 3 Apr 2015 14:22:59 +0000 (16:22 +0200)]
ecore_evas_svg: actually make the Evas_Object_VG visible.

9 years agoevas: start properly implementing render_pre for Evas_VG_Node.
Cedric BAIL [Fri, 3 Apr 2015 14:22:58 +0000 (16:22 +0200)]
evas: start properly implementing render_pre for Evas_VG_Node.

9 years agoevas: those function should have been static.
Cedric BAIL [Fri, 3 Apr 2015 14:22:57 +0000 (16:22 +0200)]
evas: those function should have been static.

9 years agoevas: remove printf.
Cedric BAIL [Fri, 3 Apr 2015 14:22:56 +0000 (16:22 +0200)]
evas: remove printf.

9 years agoevas: cleanup parent handling of Evas_VG_Node.
Cedric BAIL [Fri, 3 Apr 2015 14:22:54 +0000 (16:22 +0200)]
evas: cleanup parent handling of Evas_VG_Node.

9 years agoevas: NULL is always needed as during destruction parent is set to NULL.
Cedric BAIL [Fri, 3 Apr 2015 14:22:53 +0000 (16:22 +0200)]
evas: NULL is always needed as during destruction parent is set to NULL.

9 years agoevas: add fill and size definition for a VG scene graph.
Cedric BAIL [Fri, 3 Apr 2015 14:22:51 +0000 (16:22 +0200)]
evas: add fill and size definition for a VG scene graph.

9 years agoevas: fix copy and paste mistake.
Cedric BAIL [Fri, 3 Apr 2015 14:22:50 +0000 (16:22 +0200)]
evas: fix copy and paste mistake.

9 years agoevas: fix typos in Evas_VG_Root_Node.
Cedric BAIL [Fri, 3 Apr 2015 14:22:38 +0000 (16:22 +0200)]
evas: fix typos in Evas_VG_Root_Node.

9 years agoevas: Evas_Object_VG should always create a root node.
Cedric BAIL [Fri, 3 Apr 2015 14:22:37 +0000 (16:22 +0200)]
evas: Evas_Object_VG should always create a root node.

9 years agoeina: add eina_simple_xml_attribute_w3c_parse to parse attribute value.
Cedric BAIL [Fri, 3 Apr 2015 14:22:29 +0000 (16:22 +0200)]
eina: add eina_simple_xml_attribute_w3c_parse to parse attribute value.

9 years agoevas: fix examples dependencies as they don't use the rest of the infra to discover it.
Cedric BAIL [Fri, 3 Apr 2015 14:22:27 +0000 (16:22 +0200)]
evas: fix examples dependencies as they don't use the rest of the infra to discover it.

9 years agoevas: also allow Evas_VG and NULL as parent.
Cedric BAIL [Fri, 3 Apr 2015 14:22:26 +0000 (16:22 +0200)]
evas: also allow Evas_VG and NULL as parent.

I have yet to be sure of the Evas_VG one.

9 years agoecore_evas: fix little typo.
Cedric BAIL [Fri, 3 Apr 2015 14:22:25 +0000 (16:22 +0200)]
ecore_evas: fix little typo.

9 years agoector: reorder compilation to first do Ector then Evas.
Cedric BAIL [Fri, 3 Apr 2015 14:22:24 +0000 (16:22 +0200)]
ector: reorder compilation to first do Ector then Evas.

9 years agoevas: add file manipulation API to Evas_Object_VG.
Cedric BAIL [Fri, 3 Apr 2015 14:22:22 +0000 (16:22 +0200)]
evas: add file manipulation API to Evas_Object_VG.

9 years agoecore_evas: add a SVG vector dislay/converter tool.
Cedric BAIL [Fri, 3 Apr 2015 14:22:20 +0000 (16:22 +0200)]
ecore_evas: add a SVG vector dislay/converter tool.

9 years agoevas: first implementation of an ector drawer inside Evas software engine.
Cedric BAIL [Fri, 3 Apr 2015 14:22:18 +0000 (16:22 +0200)]
evas: first implementation of an ector drawer inside Evas software engine.

Note: this won't work with the OpenGL backend.

9 years agoector: handle color multiplier in the function declaration.
Cedric BAIL [Fri, 3 Apr 2015 14:22:16 +0000 (16:22 +0200)]
ector: handle color multiplier in the function declaration.

9 years agoector: reorder macro for easier reuse.
Cedric BAIL [Fri, 3 Apr 2015 14:22:15 +0000 (16:22 +0200)]
ector: reorder macro for easier reuse.

9 years agoector: prepare doesn't need surface, as it should always be the parent.
Cedric BAIL [Fri, 3 Apr 2015 14:22:14 +0000 (16:22 +0200)]
ector: prepare doesn't need surface, as it should always be the parent.

9 years agoefl: fix some whitespace.
Cedric BAIL [Fri, 3 Apr 2015 14:22:12 +0000 (16:22 +0200)]
efl: fix some whitespace.

9 years agoector: first implementation of an Cairo shape renderer.
Cedric BAIL [Fri, 3 Apr 2015 14:22:11 +0000 (16:22 +0200)]
ector: first implementation of an Cairo shape renderer.

Note: still a lot on the todo, but it should display something that follow
the correct path at least. Thanks librsvg for helping a lot.

9 years agoector: remove surface from draw command as it should be drawn on the parent, always !
Cedric BAIL [Fri, 3 Apr 2015 14:22:10 +0000 (16:22 +0200)]
ector: remove surface from draw command as it should be drawn on the parent, always !

9 years agoector: start implementing radial gradient in cairo backend.
Cedric BAIL [Fri, 3 Apr 2015 14:22:08 +0000 (16:22 +0200)]
ector: start implementing radial gradient in cairo backend.

9 years agoector: fix cairo linear gradient implementation.
Cedric BAIL [Fri, 3 Apr 2015 14:22:07 +0000 (16:22 +0200)]
ector: fix cairo linear gradient implementation.

9 years agoeo_cxx: fix after change in internal function naming of Eo.
Cedric BAIL [Fri, 3 Apr 2015 14:22:06 +0000 (16:22 +0200)]
eo_cxx: fix after change in internal function naming of Eo.

9 years agoector: now import header of all cairo renderer.
Cedric BAIL [Fri, 3 Apr 2015 14:22:04 +0000 (16:22 +0200)]
ector: now import header of all cairo renderer.

9 years agoector: cairo need a specialized fill function.
Cedric BAIL [Fri, 3 Apr 2015 14:22:03 +0000 (16:22 +0200)]
ector: cairo need a specialized fill function.

9 years agoector: first try at implementing linear gradient renderer.
Cedric BAIL [Fri, 3 Apr 2015 14:22:02 +0000 (16:22 +0200)]
ector: first try at implementing linear gradient renderer.

9 years agoector: first implementation of a Cairo surface.
Cedric BAIL [Fri, 3 Apr 2015 14:22:01 +0000 (16:22 +0200)]
ector: first implementation of a Cairo surface.

9 years agoector: add a base interface for all cairo renderer.
Cedric BAIL [Fri, 3 Apr 2015 14:22:00 +0000 (16:22 +0200)]
ector: add a base interface for all cairo renderer.

9 years agoector: fix building of the generic backend.
Cedric BAIL [Fri, 3 Apr 2015 14:21:59 +0000 (16:21 +0200)]
ector: fix building of the generic backend.

9 years agoector: fix building of cairo backend.
Cedric BAIL [Fri, 3 Apr 2015 14:21:58 +0000 (16:21 +0200)]
ector: fix building of cairo backend.

9 years agoector: move dependency around. Evas now depend on Ector.
Cedric BAIL [Fri, 3 Apr 2015 14:21:57 +0000 (16:21 +0200)]
ector: move dependency around. Evas now depend on Ector.

9 years agoector: and here come the beginning of a Cairo backend.
Cedric BAIL [Fri, 3 Apr 2015 14:21:56 +0000 (16:21 +0200)]
ector: and here come the beginning of a Cairo backend.

The idea is that Evas engine will actually inherit from it to instanciate their
own Cairo backend (Software and GL) from there.

9 years agoector: add beginning of a cairo implementation.
Cedric BAIL [Fri, 3 Apr 2015 14:21:54 +0000 (16:21 +0200)]
ector: add beginning of a cairo implementation.

9 years agoector: all those function needs to be static.
Cedric BAIL [Fri, 3 Apr 2015 14:21:53 +0000 (16:21 +0200)]
ector: all those function needs to be static.

9 years agoector: share base type structure to the rest of ecore_private.h.
Cedric BAIL [Fri, 3 Apr 2015 14:21:52 +0000 (16:21 +0200)]
ector: share base type structure to the rest of ecore_private.h.

9 years agoector: duplicate PATH could be useful.
Cedric BAIL [Fri, 3 Apr 2015 14:21:50 +0000 (16:21 +0200)]
ector: duplicate PATH could be useful.

9 years agoector: add stop implementation.
Cedric BAIL [Fri, 3 Apr 2015 14:21:49 +0000 (16:21 +0200)]
ector: add stop implementation.

9 years agoefl: move PATH manipulation from Evas into Efl interfaces.
Cedric BAIL [Fri, 3 Apr 2015 14:21:48 +0000 (16:21 +0200)]
efl: move PATH manipulation from Evas into Efl interfaces.

9 years agoector: start the implementation of a Cairo backend.
Cedric BAIL [Fri, 3 Apr 2015 14:19:11 +0000 (16:19 +0200)]
ector: start the implementation of a Cairo backend.

9 years agoector: start the implementation of the Generic surface.
Cedric BAIL [Fri, 3 Apr 2015 14:18:30 +0000 (16:18 +0200)]
ector: start the implementation of the Generic surface.

9 years agoector: make the drawing function virtual as it rely on the backend implementation.
Cedric BAIL [Fri, 3 Apr 2015 14:15:43 +0000 (16:15 +0200)]
ector: make the drawing function virtual as it rely on the backend implementation.

9 years agoector: move all interface to be in the Generic namespace.
Cedric BAIL [Fri, 3 Apr 2015 14:15:41 +0000 (16:15 +0200)]
ector: move all interface to be in the Generic namespace.

This will enable the possibility to have many implementation for the
backend. Will come first Cairo, followed by Software and GL one day.

9 years agoevas: make the interface part of the Generic name space.
Cedric BAIL [Fri, 3 Apr 2015 14:15:40 +0000 (16:15 +0200)]
evas: make the interface part of the Generic name space.

This should enable having multiple backend that will use another namespace instead
of Generic.

9 years agoector: add linear and radial gradial renderer to Ector.
Cedric BAIL [Fri, 3 Apr 2015 14:15:39 +0000 (16:15 +0200)]
ector: add linear and radial gradial renderer to Ector.

9 years agoefl: introduce an Efl Gradient Radial interface.
Cedric BAIL [Fri, 3 Apr 2015 14:15:37 +0000 (16:15 +0200)]
efl: introduce an Efl Gradient Radial interface.

9 years agoefl: add a linear gradient interface.
Cedric BAIL [Fri, 3 Apr 2015 14:15:36 +0000 (16:15 +0200)]
efl: add a linear gradient interface.

9 years agoector: add top gradient renderer.
Cedric BAIL [Fri, 3 Apr 2015 14:15:04 +0000 (16:15 +0200)]
ector: add top gradient renderer.

9 years agoefl: add a gradient interface.
Cedric BAIL [Fri, 3 Apr 2015 14:15:03 +0000 (16:15 +0200)]
efl: add a gradient interface.

9 years agoefl: rename geometry to graphics to be more general.
Cedric BAIL [Fri, 3 Apr 2015 14:15:02 +0000 (16:15 +0200)]
efl: rename geometry to graphics to be more general.

9 years agoector: add initial interface for a shape object.
Cedric BAIL [Fri, 3 Apr 2015 14:15:00 +0000 (16:15 +0200)]
ector: add initial interface for a shape object.

9 years agoautotools: add ector in the list of Eolian file provider.
Cedric BAIL [Fri, 3 Apr 2015 14:14:59 +0000 (16:14 +0200)]
autotools: add ector in the list of Eolian file provider.

9 years agoector: add initial interface for Surface and Renderer.
Cedric BAIL [Fri, 3 Apr 2015 14:14:58 +0000 (16:14 +0200)]
ector: add initial interface for Surface and Renderer.

9 years agoector: initial introduction.
Cedric BAIL [Fri, 3 Apr 2015 14:14:56 +0000 (16:14 +0200)]
ector: initial introduction.

Idea for this library is to become a retained mode drawing library that use
Eo/Eolian for its API and take a lot of the good design from Enesim by
Jorge Zapata and Jose Gonzalez (http://enesim.org/).

9 years agoefl: use Efl_Geometry_Shape.
Cedric BAIL [Fri, 3 Apr 2015 14:14:55 +0000 (16:14 +0200)]
efl: use Efl_Geometry_Shape.

9 years agoefl: add an interface for Efl_Geometry_Shape.
Cedric BAIL [Fri, 3 Apr 2015 14:14:54 +0000 (16:14 +0200)]
efl: add an interface for Efl_Geometry_Shape.

9 years agoevas: fix Evas_VG eo files.
Cedric BAIL [Fri, 3 Apr 2015 14:14:52 +0000 (16:14 +0200)]
evas: fix Evas_VG eo files.

9 years agoevas: implement all Evas_VG_Shape property.
Cedric BAIL [Fri, 3 Apr 2015 14:14:51 +0000 (16:14 +0200)]
evas: implement all Evas_VG_Shape property.

9 years agoevas: actually compile Evas_VG_Shape.
Cedric BAIL [Fri, 3 Apr 2015 14:14:50 +0000 (16:14 +0200)]
evas: actually compile Evas_VG_Shape.

9 years agoevas: move Evas_VG_Node structure declaration into a shared header to use it directly...
Cedric BAIL [Fri, 3 Apr 2015 14:14:48 +0000 (16:14 +0200)]
evas: move Evas_VG_Node structure declaration into a shared header to use it directly from Evas_VG.