summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_vg_shape.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-04-03 16:22:57 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-04-03 16:22:57 +0200
commit621d3b566024c357ce523857db211ab02a08af72 (patch)
tree1a1a249f9499174936803b03918f373415a18feb /src/lib/evas/canvas/evas_vg_shape.c
parenta00b6219fa6b55981f9e290a42abd4e50c1efc87 (diff)
evas: those function should have been static.
Diffstat (limited to 'src/lib/evas/canvas/evas_vg_shape.c')
-rw-r--r--src/lib/evas/canvas/evas_vg_shape.c48
1 files changed, 24 insertions, 24 deletions
diff --git a/src/lib/evas/canvas/evas_vg_shape.c b/src/lib/evas/canvas/evas_vg_shape.c
index c062ccb..b39a9ef 100644
--- a/src/lib/evas/canvas/evas_vg_shape.c
+++ b/src/lib/evas/canvas/evas_vg_shape.c
@@ -34,7 +34,7 @@ struct _Evas_VG_Shape_Data
34 unsigned int pts_counts; 34 unsigned int pts_counts;
35}; 35};
36 36
37Eina_Bool 37static Eina_Bool
38_evas_vg_shape_efl_graphics_shape_path_set(Eo *obj EINA_UNUSED, 38_evas_vg_shape_efl_graphics_shape_path_set(Eo *obj EINA_UNUSED,
39 Evas_VG_Shape_Data *pd, 39 Evas_VG_Shape_Data *pd,
40 const Efl_Graphics_Path_Command *op, 40 const Efl_Graphics_Path_Command *op,
@@ -48,14 +48,14 @@ _evas_vg_shape_efl_graphics_shape_path_set(Eo *obj EINA_UNUSED,
48 return efl_graphics_path_dup(&pd->op, &pd->points, op, points); 48 return efl_graphics_path_dup(&pd->op, &pd->points, op, points);
49} 49}
50 50
51Eina_Bool 51static Eina_Bool
52_evas_vg_shape_bounds_get(Eo *obj, Evas_VG_Shape_Data *pd, Eina_Rectangle *r) 52_evas_vg_shape_bounds_get(Eo *obj, Evas_VG_Shape_Data *pd, Eina_Rectangle *r)
53{ 53{
54 (void) obj; (void) pd; (void) r; 54 (void) obj; (void) pd; (void) r;
55 return EINA_FALSE; 55 return EINA_FALSE;
56} 56}
57 57
58void 58static void
59_evas_vg_shape_eo_base_constructor(Eo *obj, Evas_VG_Shape_Data *pd EINA_UNUSED) 59_evas_vg_shape_eo_base_constructor(Eo *obj, Evas_VG_Shape_Data *pd EINA_UNUSED)
60{ 60{
61 eo_do_super(obj, MY_CLASS, eo_constructor()); 61 eo_do_super(obj, MY_CLASS, eo_constructor());
@@ -66,13 +66,13 @@ _evas_vg_shape_eo_base_constructor(Eo *obj, Evas_VG_Shape_Data *pd EINA_UNUSED)
66 pd->stroke.centered = 0.5; 66 pd->stroke.centered = 0.5;
67} 67}
68 68
69void 69static void
70_evas_vg_shape_eo_base_destructor(Eo *obj, Evas_VG_Shape_Data *pd EINA_UNUSED) 70_evas_vg_shape_eo_base_destructor(Eo *obj, Evas_VG_Shape_Data *pd EINA_UNUSED)
71{ 71{
72 eo_do_super(obj, MY_CLASS, eo_destructor()); 72 eo_do_super(obj, MY_CLASS, eo_destructor());
73} 73}
74 74
75void 75static void
76_evas_vg_shape_fill_set(Eo *obj EINA_UNUSED, 76_evas_vg_shape_fill_set(Eo *obj EINA_UNUSED,
77 Evas_VG_Shape_Data *pd, 77 Evas_VG_Shape_Data *pd,
78 Evas_VG_Node *f) 78 Evas_VG_Node *f)
@@ -83,13 +83,13 @@ _evas_vg_shape_fill_set(Eo *obj EINA_UNUSED,
83 eo_unref(tmp); 83 eo_unref(tmp);
84} 84}
85 85
86Evas_VG_Node * 86static Evas_VG_Node *
87_evas_vg_shape_fill_get(Eo *obj EINA_UNUSED, Evas_VG_Shape_Data *pd) 87_evas_vg_shape_fill_get(Eo *obj EINA_UNUSED, Evas_VG_Shape_Data *pd)
88{ 88{
89 return pd->fill; 89 return pd->fill;
90} 90}
91 91
92void 92static void
93_evas_vg_shape_efl_graphics_shape_stroke_scale_set(Eo *obj EINA_UNUSED, 93_evas_vg_shape_efl_graphics_shape_stroke_scale_set(Eo *obj EINA_UNUSED,
94 Evas_VG_Shape_Data *pd, 94 Evas_VG_Shape_Data *pd,
95 double s) 95 double s)
@@ -97,14 +97,14 @@ _evas_vg_shape_efl_graphics_shape_stroke_scale_set(Eo *obj EINA_UNUSED,
97 pd->stroke.scale = s; 97 pd->stroke.scale = s;
98} 98}
99 99
100double 100static double
101_evas_vg_shape_efl_graphics_shape_stroke_scale_get(Eo *obj EINA_UNUSED, 101_evas_vg_shape_efl_graphics_shape_stroke_scale_get(Eo *obj EINA_UNUSED,
102 Evas_VG_Shape_Data *pd) 102 Evas_VG_Shape_Data *pd)
103{ 103{
104 return pd->stroke.scale; 104 return pd->stroke.scale;
105} 105}
106 106
107void 107static void
108_evas_vg_shape_efl_graphics_shape_stroke_color_set(Eo *obj EINA_UNUSED, 108_evas_vg_shape_efl_graphics_shape_stroke_color_set(Eo *obj EINA_UNUSED,
109 Evas_VG_Shape_Data *pd, 109 Evas_VG_Shape_Data *pd,
110 int r, int g, int b, int a) 110 int r, int g, int b, int a)
@@ -115,7 +115,7 @@ _evas_vg_shape_efl_graphics_shape_stroke_color_set(Eo *obj EINA_UNUSED,
115 pd->stroke.a = a; 115 pd->stroke.a = a;
116} 116}
117 117
118void 118static void
119_evas_vg_shape_efl_graphics_shape_stroke_color_get(Eo *obj EINA_UNUSED, 119_evas_vg_shape_efl_graphics_shape_stroke_color_get(Eo *obj EINA_UNUSED,
120 Evas_VG_Shape_Data *pd, 120 Evas_VG_Shape_Data *pd,
121 int *r, int *g, int *b, int *a) 121 int *r, int *g, int *b, int *a)
@@ -126,7 +126,7 @@ _evas_vg_shape_efl_graphics_shape_stroke_color_get(Eo *obj EINA_UNUSED,
126 if (a) *a = pd->stroke.a; 126 if (a) *a = pd->stroke.a;
127} 127}
128 128
129void 129static void
130_evas_vg_shape_stroke_fill_set(Eo *obj EINA_UNUSED, 130_evas_vg_shape_stroke_fill_set(Eo *obj EINA_UNUSED,
131 Evas_VG_Shape_Data *pd, 131 Evas_VG_Shape_Data *pd,
132 Evas_VG_Node *f) 132 Evas_VG_Node *f)
@@ -137,14 +137,14 @@ _evas_vg_shape_stroke_fill_set(Eo *obj EINA_UNUSED,
137 eo_unref(tmp); 137 eo_unref(tmp);
138} 138}
139 139
140Evas_VG_Node * 140static Evas_VG_Node *
141_evas_vg_shape_stroke_fill_get(Eo *obj EINA_UNUSED, 141_evas_vg_shape_stroke_fill_get(Eo *obj EINA_UNUSED,
142 Evas_VG_Shape_Data *pd) 142 Evas_VG_Shape_Data *pd)
143{ 143{
144 return pd->stroke.fill; 144 return pd->stroke.fill;
145} 145}
146 146
147void 147static void
148_evas_vg_shape_efl_graphics_shape_stroke_width_set(Eo *obj EINA_UNUSED, 148_evas_vg_shape_efl_graphics_shape_stroke_width_set(Eo *obj EINA_UNUSED,
149 Evas_VG_Shape_Data *pd, 149 Evas_VG_Shape_Data *pd,
150 double w) 150 double w)
@@ -152,14 +152,14 @@ _evas_vg_shape_efl_graphics_shape_stroke_width_set(Eo *obj EINA_UNUSED,
152 pd->stroke.width = w; 152 pd->stroke.width = w;
153} 153}
154 154
155double 155static double
156_evas_vg_shape_efl_graphics_shape_stroke_width_get(Eo *obj EINA_UNUSED, 156_evas_vg_shape_efl_graphics_shape_stroke_width_get(Eo *obj EINA_UNUSED,
157 Evas_VG_Shape_Data *pd) 157 Evas_VG_Shape_Data *pd)
158{ 158{
159 return pd->stroke.width; 159 return pd->stroke.width;
160} 160}
161 161
162void 162static void
163_evas_vg_shape_efl_graphics_shape_stroke_location_set(Eo *obj EINA_UNUSED, 163_evas_vg_shape_efl_graphics_shape_stroke_location_set(Eo *obj EINA_UNUSED,
164 Evas_VG_Shape_Data *pd, 164 Evas_VG_Shape_Data *pd,
165 double centered) 165 double centered)
@@ -167,14 +167,14 @@ _evas_vg_shape_efl_graphics_shape_stroke_location_set(Eo *obj EINA_UNUSED,
167 pd->stroke.centered = centered; 167 pd->stroke.centered = centered;
168} 168}
169 169
170double 170static double
171_evas_vg_shape_efl_graphics_shape_stroke_location_get(Eo *obj EINA_UNUSED, 171_evas_vg_shape_efl_graphics_shape_stroke_location_get(Eo *obj EINA_UNUSED,
172 Evas_VG_Shape_Data *pd) 172 Evas_VG_Shape_Data *pd)
173{ 173{
174 return pd->stroke.centered; 174 return pd->stroke.centered;
175} 175}
176 176
177void 177static void
178_evas_vg_shape_efl_graphics_shape_stroke_dash_set(Eo *obj EINA_UNUSED, 178_evas_vg_shape_efl_graphics_shape_stroke_dash_set(Eo *obj EINA_UNUSED,
179 Evas_VG_Shape_Data *pd, 179 Evas_VG_Shape_Data *pd,
180 const Efl_Graphics_Dash *dash, 180 const Efl_Graphics_Dash *dash,
@@ -191,7 +191,7 @@ _evas_vg_shape_efl_graphics_shape_stroke_dash_set(Eo *obj EINA_UNUSED,
191 pd->stroke.dash_count = length; 191 pd->stroke.dash_count = length;
192} 192}
193 193
194void 194static void
195_evas_vg_shape_efl_graphics_shape_stroke_dash_get(Eo *obj EINA_UNUSED, 195_evas_vg_shape_efl_graphics_shape_stroke_dash_get(Eo *obj EINA_UNUSED,
196 Evas_VG_Shape_Data *pd, 196 Evas_VG_Shape_Data *pd,
197 const Efl_Graphics_Dash **dash, 197 const Efl_Graphics_Dash **dash,
@@ -201,7 +201,7 @@ _evas_vg_shape_efl_graphics_shape_stroke_dash_get(Eo *obj EINA_UNUSED,
201 if (length) *length = pd->stroke.dash_count; 201 if (length) *length = pd->stroke.dash_count;
202} 202}
203 203
204void 204static void
205_evas_vg_shape_stroke_marker_set(Eo *obj EINA_UNUSED, 205_evas_vg_shape_stroke_marker_set(Eo *obj EINA_UNUSED,
206 Evas_VG_Shape_Data *pd, 206 Evas_VG_Shape_Data *pd,
207 Evas_VG_Shape *m) 207 Evas_VG_Shape *m)
@@ -212,14 +212,14 @@ _evas_vg_shape_stroke_marker_set(Eo *obj EINA_UNUSED,
212 eo_unref(tmp); 212 eo_unref(tmp);
213} 213}
214 214
215Evas_VG_Shape * 215static Evas_VG_Shape *
216_evas_vg_shape_stroke_marker_get(Eo *obj EINA_UNUSED, 216_evas_vg_shape_stroke_marker_get(Eo *obj EINA_UNUSED,
217 Evas_VG_Shape_Data *pd) 217 Evas_VG_Shape_Data *pd)
218{ 218{
219 return pd->stroke.marker; 219 return pd->stroke.marker;
220} 220}
221 221
222void 222static void
223_evas_vg_shape_efl_graphics_shape_stroke_cap_set(Eo *obj EINA_UNUSED, 223_evas_vg_shape_efl_graphics_shape_stroke_cap_set(Eo *obj EINA_UNUSED,
224 Evas_VG_Shape_Data *pd, 224 Evas_VG_Shape_Data *pd,
225 Efl_Graphics_Cap c) 225 Efl_Graphics_Cap c)
@@ -227,14 +227,14 @@ _evas_vg_shape_efl_graphics_shape_stroke_cap_set(Eo *obj EINA_UNUSED,
227 pd->stroke.cap = c; 227 pd->stroke.cap = c;
228} 228}
229 229
230Efl_Graphics_Cap 230static Efl_Graphics_Cap
231_evas_vg_shape_efl_graphics_shape_stroke_cap_get(Eo *obj EINA_UNUSED, 231_evas_vg_shape_efl_graphics_shape_stroke_cap_get(Eo *obj EINA_UNUSED,
232 Evas_VG_Shape_Data *pd) 232 Evas_VG_Shape_Data *pd)
233{ 233{
234 return pd->stroke.cap; 234 return pd->stroke.cap;
235} 235}
236 236
237void 237static void
238_evas_vg_shape_efl_graphics_shape_stroke_join_set(Eo *obj EINA_UNUSED, 238_evas_vg_shape_efl_graphics_shape_stroke_join_set(Eo *obj EINA_UNUSED,
239 Evas_VG_Shape_Data *pd, 239 Evas_VG_Shape_Data *pd,
240 Efl_Graphics_Join j) 240 Efl_Graphics_Join j)
@@ -242,7 +242,7 @@ _evas_vg_shape_efl_graphics_shape_stroke_join_set(Eo *obj EINA_UNUSED,
242 pd->stroke.join = j; 242 pd->stroke.join = j;
243} 243}
244 244
245Efl_Graphics_Join 245static Efl_Graphics_Join
246_evas_vg_shape_efl_graphics_shape_stroke_join_get(Eo *obj EINA_UNUSED, 246_evas_vg_shape_efl_graphics_shape_stroke_join_get(Eo *obj EINA_UNUSED,
247 Evas_VG_Shape_Data *pd) 247 Evas_VG_Shape_Data *pd)
248{ 248{