summaryrefslogtreecommitdiff
path: root/src/lib/efl/interfaces/efl_gfx_path.c
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2017-11-30 15:58:04 +0900
committerAmitesh Singh <amitesh.sh@samsung.com>2017-11-30 16:09:37 +0900
commit774a01a28bb7ee07259e75e66e1b531c14c8f565 (patch)
tree455ce6cd346b8b74ab09a4bd7a226d8e85537869 /src/lib/efl/interfaces/efl_gfx_path.c
parent77d730627e80437ca4b80eb99a21737bdfae51c6 (diff)
Efl.Gfx.Path: add missing EOLIAN prefixes to eolian functions.
Diffstat (limited to '')
-rw-r--r--src/lib/efl/interfaces/efl_gfx_path.c46
1 files changed, 23 insertions, 23 deletions
diff --git a/src/lib/efl/interfaces/efl_gfx_path.c b/src/lib/efl/interfaces/efl_gfx_path.c
index 85d017fd8c..b744ef1e37 100644
--- a/src/lib/efl/interfaces/efl_gfx_path.c
+++ b/src/lib/efl/interfaces/efl_gfx_path.c
@@ -144,7 +144,7 @@ _efl_gfx_path_current_search(const Efl_Gfx_Path_Command *cmd,
144 return EINA_TRUE; 144 return EINA_TRUE;
145} 145}
146 146
147static void 147EOLIAN static void
148_efl_gfx_path_path_set(Eo *obj, Efl_Gfx_Path_Data *pd, 148_efl_gfx_path_path_set(Eo *obj, Efl_Gfx_Path_Data *pd,
149 const Efl_Gfx_Path_Command *commands, 149 const Efl_Gfx_Path_Command *commands,
150 const double *points) 150 const double *points)
@@ -189,7 +189,7 @@ _efl_gfx_path_path_set(Eo *obj, Efl_Gfx_Path_Data *pd,
189 efl_event_callback_legacy_call(obj, EFL_GFX_EVENT_CHANGED, NULL); 189 efl_event_callback_legacy_call(obj, EFL_GFX_EVENT_CHANGED, NULL);
190} 190}
191 191
192static void 192EOLIAN static void
193_efl_gfx_path_path_get(Eo *obj EINA_UNUSED, Efl_Gfx_Path_Data *pd, 193_efl_gfx_path_path_get(Eo *obj EINA_UNUSED, Efl_Gfx_Path_Data *pd,
194 const Efl_Gfx_Path_Command **commands, 194 const Efl_Gfx_Path_Command **commands,
195 const double **points) 195 const double **points)
@@ -198,7 +198,7 @@ _efl_gfx_path_path_get(Eo *obj EINA_UNUSED, Efl_Gfx_Path_Data *pd,
198 if (points) *points = pd->points; 198 if (points) *points = pd->points;
199} 199}
200 200
201static void 201EOLIAN static void
202_efl_gfx_path_length_get(Eo *obj EINA_UNUSED, Efl_Gfx_Path_Data *pd, 202_efl_gfx_path_length_get(Eo *obj EINA_UNUSED, Efl_Gfx_Path_Data *pd,
203 unsigned int *commands, unsigned int *points) 203 unsigned int *commands, unsigned int *points)
204{ 204{
@@ -206,7 +206,7 @@ _efl_gfx_path_length_get(Eo *obj EINA_UNUSED, Efl_Gfx_Path_Data *pd,
206 if (points) *points = pd->points_count; 206 if (points) *points = pd->points_count;
207} 207}
208 208
209static void 209EOLIAN static void
210_efl_gfx_path_bounds_get(Eo *obj EINA_UNUSED, Efl_Gfx_Path_Data *pd, Eina_Rect *r) 210_efl_gfx_path_bounds_get(Eo *obj EINA_UNUSED, Efl_Gfx_Path_Data *pd, Eina_Rect *r)
211{ 211{
212 double minx, miny, maxx, maxy; 212 double minx, miny, maxx, maxy;
@@ -232,7 +232,7 @@ _efl_gfx_path_bounds_get(Eo *obj EINA_UNUSED, Efl_Gfx_Path_Data *pd, Eina_Rect *
232 EINA_RECTANGLE_SET(r, minx, miny, (maxx - minx), (maxy - miny)); 232 EINA_RECTANGLE_SET(r, minx, miny, (maxx - minx), (maxy - miny));
233} 233}
234 234
235static void 235EOLIAN static void
236_efl_gfx_path_current_get(Eo *obj EINA_UNUSED, Efl_Gfx_Path_Data *pd, 236_efl_gfx_path_current_get(Eo *obj EINA_UNUSED, Efl_Gfx_Path_Data *pd,
237 double *x, double *y) 237 double *x, double *y)
238{ 238{
@@ -240,7 +240,7 @@ _efl_gfx_path_current_get(Eo *obj EINA_UNUSED, Efl_Gfx_Path_Data *pd,
240 if (y) *y = pd->current.y; 240 if (y) *y = pd->current.y;
241} 241}
242 242
243static void 243EOLIAN static void
244_efl_gfx_path_current_ctrl_get(Eo *obj EINA_UNUSED, Efl_Gfx_Path_Data *pd, 244_efl_gfx_path_current_ctrl_get(Eo *obj EINA_UNUSED, Efl_Gfx_Path_Data *pd,
245 double *x, double *y) 245 double *x, double *y)
246{ 246{
@@ -248,7 +248,7 @@ _efl_gfx_path_current_ctrl_get(Eo *obj EINA_UNUSED, Efl_Gfx_Path_Data *pd,
248 if (y) *y = pd->current_ctrl.y; 248 if (y) *y = pd->current_ctrl.y;
249} 249}
250 250
251static Eina_Bool 251EOLIAN static Eina_Bool
252_efl_gfx_path_equal_commands_internal(Efl_Gfx_Path_Data *a, 252_efl_gfx_path_equal_commands_internal(Efl_Gfx_Path_Data *a,
253 Efl_Gfx_Path_Data *b) 253 Efl_Gfx_Path_Data *b)
254{ 254{
@@ -272,7 +272,7 @@ interpolate(double from, double to, double pos_map)
272 return (from * (1.0 - pos_map)) + (to * pos_map); 272 return (from * (1.0 - pos_map)) + (to * pos_map);
273} 273}
274 274
275static Eina_Bool 275EOLIAN static Eina_Bool
276_efl_gfx_path_interpolate(Eo *obj, Efl_Gfx_Path_Data *pd, 276_efl_gfx_path_interpolate(Eo *obj, Efl_Gfx_Path_Data *pd,
277 const Eo *from, const Eo *to, double pos_map) 277 const Eo *from, const Eo *to, double pos_map)
278{ 278{
@@ -345,7 +345,7 @@ _efl_gfx_path_interpolate(Eo *obj, Efl_Gfx_Path_Data *pd,
345 return EINA_TRUE; 345 return EINA_TRUE;
346} 346}
347 347
348static Eina_Bool 348EOLIAN static Eina_Bool
349_efl_gfx_path_equal_commands(Eo *obj EINA_UNUSED, 349_efl_gfx_path_equal_commands(Eo *obj EINA_UNUSED,
350 Efl_Gfx_Path_Data *pd, 350 Efl_Gfx_Path_Data *pd,
351 const Eo *with) 351 const Eo *with)
@@ -358,7 +358,7 @@ _efl_gfx_path_equal_commands(Eo *obj EINA_UNUSED,
358 return _efl_gfx_path_equal_commands_internal(with_pd, pd); 358 return _efl_gfx_path_equal_commands_internal(with_pd, pd);
359} 359}
360 360
361static void 361EOLIAN static void
362_efl_gfx_path_reset(Eo *obj, Efl_Gfx_Path_Data *pd) 362_efl_gfx_path_reset(Eo *obj, Efl_Gfx_Path_Data *pd)
363{ 363{
364 free(pd->commands); 364 free(pd->commands);
@@ -379,7 +379,7 @@ _efl_gfx_path_reset(Eo *obj, Efl_Gfx_Path_Data *pd)
379 efl_event_callback_legacy_call(obj, EFL_GFX_EVENT_CHANGED, NULL); 379 efl_event_callback_legacy_call(obj, EFL_GFX_EVENT_CHANGED, NULL);
380} 380}
381 381
382static void 382EOLIAN static void
383_efl_gfx_path_append_move_to(Eo *obj, Efl_Gfx_Path_Data *pd, 383_efl_gfx_path_append_move_to(Eo *obj, Efl_Gfx_Path_Data *pd,
384 double x, double y) 384 double x, double y)
385{ 385{
@@ -398,7 +398,7 @@ _efl_gfx_path_append_move_to(Eo *obj, Efl_Gfx_Path_Data *pd,
398 efl_event_callback_legacy_call(obj, EFL_GFX_EVENT_CHANGED, NULL); 398 efl_event_callback_legacy_call(obj, EFL_GFX_EVENT_CHANGED, NULL);
399} 399}
400 400
401static void 401EOLIAN static void
402_efl_gfx_path_append_line_to(Eo *obj, Efl_Gfx_Path_Data *pd, 402_efl_gfx_path_append_line_to(Eo *obj, Efl_Gfx_Path_Data *pd,
403 double x, double y) 403 double x, double y)
404{ 404{
@@ -417,7 +417,7 @@ _efl_gfx_path_append_line_to(Eo *obj, Efl_Gfx_Path_Data *pd,
417 efl_event_callback_legacy_call(obj, EFL_GFX_EVENT_CHANGED, NULL); 417 efl_event_callback_legacy_call(obj, EFL_GFX_EVENT_CHANGED, NULL);
418} 418}
419 419
420static void 420EOLIAN static void
421_efl_gfx_path_append_cubic_to(Eo *obj, Efl_Gfx_Path_Data *pd, 421_efl_gfx_path_append_cubic_to(Eo *obj, Efl_Gfx_Path_Data *pd,
422 double ctrl_x0, double ctrl_y0, 422 double ctrl_x0, double ctrl_y0,
423 double ctrl_x1, double ctrl_y1, 423 double ctrl_x1, double ctrl_y1,
@@ -445,7 +445,7 @@ _efl_gfx_path_append_cubic_to(Eo *obj, Efl_Gfx_Path_Data *pd,
445 efl_event_callback_legacy_call(obj, EFL_GFX_EVENT_CHANGED, NULL); 445 efl_event_callback_legacy_call(obj, EFL_GFX_EVENT_CHANGED, NULL);
446} 446}
447 447
448static void 448EOLIAN static void
449_efl_gfx_path_append_scubic_to(Eo *obj, Efl_Gfx_Path_Data *pd, 449_efl_gfx_path_append_scubic_to(Eo *obj, Efl_Gfx_Path_Data *pd,
450 double x, double y, 450 double x, double y,
451 double ctrl_x, double ctrl_y) 451 double ctrl_x, double ctrl_y)
@@ -478,7 +478,7 @@ _efl_gfx_path_append_scubic_to(Eo *obj, Efl_Gfx_Path_Data *pd,
478 x, y); 478 x, y);
479} 479}
480 480
481static void 481EOLIAN static void
482_efl_gfx_path_append_quadratic_to(Eo *obj, Efl_Gfx_Path_Data *pd, 482_efl_gfx_path_append_quadratic_to(Eo *obj, Efl_Gfx_Path_Data *pd,
483 double x, double y, 483 double x, double y,
484 double ctrl_x, double ctrl_y) 484 double ctrl_x, double ctrl_y)
@@ -499,7 +499,7 @@ _efl_gfx_path_append_quadratic_to(Eo *obj, Efl_Gfx_Path_Data *pd,
499 x, y); 499 x, y);
500} 500}
501 501
502static void 502EOLIAN static void
503_efl_gfx_path_append_squadratic_to(Eo *obj, Efl_Gfx_Path_Data *pd, 503_efl_gfx_path_append_squadratic_to(Eo *obj, Efl_Gfx_Path_Data *pd,
504 double x, double y) 504 double x, double y)
505{ 505{
@@ -530,7 +530,7 @@ _efl_gfx_path_append_squadratic_to(Eo *obj, Efl_Gfx_Path_Data *pd,
530/* 530/*
531 * code adapted from enesim which was adapted from moonlight sources 531 * code adapted from enesim which was adapted from moonlight sources
532 */ 532 */
533static void 533EOLIAN static void
534_efl_gfx_path_append_arc_to(Eo *obj, Efl_Gfx_Path_Data *pd, 534_efl_gfx_path_append_arc_to(Eo *obj, Efl_Gfx_Path_Data *pd,
535 double x, double y, 535 double x, double y,
536 double rx, double ry, 536 double rx, double ry,
@@ -1001,7 +1001,7 @@ _curves_for_arc(double x, double y, double w, double h,
1001 return start_point; 1001 return start_point;
1002} 1002}
1003 1003
1004static void 1004EOLIAN static void
1005_efl_gfx_path_append_arc(Eo *obj, Efl_Gfx_Path_Data *pd, 1005_efl_gfx_path_append_arc(Eo *obj, Efl_Gfx_Path_Data *pd,
1006 double x, double y, double w, double h, 1006 double x, double y, double w, double h,
1007 double start_angle, double sweep_length) 1007 double start_angle, double sweep_length)
@@ -1025,7 +1025,7 @@ _efl_gfx_path_append_arc(Eo *obj, Efl_Gfx_Path_Data *pd,
1025 } 1025 }
1026} 1026}
1027 1027
1028static void 1028EOLIAN static void
1029_efl_gfx_path_append_close(Eo *obj, Efl_Gfx_Path_Data *pd) 1029_efl_gfx_path_append_close(Eo *obj, Efl_Gfx_Path_Data *pd)
1030{ 1030{
1031 double *offset_point; 1031 double *offset_point;
@@ -1050,7 +1050,7 @@ _efl_gfx_path_append_circle(Eo *obj, Efl_Gfx_Path_Data *pd,
1050 pd->convex = first; 1050 pd->convex = first;
1051} 1051}
1052 1052
1053static void 1053EOLIAN static void
1054_efl_gfx_path_append_rect(Eo *obj, Efl_Gfx_Path_Data *pd, 1054_efl_gfx_path_append_rect(Eo *obj, Efl_Gfx_Path_Data *pd,
1055 double x, double y, double w, double h, 1055 double x, double y, double w, double h,
1056 double rx, double ry) 1056 double rx, double ry)
@@ -1088,7 +1088,7 @@ _efl_gfx_path_append_rect(Eo *obj, Efl_Gfx_Path_Data *pd,
1088 pd->convex = first; 1088 pd->convex = first;
1089} 1089}
1090 1090
1091static void 1091EOLIAN static void
1092_efl_gfx_path_append_horizontal_to(Eo *obj, Efl_Gfx_Path_Data *pd, double d, 1092_efl_gfx_path_append_horizontal_to(Eo *obj, Efl_Gfx_Path_Data *pd, double d,
1093 double current_x EINA_UNUSED, 1093 double current_x EINA_UNUSED,
1094 double current_y) 1094 double current_y)
@@ -1096,7 +1096,7 @@ _efl_gfx_path_append_horizontal_to(Eo *obj, Efl_Gfx_Path_Data *pd, double d,
1096 _efl_gfx_path_append_line_to(obj, pd, d, current_y); 1096 _efl_gfx_path_append_line_to(obj, pd, d, current_y);
1097} 1097}
1098 1098
1099static void 1099EOLIAN static void
1100_efl_gfx_path_append_vertical_to(Eo *obj, Efl_Gfx_Path_Data *pd, double d, 1100_efl_gfx_path_append_vertical_to(Eo *obj, Efl_Gfx_Path_Data *pd, double d,
1101 double current_x, 1101 double current_x,
1102 double current_y EINA_UNUSED) 1102 double current_y EINA_UNUSED)
@@ -1417,7 +1417,7 @@ _efl_gfx_path_parse_arc_to(const char *content, char **end,
1417 return EINA_TRUE; 1417 return EINA_TRUE;
1418} 1418}
1419 1419
1420static void 1420EOLIAN static void
1421_efl_gfx_path_append_svg_path(Eo *obj, Efl_Gfx_Path_Data *pd, 1421_efl_gfx_path_append_svg_path(Eo *obj, Efl_Gfx_Path_Data *pd,
1422 const char *svg_path_data) 1422 const char *svg_path_data)
1423{ 1423{