summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_vg_container.c (follow)
AgeCommit message (Collapse)Author
2018-11-23evas vg: rename evas_vg prefix to efl_canvas for consistency.Hermet Park
2018-11-14evas vg: optimize gradient sequences.Hermet Park
Summary: 1. Pointed out gradient prepare step triggered duplicatedly, because they are immediate children of container. But gradients is desigend to fill shape, shape could get ready of the gradients which are applied to. So, container doesn't need to prepare gradient children. 2. Ector shape does prepare its gradient renderer in it's prepare time, each gradients objects doesn't need to prepare renderer separately. Here code skip duplication of sequences of gradients preparation step. by cleaning up logic. Reviewers: #committers Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7269
2018-06-19evas vg: add warning msgs for users.Hermet Park
Since usage has been changed under the beta version, Some users may keep the old-usage that breaks the vg behavior now. For their information, vg prints messages in case of breaks.
2018-06-14evas vg: fix broken morphing(interpolation)Hermet Park
efl_gfx_path itself took care of efl_gfx_shape data but its heirarchy was conceptually wrong. Even efl_gfx_shape is mixing the efl_gfx_path... Damend design... Some of derived classes of efl_gfx_path (i.e. Vg.Node and Vg.Container) are none of the Path acutally. They are just mixing Path's interpolation interface. So, Here patch changes VG.Node to stop calling the super's interpolate method and Vg.Shape to call both super -gfx_shape and vg_node- interpolate method. @fix T6996
2018-06-12evas vg: clean up all the duplicated children by container properly.Hermet Park
So, here is the first-aid, but the last patch for recovering basic vector rendering. All vg nodes duplicated by container would be constructed without a parent, they need to get unref() by container when container is freed. Here code takes deal with it on the invalidation time.
2018-06-11evas vg: fix broken vg rendering.Hermet Park
This fixes vg to connect node tree properly on copying nodes. Vector rendering was broken when vg cache tries to reconstruct the scene-graph tree on copying from the original cached one. Exactly, nodes lost parents on copying. Here it fixes the lost links of the scene-graph tree. @fix T6993
2018-04-24Efl.Canvas.Vg.Object (from Efl.Canvas.Vg)Xavi Artigas
Also, Efl.Canvas.Vg.* (from Efl.Canvas.VG.*) Ref https://phab.enlightenment.org/T6847 Reviewed-by: Cedric Bail <cedric@osg.samsung.com>
2018-04-17eolian gen: enable constness generation on property getter implsDaniel Kolesa
This changes a lot of things all across the EFL. Previously, methods tagged @const had both their external prototype and internal impl generated with const on object, while property getters only had const on the external API. This is now changed and it all has const everywhere. Ref T6859.
2018-02-21efl_vg: namespace movesMike Blumenkrantz
efl.vg -> efl.canvas.vg.node efl.vg.* -> efl.canvas.vg.* ref T6714
2018-02-12evas_vg: implement interpolate from Efl.Gfx.PathMike Blumenkrantz
2018-02-12interfaces: merge all bounds_get methods into efl.gfx.pathMike Blumenkrantz
ref 884fc35160152712decdf7fd43082ef3912c0856
2017-12-11interface: rename Efl.Dup to Efl.Duplicate.Amitesh Singh
dup is considered too short and maybe confusing, hence rename it to duplicate instead.
2017-11-30efl: Introduce interface Efl.DupJean-Philippe Andre
A few classes allow their objects to be duplicated, so they should all use the same interface. Also, rename VG's dup to copy_from as it's not conforming to the definition of dup.
2017-11-08evas/vg: changed the efl_vg_dup api signature.subhransu mohanty
Reviewers: jpeg, cedric Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5440
2017-09-18efl: Introduce Eina.Rect and switch EO APIs to itJean-Philippe Andre
It's a complex struct but defined in EO as a simple struct. ABI-wise it's equivalent to Eina_Rectangle. Some macros that use Eina_Rectangle also work on Eina_Rect out of the box, most of the code dealing with x,y,w,h will require no modifications either. But Eina_Rect provides direct access to a size or position 2d component, as well as the usual x,y,w,h. The field "rect" is provided as a convenience for code dealing with both Eina_Rectangle and Eina_Rect. We may or may not require it. Note: Size2D could use unsigned values but I have spotted a few places in the code that actually use -1 to indicate invalid size (as opposed to 0x0). @feature
2016-09-05Rename efl_self to efl_addedTom Hacohen
It has been discussed on the ML (thread: "[RFC] rename efl_self") and IRC, and has been decided we should rename it to this in order to avoid confusion with the already established meaning of self which is very similar to what we were using it for, but didn't have complete overlap. Kudos to Marcel Hollerbach for initiating the discussion and fighting for it until he convinced a significant mass. :) This commit breaks API, and depending on compiler potentially ABI. @feature
2016-08-15Eo: Finish the renaming of Eo to the EFL.Tom Hacohen
This renames all the rest of the API to the EFL namespace except for Eo_Event that will follow soon. Obviously breaks both API and ABI.
2016-08-11Change the EFL to follow the new Eo rename.Tom Hacohen
2016-06-23canvas/vg: fix the reference issue in evas_vg objects.Subhransu Mohanty
Reviewers: jpeg, cedric Reviewed By: cedric Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4079 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-05-19evas: propagate the change to child when object is a vector graphic containerSubhransu Mohanty
Summary: let me know whats your thought Reviewers: Hermet, cedric Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D3893 Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
2016-05-19evas: changed the interpolate() implementaionSubhransu Mohanty
Reviewers: Hermet, cedric Reviewed By: cedric Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D3960 Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
2016-05-11Efl vg: Remove the no longer needed .Base hack.Tom Hacohen
2016-03-15Change the EFL according to the renaming of the eo_add() current object.Tom Hacohen
2016-03-11Revert "Automatic migration to the new eo_add syntax."Tom Hacohen
This reverts commit 4f949a2757b6332306264d7f126b15ba7bfd37d4.
2016-03-09Automatic migration to the new eo_add syntax.Tom Hacohen
2016-03-03Automatic migration to Eo4.Tom Hacohen
I just ran my script (email to follow) to migrate all of the EFL automatically. This commit is *only* the automatic conversion, so it can be easily reverted and re-run.
2015-12-15Evas VG: Fix clang warningJean-Philippe Andre
2015-08-21evas: add logic to duplicate recursively an Efl_VG_Node tree.Cedric BAIL
2015-08-21evas: add support for interpolating Efl_VG_Node tree.Cedric BAIL
2015-08-21evas: add an unique name for each Efl.VG.Base object and make it possible to ↵Cedric BAIL
find it from parent.
2015-05-20Eo: Add a return value to eo_constructor().Tom Hacohen
From now on, constructors should return a value, usually the object being worked on, or NULL (if the constructor failed). This can also be used for implementing singletons, by just always returning the same object from the constructor. This is one of the final steps towards stabilizing Eo. @feature
2015-04-03evas: align naming with ector, use bounds.Cedric BAIL
2015-04-03evas: add missing boung_get and above/below get.Cedric BAIL
2015-04-03evas: add legacy api for creating vg_shape and vg_container object.Subhransu Sekhar Mohanty
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-03evas: move Evas.VG_* to Efl.VG.*Cedric BAIL
This also introduce legacy API for all of them.
2015-04-03efl: introduce EFL_GFX_CHANGED event and properly propagate up to Evas.Cedric BAIL
2015-04-03evas: properly propagate Eina_Matrix from the VG scene graph to the ↵Cedric BAIL
Ector_Renderer.
2015-04-03evas: start properly implementing render_pre for Evas_VG_Node.Cedric BAIL
2015-04-03evas: those function should have been static.Cedric BAIL
2015-04-03evas: implement stupid bound get at container level.Cedric BAIL
2015-04-03evas: remove unecessary duplicated code.Cedric BAIL
2015-04-03evas: add initial Evas_Object_VG.Cedric BAIL
Evas_Object_VG is meant to become an object that can hold a SVG scenegraph inside of it.