forked from enlightenment/efl
evas: move Evas_VG_Data struct to separate header
This commit is contained in:
parent
18bb75d0f9
commit
fd1c06153b
|
@ -11,20 +11,6 @@ static const char o_type[] = "vectors";
|
||||||
|
|
||||||
const char *o_vg_type = o_type;
|
const char *o_vg_type = o_type;
|
||||||
|
|
||||||
/* private struct for rectangle object internal data */
|
|
||||||
typedef struct _Evas_VG_Data Evas_VG_Data;
|
|
||||||
|
|
||||||
struct _Evas_VG_Data
|
|
||||||
{
|
|
||||||
void *engine_data;
|
|
||||||
Efl_VG *root;
|
|
||||||
|
|
||||||
Eina_Rectangle fill;
|
|
||||||
|
|
||||||
unsigned int width, height;
|
|
||||||
|
|
||||||
Eina_Array cleanup;
|
|
||||||
};
|
|
||||||
|
|
||||||
static void evas_object_vg_render(Evas_Object *eo_obj,
|
static void evas_object_vg_render(Evas_Object *eo_obj,
|
||||||
Evas_Object_Protected_Data *obj,
|
Evas_Object_Protected_Data *obj,
|
||||||
|
|
|
@ -8,6 +8,20 @@ typedef struct _Efl_VG_Container_Data Efl_VG_Container_Data;
|
||||||
typedef struct _Efl_VG_Gradient_Data Efl_VG_Gradient_Data;
|
typedef struct _Efl_VG_Gradient_Data Efl_VG_Gradient_Data;
|
||||||
typedef struct _Efl_VG_Interpolation Efl_VG_Interpolation;
|
typedef struct _Efl_VG_Interpolation Efl_VG_Interpolation;
|
||||||
|
|
||||||
|
typedef struct _Evas_VG_Data Evas_VG_Data;
|
||||||
|
|
||||||
|
struct _Evas_VG_Data
|
||||||
|
{
|
||||||
|
void *engine_data;
|
||||||
|
Efl_VG *root;
|
||||||
|
|
||||||
|
Eina_Rectangle fill;
|
||||||
|
|
||||||
|
unsigned int width, height;
|
||||||
|
|
||||||
|
Eina_Array cleanup;
|
||||||
|
};
|
||||||
|
|
||||||
struct _Efl_VG_Base_Data
|
struct _Efl_VG_Base_Data
|
||||||
{
|
{
|
||||||
const char *name;
|
const char *name;
|
||||||
|
|
Loading…
Reference in New Issue