Fix capture issue of to capture sub-scene. 27/240227/12
authorseungho <seungho@seungho.tn.corp.samsungelectronics.net>
Tue, 4 Aug 2020 11:25:55 +0000 (20:25 +0900)
committerseungho <seungho@seungho.tn.corp.samsungelectronics.net>
Fri, 21 Aug 2020 08:00:16 +0000 (17:00 +0900)
commitd7cdb229bdd740500345680ebc7f0ada88912934
tree9e3ff9a539683f2ce2c92ca7a003d50e4c4c92a5
parent9855b0f369ad3ff609ac1ad5e1bca4657f7eda67
Fix capture issue of to capture sub-scene.

 - new camera that generated inside Capture has size of Scene and default position.
 - but, if a source is not a rootLayer, the position and size are needed to be set with that of the source.
 - in this patch, we get position input. the position is top-left position of area to be captured in window space.
 - camera actor has position and size those get by input position and size
 - create new method to set jpeg quality to remove it from the argument of Start method

Change-Id: Ie5232e0ef61f34fae101fee5243a39abb29242b5
Signed-off-by: seungho <seungho@seungho.tn.corp.samsungelectronics.net>
dali/internal/system/common/capture-impl.cpp
dali/internal/system/common/capture-impl.h
dali/public-api/capture/capture.cpp
dali/public-api/capture/capture.h