eo_unref(tmp);
}
+typedef struct _Ector_Renderer_Generic_Base_Data Ector_Renderer_Generic_Base_Data;
+typedef struct _Ector_Renderer_Generic_Gradient_Data Ector_Renderer_Generic_Gradient_Data;
+typedef struct _Ector_Renderer_Generic_Gradient_Linear_Data Ector_Renderer_Generic_Gradient_Linear_Data;
+typedef struct _Ector_Renderer_Generic_Gradient_Radial_Data Ector_Renderer_Generic_Gradient_Radial_Data;
+typedef struct _Ector_Renderer_Generic_Shape_Data Ector_Renderer_Generic_Shape_Data;
+
+struct _Ector_Renderer_Generic_Base_Data
+{
+ Eina_Matrix3 *m;
+
+ struct {
+ double x;
+ double y;
+ } origin;
+
+ struct {
+ int r, g, b, a;
+ } color;
+
+ Ector_Renderer *mask;
+
+ Ector_Quality q;
+ Eina_Bool visibility;
+};
+
+struct _Ector_Renderer_Generic_Gradient_Data
+{
+ Efl_Graphics_Gradient_Stop *colors;
+ unsigned int colors_count;
+
+ Efl_Graphics_Gradient_Spread s;
+};
+
+struct _Ector_Renderer_Generic_Gradient_Linear_Data
+{
+ struct {
+ double x, y;
+ } start, end;
+};
+
+struct _Ector_Renderer_Generic_Gradient_Radial_Data
+{
+ struct {
+ double x, y;
+ } radial, focal;
+ double radius;
+};
+
+struct _Ector_Renderer_Generic_Shape_Data
+{
+ struct {
+ Efl_Graphics_Path_Command *cmd;
+ double *pts;
+ } path;
+
+ Ector_Renderer *fill;
+ struct {
+ Ector_Renderer *fill;
+ Ector_Renderer *marker;
+
+ double scale;
+ double width;
+ double centered;
+
+ struct {
+ int r, g, b, a;
+ } color;
+
+ Efl_Graphics_Dash *dash;
+ unsigned int dash_length;
+
+ Efl_Graphics_Cap cap;
+ Efl_Graphics_Cap join;
+ } stroke;
+};
+
#endif
#include "ector_private.h"
-typedef struct _Ector_Renderer_Generic_Base_Data Ector_Renderer_Generic_Base_Data;
-struct _Ector_Renderer_Generic_Base_Data
-{
- Eina_Matrix3 *m;
-
- struct {
- double x;
- double y;
- } origin;
-
- struct {
- int r, g, b, a;
- } color;
-
- Ector_Renderer *mask;
-
- Ector_Quality q;
- Eina_Bool visibility;
-};
-
void
_ector_renderer_base_transformation_set(Eo *obj EINA_UNUSED,
Ector_Renderer_Generic_Base_Data *pd,
#include "ector_private.h"
-typedef struct _Ector_Renderer_Generic_Gradient_Data Ector_Renderer_Generic_Gradient_Data;
-struct _Ector_Renderer_Generic_Gradient_Data
-{
- Efl_Graphics_Gradient_Stop *colors;
- unsigned int colors_count;
-
- Efl_Graphics_Gradient_Spread s;
-};
-
void
_ector_renderer_gradient_efl_graphics_gradient_stop_set(Eo *obj,
Ector_Renderer_Generic_Gradient_Data *pd,
#include "ector_private.h"
-typedef struct _Ector_Renderer_Generic_Gradient_Linear_Data Ector_Renderer_Generic_Gradient_Linear_Data;
-struct _Ector_Renderer_Generic_Gradient_Linear_Data
-{
- struct {
- double x, y;
- } start, end;
-};
-
void
_ector_renderer_gradient_linear_efl_graphics_gradient_linear_start_set(Eo *obj EINA_UNUSED,
Ector_Renderer_Generic_Gradient_Linear_Data *pd,
#include "ector_private.h"
-typedef struct _Ector_Renderer_Generic_Gradient_Radial_Data Ector_Renderer_Generic_Gradient_Radial_Data;
-struct _Ector_Renderer_Generic_Gradient_Radial_Data
-{
- struct {
- double x, y;
- } radial, focal;
- double radius;
-};
-
void
_ector_renderer_gradient_radial_efl_graphics_gradient_radial_center_set(Eo *obj EINA_UNUSED,
Ector_Renderer_Generic_Gradient_Radial_Data *pd,
#include "ector_private.h"
-typedef struct _Ector_Renderer_Generic_Shape_Data Ector_Renderer_Generic_Shape_Data;
-struct _Ector_Renderer_Generic_Shape_Data
-{
- struct {
- Efl_Graphics_Path_Command *cmd;
- double *pts;
- } path;
-
- Ector_Renderer *fill;
- struct {
- Ector_Renderer *fill;
- Ector_Renderer *marker;
-
- double scale;
- double width;
- double centered;
-
- struct {
- int r, g, b, a;
- } color;
-
- Efl_Graphics_Dash *dash;
- unsigned int dash_length;
-
- Efl_Graphics_Cap cap;
- Efl_Graphics_Cap join;
- } stroke;
-};
-
void
_ector_renderer_shape_fill_set(Eo *obj EINA_UNUSED,
Ector_Renderer_Generic_Shape_Data *pd,