summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/efl_canvas_vg_object_eo.legacy.h
diff options
context:
space:
mode:
authorJunsuChoi <jsuya.choi@samsung.com>2019-08-28 14:09:13 +0900
committerHermet Park <hermetpark@gmail.com>2019-08-28 14:09:13 +0900
commitce62dbc1c0635e1c2a1c98c38f6592bb76cb0a1b (patch)
treecf8ec63f430f6ba2f68ff07700039536f098a4e6 /src/lib/evas/canvas/efl_canvas_vg_object_eo.legacy.h
parentd7d9ed856f93458badb8114f56650dfc257b4487 (diff)
efl_canvas_vg_object/evas_object_vg: Change to legacy naming rule.
Summary: Enum and object decleared in efl_canvas_vg_object_eo.legacy.* use Efl_Canvas_Vg_* nameing rule. This skips the definition of type declared in Efl.Canvas.Vg.Object class. So change these to legacy names. Test Plan: N/A Reviewers: Hermet, smohanty, kimcinoo Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9718
Diffstat (limited to 'src/lib/evas/canvas/efl_canvas_vg_object_eo.legacy.h')
-rw-r--r--src/lib/evas/canvas/efl_canvas_vg_object_eo.legacy.h43
1 files changed, 18 insertions, 25 deletions
diff --git a/src/lib/evas/canvas/efl_canvas_vg_object_eo.legacy.h b/src/lib/evas/canvas/efl_canvas_vg_object_eo.legacy.h
index 2b7e96b52d..02aa449bec 100644
--- a/src/lib/evas/canvas/efl_canvas_vg_object_eo.legacy.h
+++ b/src/lib/evas/canvas/efl_canvas_vg_object_eo.legacy.h
@@ -1,40 +1,33 @@
1#ifndef _EFL_CANVAS_VG_OBJECT_EO_LEGACY_H_ 1#ifndef _EVAS_OBJECT_VG_EO_LEGACY_H_
2#define _EFL_CANVAS_VG_OBJECT_EO_LEGACY_H_ 2#define _EVAS_OBJECT_VG_EO_LEGACY_H_
3 3
4#ifndef _EFL_CANVAS_VG_OBJECT_EO_CLASS_TYPE 4#ifndef _EVAS_OBJECT_VG_EO_LEGACY_TYPES
5#define _EFL_CANVAS_VG_OBJECT_EO_CLASS_TYPE 5#define _EVAS_OBJECT_VG_EO_LEGACY_TYPES
6
7typedef Eo Efl_Canvas_Vg_Object;
8
9#endif
10
11#ifndef _EFL_CANVAS_VG_OBJECT_EO_TYPES
12#define _EFL_CANVAS_VG_OBJECT_EO_TYPES
13 6
14/** Enumeration that defines how viewbox will be filled int the vg canvs's 7/** Enumeration that defines how viewbox will be filled int the vg canvs's
15 * viewport. default Fill_Mode is @c none 8 * viewport. default Fill_Mode is @c none
16 * 9 *
17 * @ingroup Efl_Canvas_Vg 10 * @ingroup Evas_Object_Vg_Group
18 */ 11 */
19typedef enum 12typedef enum
20{ 13{
21 EFL_CANVAS_VG_FILL_MODE_NONE = 0, /**< Don't scale the viewbox. Placed it 14 EVAS_OBJECT_VG_FILL_MODE_NONE = 0, /**< Don't scale the viewbox. Placed it
22 * inside viewport taking align property 15 * inside viewport taking align property
23 * into account */ 16 * into account */
24 EFL_CANVAS_VG_FILL_MODE_STRETCH, /**< Scale the viewbox so that it matches the 17 EVAS_OBJECT_VG_FILL_MODE_STRETCH, /**< Scale the viewbox so that it matches the
25 * canvas viewport. Aaspect ratio might be 18 * canvas viewport. Aaspect ratio might be
26 * changed. */ 19 * changed. */
27 EFL_CANVAS_VG_FILL_MODE_MEET, /**< Scale the viewbox so that it fits inside 20 EVAS_OBJECT_VG_FILL_MODE_MEET, /**< Scale the viewbox so that it fits inside
28 * canvas viewport while maintaining the aspect 21 * canvas viewport while maintaining the aspect
29 * ratio. At least one of the dimensions of the 22 * ratio. At least one of the dimensions of the
30 * viewbox should be equal to the corresponding 23 * viewbox should be equal to the corresponding
31 * dimension of the viewport. */ 24 * dimension of the viewport. */
32 EFL_CANVAS_VG_FILL_MODE_SLICE /**< Scale the viewbox so that it covers the 25 EVAS_OBJECT_VG_FILL_MODE_SLICE /**< Scale the viewbox so that it covers the
33 * entire canvas viewport while maintaining the 26 * entire canvas viewport while maintaining the
34 * aspect ratio. At least one of the dimensions 27 * aspect ratio. At least one of the dimensions
35 * of the viewbox should be equal to the 28 * of the viewbox should be equal to the
36 * corresponding dimension of the viewport. */ 29 * corresponding dimension of the viewport. */
37} Efl_Canvas_Vg_Fill_Mode; 30} Evas_Object_Vg_Fill_Mode;
38 31
39 32
40#endif 33#endif
@@ -47,7 +40,7 @@ typedef enum
47 * 40 *
48 * @ingroup Evas_Object_Vg_Group 41 * @ingroup Evas_Object_Vg_Group
49 */ 42 */
50EAPI void evas_object_vg_fill_mode_set(Efl_Canvas_Vg_Object *obj, Efl_Canvas_Vg_Fill_Mode fill_mode); 43EAPI void evas_object_vg_fill_mode_set(Efl_VG *obj, Evas_Object_Vg_Fill_Mode fill_mode);
51 44
52/** 45/**
53 * @brief Control how the viewbox is mapped to the vg canvas's viewport. 46 * @brief Control how the viewbox is mapped to the vg canvas's viewport.
@@ -58,7 +51,7 @@ EAPI void evas_object_vg_fill_mode_set(Efl_Canvas_Vg_Object *obj, Efl_Canvas_Vg_
58 * 51 *
59 * @ingroup Evas_Object_Vg_Group 52 * @ingroup Evas_Object_Vg_Group
60 */ 53 */
61EAPI Efl_Canvas_Vg_Fill_Mode evas_object_vg_fill_mode_get(const Efl_Canvas_Vg_Object *obj); 54EAPI Evas_Object_Vg_Fill_Mode evas_object_vg_fill_mode_get(const Efl_VG *obj);
62 55
63/** 56/**
64 * @brief Sets the viewbox for the evas vg canvas. viewbox if set should be 57 * @brief Sets the viewbox for the evas vg canvas. viewbox if set should be
@@ -69,7 +62,7 @@ EAPI Efl_Canvas_Vg_Fill_Mode evas_object_vg_fill_mode_get(const Efl_Canvas_Vg_Ob
69 * 62 *
70 * @ingroup Evas_Object_Vg_Group 63 * @ingroup Evas_Object_Vg_Group
71 */ 64 */
72EAPI void evas_object_vg_viewbox_set(Efl_Canvas_Vg_Object *obj, Eina_Rect viewbox); 65EAPI void evas_object_vg_viewbox_set(Efl_VG *obj, Eina_Rect viewbox);
73 66
74/** 67/**
75 * @brief Get the current viewbox from the evas_object_vg 68 * @brief Get the current viewbox from the evas_object_vg
@@ -80,7 +73,7 @@ EAPI void evas_object_vg_viewbox_set(Efl_Canvas_Vg_Object *obj, Eina_Rect viewbo
80 * 73 *
81 * @ingroup Evas_Object_Vg_Group 74 * @ingroup Evas_Object_Vg_Group
82 */ 75 */
83EAPI Eina_Rect evas_object_vg_viewbox_get(const Efl_Canvas_Vg_Object *obj); 76EAPI Eina_Rect evas_object_vg_viewbox_get(const Efl_VG *obj);
84 77
85/** 78/**
86 * @brief Control how the viewbox is positioned inside the viewport. 79 * @brief Control how the viewbox is positioned inside the viewport.
@@ -91,7 +84,7 @@ EAPI Eina_Rect evas_object_vg_viewbox_get(const Efl_Canvas_Vg_Object *obj);
91 * 84 *
92 * @ingroup Evas_Object_Vg_Group 85 * @ingroup Evas_Object_Vg_Group
93 */ 86 */
94EAPI void evas_object_vg_viewbox_align_set(Efl_Canvas_Vg_Object *obj, double align_x, double align_y); 87EAPI void evas_object_vg_viewbox_align_set(Efl_VG *obj, double align_x, double align_y);
95 88
96/** 89/**
97 * @brief Control how the viewbox is positioned inside the viewport. 90 * @brief Control how the viewbox is positioned inside the viewport.
@@ -102,7 +95,7 @@ EAPI void evas_object_vg_viewbox_align_set(Efl_Canvas_Vg_Object *obj, double ali
102 * 95 *
103 * @ingroup Evas_Object_Vg_Group 96 * @ingroup Evas_Object_Vg_Group
104 */ 97 */
105EAPI void evas_object_vg_viewbox_align_get(const Efl_Canvas_Vg_Object *obj, double *align_x, double *align_y); 98EAPI void evas_object_vg_viewbox_align_get(const Efl_VG *obj, double *align_x, double *align_y);
106 99
107/** 100/**
108 * @brief Set the root node of the evas_object_vg. 101 * @brief Set the root node of the evas_object_vg.
@@ -117,7 +110,7 @@ EAPI void evas_object_vg_viewbox_align_get(const Efl_Canvas_Vg_Object *obj, doub
117 * 110 *
118 * @ingroup Evas_Object_Vg_Group 111 * @ingroup Evas_Object_Vg_Group
119 */ 112 */
120EAPI void evas_object_vg_root_node_set(Efl_Canvas_Vg_Object *obj, Efl_Canvas_Vg_Node *root); 113EAPI void evas_object_vg_root_node_set(Efl_VG *obj, Efl_Canvas_Vg_Node *root);
121 114
122/** 115/**
123 * @brief Get the root node of the evas_object_vg. 116 * @brief Get the root node of the evas_object_vg.
@@ -130,6 +123,6 @@ EAPI void evas_object_vg_root_node_set(Efl_Canvas_Vg_Object *obj, Efl_Canvas_Vg_
130 * 123 *
131 * @ingroup Evas_Object_Vg_Group 124 * @ingroup Evas_Object_Vg_Group
132 */ 125 */
133EAPI Efl_Canvas_Vg_Node *evas_object_vg_root_node_get(const Efl_Canvas_Vg_Object *obj); 126EAPI Efl_Canvas_Vg_Node *evas_object_vg_root_node_get(const Efl_VG *obj);
134 127
135#endif 128#endif