summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_vg_private.h
diff options
context:
space:
mode:
authorJunsuChoi <jsuya.choi@samsung.com>2020-06-03 11:37:23 +0900
committerHermet Park <chuneon.park@samsung.com>2020-06-03 11:37:23 +0900
commit442fae5c5621636bf52c3467d6d4c7147fd53a5a (patch)
tree036bfe1ef2f75a043c78eaa40663f39d3013887f /src/lib/evas/canvas/evas_vg_private.h
parente94b5d014f42f53bbcc0e3c12693c801a78f9fcf (diff)
Efl.Canvas.Vg.Object: Optimize Ector Surface Size
Summary: The ector surface size was determined by the size of the vg object. vg object is usually sized by the size of the container. So, the ector surface is set unnecessarily large. This patch sets the ector surface size to the path boundary. And the path boundary refers to the stroke width and miterlimit. Test Plan: vector sample {F3887634} {F3887632} [grey area is ector surface size] {F3887633} Reviewers: Hermet, kimcinoo, smohanty, herb Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11865
Diffstat (limited to 'src/lib/evas/canvas/evas_vg_private.h')
-rw-r--r--src/lib/evas/canvas/evas_vg_private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/evas_vg_private.h b/src/lib/evas/canvas/evas_vg_private.h
index dcd5cb0356..c20ed2a1eb 100644
--- a/src/lib/evas/canvas/evas_vg_private.h
+++ b/src/lib/evas/canvas/evas_vg_private.h
@@ -35,6 +35,7 @@ typedef struct _Vg_User_Entry
35{ 35{
36 int w; // current surface width 36 int w; // current surface width
37 int h; // current surface height 37 int h; // current surface height
38 Eina_Rect path_bounds;
38 Efl_VG *root; 39 Efl_VG *root;
39} Vg_User_Entry; 40} Vg_User_Entry;
40 41