Efl.Canvas.Vg.Object: Skip render, if size of the drawing area is 0 22/252622/1
authorJunsuChoi <jsuya.choi@samsung.com>
Mon, 1 Feb 2021 00:59:33 +0000 (09:59 +0900)
committerJunsuChoi <jsuya.choi@samsung.com>
Mon, 1 Feb 2021 01:04:09 +0000 (10:04 +0900)
commit0fac4ec28252f165f393970cea46f9c7b69bcc8f
tree831373fff46e6bbd78286390cce32d95b5e31c6d
parent86c95d6952802d50841ec39457397e9b37509897
Efl.Canvas.Vg.Object: Skip render, if size of the drawing area is 0

Summary:
If the size of the boundary of path is 0, there is no area to draw.
Therefore, it is the same as hide().
If there is no area to draw, there is no need to create a buffer or perform rendering.

Test Plan: N/A

Reviewers: Hermet, kimcinoo

Reviewed By: Hermet

Subscribers: devilhorns, cedric, #reviewers, #committers, herb

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D12235

Change-Id: I5c3345986f034664d43ea84cef3f3f08f70c4ae5
src/lib/evas/canvas/efl_canvas_vg_object.c