forked from enlightenment/efl
ector: all those function needs to be static.
This commit is contained in:
parent
1df94f5baa
commit
fe0672b80e
|
@ -7,7 +7,7 @@
|
|||
|
||||
#include "ector_private.h"
|
||||
|
||||
void
|
||||
static void
|
||||
_ector_renderer_base_transformation_set(Eo *obj EINA_UNUSED,
|
||||
Ector_Renderer_Generic_Base_Data *pd,
|
||||
const Eina_Matrix3 *m)
|
||||
|
@ -31,14 +31,14 @@ _ector_renderer_base_transformation_set(Eo *obj EINA_UNUSED,
|
|||
pd->m = tmp;
|
||||
}
|
||||
|
||||
const Eina_Matrix3 *
|
||||
static const Eina_Matrix3 *
|
||||
_ector_renderer_base_transformation_get(Eo *obj EINA_UNUSED,
|
||||
Ector_Renderer_Generic_Base_Data *pd)
|
||||
{
|
||||
return pd->m;
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
_ector_renderer_base_origin_set(Eo *obj EINA_UNUSED,
|
||||
Ector_Renderer_Generic_Base_Data *pd,
|
||||
double x, double y)
|
||||
|
@ -47,7 +47,7 @@ _ector_renderer_base_origin_set(Eo *obj EINA_UNUSED,
|
|||
pd->origin.y = y;
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
_ector_renderer_base_origin_get(Eo *obj EINA_UNUSED,
|
||||
Ector_Renderer_Generic_Base_Data *pd,
|
||||
double *x, double *y)
|
||||
|
@ -56,7 +56,7 @@ _ector_renderer_base_origin_get(Eo *obj EINA_UNUSED,
|
|||
if (y) *y = pd->origin.y;
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
_ector_renderer_base_visibility_set(Eo *obj EINA_UNUSED,
|
||||
Ector_Renderer_Generic_Base_Data *pd,
|
||||
Eina_Bool v)
|
||||
|
@ -64,14 +64,14 @@ _ector_renderer_base_visibility_set(Eo *obj EINA_UNUSED,
|
|||
pd->visibility = v;
|
||||
}
|
||||
|
||||
Eina_Bool
|
||||
static Eina_Bool
|
||||
_ector_renderer_base_visibility_get(Eo *obj EINA_UNUSED,
|
||||
Ector_Renderer_Generic_Base_Data *pd)
|
||||
{
|
||||
return pd->visibility;
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
_ector_renderer_base_color_set(Eo *obj EINA_UNUSED,
|
||||
Ector_Renderer_Generic_Base_Data *pd,
|
||||
int r, int g, int b, int a)
|
||||
|
@ -82,7 +82,7 @@ _ector_renderer_base_color_set(Eo *obj EINA_UNUSED,
|
|||
pd->color.a = a;
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
_ector_renderer_base_color_get(Eo *obj EINA_UNUSED,
|
||||
Ector_Renderer_Generic_Base_Data *pd,
|
||||
int *r, int *g, int *b, int *a)
|
||||
|
@ -93,7 +93,7 @@ _ector_renderer_base_color_get(Eo *obj EINA_UNUSED,
|
|||
if (a) *a = pd->color.a;
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
_ector_renderer_base_mask_set(Eo *obj EINA_UNUSED,
|
||||
Ector_Renderer_Generic_Base_Data *pd,
|
||||
Ector_Renderer *r)
|
||||
|
@ -101,14 +101,14 @@ _ector_renderer_base_mask_set(Eo *obj EINA_UNUSED,
|
|||
_ector_renderer_replace(&pd->mask, r);
|
||||
}
|
||||
|
||||
Ector_Renderer *
|
||||
static Ector_Renderer *
|
||||
_ector_renderer_base_mask_get(Eo *obj EINA_UNUSED,
|
||||
Ector_Renderer_Generic_Base_Data *pd)
|
||||
{
|
||||
return pd->mask;
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
_ector_renderer_base_quality_set(Eo *obj EINA_UNUSED,
|
||||
Ector_Renderer_Generic_Base_Data *pd,
|
||||
Ector_Quality q)
|
||||
|
@ -116,7 +116,7 @@ _ector_renderer_base_quality_set(Eo *obj EINA_UNUSED,
|
|||
pd->q = q;
|
||||
}
|
||||
|
||||
Ector_Quality
|
||||
static Ector_Quality
|
||||
_ector_renderer_base_quality_get(Eo *obj EINA_UNUSED,
|
||||
Ector_Renderer_Generic_Base_Data *pd)
|
||||
{
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
#include "ector_private.h"
|
||||
|
||||
void
|
||||
static void
|
||||
_ector_renderer_gradient_efl_graphics_gradient_stop_set(Eo *obj,
|
||||
Ector_Renderer_Generic_Gradient_Data *pd,
|
||||
const Efl_Graphics_Gradient_Stop *colors,
|
||||
|
@ -24,7 +24,7 @@ _ector_renderer_gradient_efl_graphics_gradient_stop_set(Eo *obj,
|
|||
pd->colors_count = length;
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
_ector_renderer_gradient_efl_graphics_gradient_stop_get(Eo *obj,
|
||||
Ector_Renderer_Generic_Gradient_Data *pd,
|
||||
const Efl_Graphics_Gradient_Stop **colors,
|
||||
|
@ -34,7 +34,7 @@ _ector_renderer_gradient_efl_graphics_gradient_stop_get(Eo *obj,
|
|||
if (length) *length = pd->colors_count;
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
_ector_renderer_gradient_efl_graphics_gradient_spread_set(Eo *obj,
|
||||
Ector_Renderer_Generic_Gradient_Data *pd,
|
||||
Efl_Graphics_Gradient_Spread s)
|
||||
|
@ -42,7 +42,7 @@ _ector_renderer_gradient_efl_graphics_gradient_spread_set(Eo *obj,
|
|||
pd->s = s;
|
||||
}
|
||||
|
||||
Efl_Graphics_Gradient_Spread
|
||||
static Efl_Graphics_Gradient_Spread
|
||||
_ector_renderer_gradient_efl_graphics_gradient_spread_get(Eo *obj,
|
||||
Ector_Renderer_Generic_Gradient_Data *pd)
|
||||
{
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
#include "ector_private.h"
|
||||
|
||||
void
|
||||
static void
|
||||
_ector_renderer_gradient_linear_efl_graphics_gradient_linear_start_set(Eo *obj EINA_UNUSED,
|
||||
Ector_Renderer_Generic_Gradient_Linear_Data *pd,
|
||||
double x, double y)
|
||||
|
@ -16,7 +16,7 @@ _ector_renderer_gradient_linear_efl_graphics_gradient_linear_start_set(Eo *obj E
|
|||
pd->start.y = y;
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
_ector_renderer_gradient_linear_efl_graphics_gradient_linear_start_get(Eo *obj EINA_UNUSED,
|
||||
Ector_Renderer_Generic_Gradient_Linear_Data *pd,
|
||||
double *x, double *y)
|
||||
|
@ -25,7 +25,7 @@ _ector_renderer_gradient_linear_efl_graphics_gradient_linear_start_get(Eo *obj E
|
|||
if (y) *y = pd->start.y;
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
_ector_renderer_gradient_linear_efl_graphics_gradient_linear_end_set(Eo *obj EINA_UNUSED,
|
||||
Ector_Renderer_Generic_Gradient_Linear_Data *pd,
|
||||
double x, double y)
|
||||
|
@ -34,7 +34,7 @@ _ector_renderer_gradient_linear_efl_graphics_gradient_linear_end_set(Eo *obj EIN
|
|||
pd->end.y = y;
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
_ector_renderer_gradient_linear_efl_graphics_gradient_linear_end_get(Eo *obj EINA_UNUSED,
|
||||
Ector_Renderer_Generic_Gradient_Linear_Data *pd,
|
||||
double *x, double *y)
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
#include "ector_private.h"
|
||||
|
||||
void
|
||||
static void
|
||||
_ector_renderer_gradient_radial_efl_graphics_gradient_radial_center_set(Eo *obj EINA_UNUSED,
|
||||
Ector_Renderer_Generic_Gradient_Radial_Data *pd,
|
||||
double x, double y)
|
||||
|
@ -16,7 +16,7 @@ _ector_renderer_gradient_radial_efl_graphics_gradient_radial_center_set(Eo *obj
|
|||
pd->radial.y = y;
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
_ector_renderer_gradient_radial_efl_graphics_gradient_radial_center_get(Eo *obj EINA_UNUSED,
|
||||
Ector_Renderer_Generic_Gradient_Radial_Data *pd,
|
||||
double *x, double *y)
|
||||
|
@ -25,7 +25,7 @@ _ector_renderer_gradient_radial_efl_graphics_gradient_radial_center_get(Eo *obj
|
|||
if (y) *y = pd->radial.y;
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
_ector_renderer_gradient_radial_efl_graphics_gradient_radial_radius_set(Eo *obj EINA_UNUSED,
|
||||
Ector_Renderer_Generic_Gradient_Radial_Data *pd,
|
||||
double r)
|
||||
|
@ -33,7 +33,7 @@ _ector_renderer_gradient_radial_efl_graphics_gradient_radial_radius_set(Eo *obj
|
|||
pd->radius = r;
|
||||
}
|
||||
|
||||
double
|
||||
static double
|
||||
_ector_renderer_gradient_radial_efl_graphics_gradient_radial_radius_get(Eo *obj EINA_UNUSED,
|
||||
Ector_Renderer_Generic_Gradient_Radial_Data *pd)
|
||||
{
|
||||
|
@ -41,7 +41,7 @@ _ector_renderer_gradient_radial_efl_graphics_gradient_radial_radius_get(Eo *obj
|
|||
}
|
||||
|
||||
|
||||
void
|
||||
static void
|
||||
_ector_renderer_gradient_radial_efl_graphics_gradient_radial_focal_set(Eo *obj EINA_UNUSED,
|
||||
Ector_Renderer_Generic_Gradient_Radial_Data *pd,
|
||||
double x, double y)
|
||||
|
@ -50,7 +50,7 @@ _ector_renderer_gradient_radial_efl_graphics_gradient_radial_focal_set(Eo *obj E
|
|||
pd->focal.y = y;
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
_ector_renderer_gradient_radial_efl_graphics_gradient_radial_focal_get(Eo *obj EINA_UNUSED,
|
||||
Ector_Renderer_Generic_Gradient_Radial_Data *pd,
|
||||
double *x, double *y)
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
#include "ector_private.h"
|
||||
|
||||
void
|
||||
static void
|
||||
_ector_renderer_shape_fill_set(Eo *obj EINA_UNUSED,
|
||||
Ector_Renderer_Generic_Shape_Data *pd,
|
||||
const Ector_Renderer *r)
|
||||
|
@ -15,14 +15,14 @@ _ector_renderer_shape_fill_set(Eo *obj EINA_UNUSED,
|
|||
_ector_renderer_replace(&pd->fill, r);
|
||||
}
|
||||
|
||||
const Ector_Renderer *
|
||||
static const Ector_Renderer *
|
||||
_ector_renderer_shape_fill_get(Eo *obj EINA_UNUSED,
|
||||
Ector_Renderer_Generic_Shape_Data *pd)
|
||||
{
|
||||
return pd->fill;
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
_ector_renderer_shape_stroke_fill_set(Eo *obj EINA_UNUSED,
|
||||
Ector_Renderer_Generic_Shape_Data *pd,
|
||||
const Ector_Renderer *r)
|
||||
|
@ -30,14 +30,14 @@ _ector_renderer_shape_stroke_fill_set(Eo *obj EINA_UNUSED,
|
|||
_ector_renderer_replace(&pd->stroke.fill, r);
|
||||
}
|
||||
|
||||
const Ector_Renderer *
|
||||
static const Ector_Renderer *
|
||||
_ector_renderer_shape_stroke_fill_get(Eo *obj EINA_UNUSED,
|
||||
Ector_Renderer_Generic_Shape_Data *pd)
|
||||
{
|
||||
return pd->stroke.fill;
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
_ector_renderer_shape_stroke_marker_set(Eo *obj EINA_UNUSED,
|
||||
Ector_Renderer_Generic_Shape_Data *pd,
|
||||
const Ector_Renderer *r)
|
||||
|
@ -45,14 +45,14 @@ _ector_renderer_shape_stroke_marker_set(Eo *obj EINA_UNUSED,
|
|||
_ector_renderer_replace(&pd->stroke.marker, r);
|
||||
}
|
||||
|
||||
const Ector_Renderer *
|
||||
static const Ector_Renderer *
|
||||
_ector_renderer_shape_stroke_marker_get(Eo *obj EINA_UNUSED,
|
||||
Ector_Renderer_Generic_Shape_Data *pd)
|
||||
{
|
||||
return pd->stroke.marker;
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
_ector_renderer_shape_efl_graphics_shape_stroke_scale_set(Eo *obj EINA_UNUSED,
|
||||
Ector_Renderer_Generic_Shape_Data *pd,
|
||||
double s)
|
||||
|
@ -60,14 +60,14 @@ _ector_renderer_shape_efl_graphics_shape_stroke_scale_set(Eo *obj EINA_UNUSED,
|
|||
pd->stroke.scale = s;
|
||||
}
|
||||
|
||||
double
|
||||
static double
|
||||
_ector_renderer_shape_efl_graphics_shape_stroke_scale_get(Eo *obj EINA_UNUSED,
|
||||
Ector_Renderer_Generic_Shape_Data *pd)
|
||||
{
|
||||
return pd->stroke.scale;
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
_ector_renderer_shape_efl_graphics_shape_stroke_color_set(Eo *obj EINA_UNUSED,
|
||||
Ector_Renderer_Generic_Shape_Data *pd,
|
||||
int r, int g, int b, int a)
|
||||
|
@ -78,8 +78,7 @@ _ector_renderer_shape_efl_graphics_shape_stroke_color_set(Eo *obj EINA_UNUSED,
|
|||
pd->stroke.color.a = a;
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
static void
|
||||
_ector_renderer_shape_efl_graphics_shape_stroke_color_get(Eo *obj EINA_UNUSED,
|
||||
Ector_Renderer_Generic_Shape_Data *pd,
|
||||
int *r, int *g, int *b, int *a)
|
||||
|
@ -90,7 +89,7 @@ _ector_renderer_shape_efl_graphics_shape_stroke_color_get(Eo *obj EINA_UNUSED,
|
|||
if (a) *a = pd->stroke.color.a;
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
_ector_renderer_shape_efl_graphics_shape_stroke_width_set(Eo *obj EINA_UNUSED,
|
||||
Ector_Renderer_Generic_Shape_Data *pd,
|
||||
double w)
|
||||
|
@ -98,14 +97,14 @@ _ector_renderer_shape_efl_graphics_shape_stroke_width_set(Eo *obj EINA_UNUSED,
|
|||
pd->stroke.width = w;
|
||||
}
|
||||
|
||||
double
|
||||
static double
|
||||
_ector_renderer_shape_efl_graphics_shape_stroke_width_get(Eo *obj EINA_UNUSED,
|
||||
Ector_Renderer_Generic_Shape_Data *pd)
|
||||
{
|
||||
return pd->stroke.width;
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
_ector_renderer_shape_efl_graphics_shape_stroke_location_set(Eo *obj EINA_UNUSED,
|
||||
Ector_Renderer_Generic_Shape_Data *pd,
|
||||
double centered)
|
||||
|
@ -113,14 +112,14 @@ _ector_renderer_shape_efl_graphics_shape_stroke_location_set(Eo *obj EINA_UNUSED
|
|||
pd->stroke.centered = centered;
|
||||
}
|
||||
|
||||
double
|
||||
static double
|
||||
_ector_renderer_shape_efl_graphics_shape_stroke_location_get(Eo *obj EINA_UNUSED,
|
||||
Ector_Renderer_Generic_Shape_Data *pd)
|
||||
{
|
||||
return pd->stroke.centered;
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
_ector_renderer_shape_efl_graphics_shape_stroke_dash_set(Eo *obj EINA_UNUSED,
|
||||
Ector_Renderer_Generic_Shape_Data *pd,
|
||||
const Efl_Graphics_Dash *dash,
|
||||
|
@ -144,7 +143,7 @@ _ector_renderer_shape_efl_graphics_shape_stroke_dash_set(Eo *obj EINA_UNUSED,
|
|||
pd->stroke.dash_length = length;
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
_ector_renderer_shape_efl_graphics_shape_stroke_dash_get(Eo *obj EINA_UNUSED,
|
||||
Ector_Renderer_Generic_Shape_Data *pd,
|
||||
const Efl_Graphics_Dash **dash,
|
||||
|
@ -154,7 +153,7 @@ _ector_renderer_shape_efl_graphics_shape_stroke_dash_get(Eo *obj EINA_UNUSED,
|
|||
if (length) *length = pd->stroke.dash_length;
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
_ector_renderer_shape_efl_graphics_shape_stroke_cap_set(Eo *obj EINA_UNUSED,
|
||||
Ector_Renderer_Generic_Shape_Data *pd,
|
||||
Efl_Graphics_Cap c)
|
||||
|
@ -162,14 +161,14 @@ _ector_renderer_shape_efl_graphics_shape_stroke_cap_set(Eo *obj EINA_UNUSED,
|
|||
pd->stroke.cap = c;
|
||||
}
|
||||
|
||||
Efl_Graphics_Cap
|
||||
static Efl_Graphics_Cap
|
||||
_ector_renderer_shape_efl_graphics_shape_stroke_cap_get(Eo *obj EINA_UNUSED,
|
||||
Ector_Renderer_Generic_Shape_Data *pd)
|
||||
{
|
||||
return pd->stroke.cap;
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
_ector_renderer_shape_efl_graphics_shape_stroke_join_set(Eo *obj EINA_UNUSED,
|
||||
Ector_Renderer_Generic_Shape_Data *pd,
|
||||
Efl_Graphics_Join j)
|
||||
|
@ -177,14 +176,14 @@ _ector_renderer_shape_efl_graphics_shape_stroke_join_set(Eo *obj EINA_UNUSED,
|
|||
pd->stroke.join = j;
|
||||
}
|
||||
|
||||
Efl_Graphics_Join
|
||||
static Efl_Graphics_Join
|
||||
_ector_renderer_shape_efl_graphics_shape_stroke_join_get(Eo *obj EINA_UNUSED,
|
||||
Ector_Renderer_Generic_Shape_Data *pd)
|
||||
{
|
||||
return pd->stroke.join;
|
||||
}
|
||||
|
||||
Eina_Bool
|
||||
static Eina_Bool
|
||||
_ector_renderer_shape_efl_graphics_shape_path_set(Eo *obj EINA_UNUSED,
|
||||
Ector_Renderer_Generic_Shape_Data *pd,
|
||||
const Efl_Graphics_Path_Command *cmd,
|
||||
|
@ -198,13 +197,13 @@ _ector_renderer_shape_efl_graphics_shape_path_set(Eo *obj EINA_UNUSED,
|
|||
return efl_graphics_path_dup(&pd->path.cmd, &pd->path.pts, cmd, points);
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
_ector_renderer_shape_eo_base_constructor(Eo *obj,
|
||||
Ector_Renderer_Generic_Shape_Data *pd)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
_ector_renderer_shape_eo_base_destructor(Eo *obj, Ector_Renderer_Generic_Shape_Data *pd)
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue