summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunsuChoi <jsuya.choi@samsung.com>2020-05-12 11:13:27 +0900
committerHermet Park <chuneon.park@samsung.com>2020-05-12 11:13:27 +0900
commit9d9658304993f1fe56c052575875f2619a64e435 (patch)
tree12d03104cfd03c8cc93f70c1cecb20c201730b39
parenta138347c8e410cc495eb422b9778c9bb31dda563 (diff)
evas_vg_node: deprecate evas_vg_node_geometry_set.
Summary: The geometry info of evas_vg_node is based on Efl.Path_Bounds. The size of vg_node does not change unless path data is changed. Therefore, this API does not work normally. Test Plan: N/A Reviewers: Hermet, kimcinoo, herb Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11809
-rw-r--r--src/lib/evas/Evas_Legacy.h3
-rw-r--r--src/lib/evas/canvas/efl_canvas_vg_node.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/evas/Evas_Legacy.h b/src/lib/evas/Evas_Legacy.h
index cb13afdd0f..b8fd3d09ed 100644
--- a/src/lib/evas/Evas_Legacy.h
+++ b/src/lib/evas/Evas_Legacy.h
@@ -3912,8 +3912,9 @@ EAPI void evas_vg_node_geometry_get(Evas_Vg_Node *obj, int *x, int *y, int *w, i
3912 * @param[in] h The h geometry of the given object. 3912 * @param[in] h The h geometry of the given object.
3913 * 3913 *
3914 * @since 1.24 3914 * @since 1.24
3915 * @deprecated
3915 */ 3916 */
3916EAPI void evas_vg_node_geometry_set(Evas_Vg_Node *obj, int x, int y, int w, int h); 3917EAPI void evas_vg_node_geometry_set(Evas_Vg_Node *obj, int x, int y, int w, int h) EINA_DEPRECATED;
3917 3918
3918/** 3919/**
3919 * @brief Stack @p obj immediately below @p below. 3920 * @brief Stack @p obj immediately below @p below.
diff --git a/src/lib/evas/canvas/efl_canvas_vg_node.c b/src/lib/evas/canvas/efl_canvas_vg_node.c
index 8ed04adee6..a076136815 100644
--- a/src/lib/evas/canvas/efl_canvas_vg_node.c
+++ b/src/lib/evas/canvas/efl_canvas_vg_node.c
@@ -737,6 +737,7 @@ evas_vg_node_geometry_get(Evas_Vg_Node *obj, int *x, int *y, int *w, int *h)
737 if (h) *h = r.h; 737 if (h) *h = r.h;
738} 738}
739 739
740/* deprecated */
740EAPI void 741EAPI void
741evas_vg_node_geometry_set(Evas_Vg_Node *obj, int x, int y, int w, int h) 742evas_vg_node_geometry_set(Evas_Vg_Node *obj, int x, int y, int w, int h)
742{ 743{