blob: 3af47297f659fddb24b2f9a6a79a84cf959948af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <Eina.h>
#include <Ector.h>
#include "ector_private.h"
static void
_ector_renderer_shape_fill_set(Eo *obj EINA_UNUSED,
Ector_Renderer_Shape_Data *pd,
const Ector_Renderer *r)
{
_efl_refplace(&pd->fill, r);
}
static const Ector_Renderer *
_ector_renderer_shape_fill_get(Eo *obj EINA_UNUSED,
Ector_Renderer_Shape_Data *pd)
{
return pd->fill;
}
static void
_ector_renderer_shape_stroke_fill_set(Eo *obj EINA_UNUSED,
Ector_Renderer_Shape_Data *pd,
const Ector_Renderer *r)
{
_efl_refplace(&pd->stroke.fill, r);
}
static const Ector_Renderer *
_ector_renderer_shape_stroke_fill_get(Eo *obj EINA_UNUSED,
Ector_Renderer_Shape_Data *pd)
{
return pd->stroke.fill;
}
static void
_ector_renderer_shape_stroke_marker_set(Eo *obj EINA_UNUSED,
Ector_Renderer_Shape_Data *pd,
const Ector_Renderer *r)
{
_efl_refplace(&pd->stroke.marker, r);
}
static const Ector_Renderer *
_ector_renderer_shape_stroke_marker_get(Eo *obj EINA_UNUSED,
Ector_Renderer_Shape_Data *pd)
{
return pd->stroke.marker;
}
#include "ector_renderer_shape.eo.c"
|