summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_vg_private.h
diff options
context:
space:
mode:
authorsubhransu mohanty <sub.mohanty@samsung.com>2017-10-25 20:16:17 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-10-25 20:17:20 +0900
commit57ba3318dca35f51a5e2a89367677100bf7b9e49 (patch)
tree6ba6df373ba34e64f44cd559b9d8da21a8b67e87 /src/lib/evas/canvas/evas_vg_private.h
parentc46f9bec2d15f23c09caf932164f2b00ee5c0903 (diff)
evas/vg: Added align, viewbox and fill_mode property to the vg canvas
Summary: viewbox, fill_mode and align property required to scale the vg tree that we get from the svg file or manually created depending on the vg canvas size. Reviewers: jpeg, cedric Subscribers: jenkins, cedric Differential Revision: https://phab.enlightenment.org/D5358
Diffstat (limited to '')
-rw-r--r--src/lib/evas/canvas/evas_vg_private.h21
1 files changed, 10 insertions, 11 deletions
diff --git a/src/lib/evas/canvas/evas_vg_private.h b/src/lib/evas/canvas/evas_vg_private.h
index f45ba0a3ac..d3e151aba1 100644
--- a/src/lib/evas/canvas/evas_vg_private.h
+++ b/src/lib/evas/canvas/evas_vg_private.h
@@ -12,17 +12,16 @@ typedef struct _Efl_Canvas_Vg_Data Efl_Canvas_Vg_Data;
12 12
13struct _Efl_Canvas_Vg_Data 13struct _Efl_Canvas_Vg_Data
14{ 14{
15 void *engine_data; 15 void *engine_data;
16 Efl_VG *root; 16 Efl_VG *root;
17 Efl_VG *vg_tree; 17 Efl_VG *vg_tree;
18 18 Eina_Rect fill;
19 Eina_Rect fill; 19 Eina_Rect viewbox;
20 20 unsigned int width, height;
21 unsigned int width, height; 21 Eina_Array cleanup;
22 22 double align_x, align_y;
23 Eina_Array cleanup; 23 Efl_Canvas_Vg_Fill_Mode fill_mode;
24 24 Eina_Bool changed;
25 Eina_Bool changed;
26}; 25};
27 26
28struct _Efl_VG_Data 27struct _Efl_VG_Data