diff options
author | subhransu mohanty <sub.mohanty@samsung.com> | 2017-10-25 20:16:17 +0900 |
---|---|---|
committer | Jean-Philippe Andre <jp.andre@samsung.com> | 2017-10-25 20:17:20 +0900 |
commit | 57ba3318dca35f51a5e2a89367677100bf7b9e49 (patch) | |
tree | 6ba6df373ba34e64f44cd559b9d8da21a8b67e87 /src/lib/evas/canvas/evas_vg_private.h | |
parent | c46f9bec2d15f23c09caf932164f2b00ee5c0903 (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 'src/lib/evas/canvas/evas_vg_private.h')
-rw-r--r-- | src/lib/evas/canvas/evas_vg_private.h | 21 |
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 | ||
13 | struct _Efl_Canvas_Vg_Data | 13 | struct _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 | ||
28 | struct _Efl_VG_Data | 27 | struct _Efl_VG_Data |