[Tizen] CanvasRenderer: Set initial value of the viewBox to be same as Size. 80/267580/1
authorJunsuChoi <jsuya.choi@samsung.com>
Mon, 6 Dec 2021 08:46:38 +0000 (17:46 +0900)
committerJunsuChoi <jsuya.choi@samsung.com>
Tue, 7 Dec 2021 09:39:04 +0000 (18:39 +0900)
commitaf77b0ad31c05a5f79cf48a20096e1b22ee9dca1
treef4ed045972d93b74d0f0a8cb248bd82c2ae263f2
parentd7abdd08c9731cbc2060c600b525811693b7e813
[Tizen] CanvasRenderer: Set initial value of the viewBox to be same as Size.

If the CanvasRenderer's viewBox is not declared, the value will be Vector2::ZERO.
Even if mSize is changed, the size of the drawables does not change. This is not the intended result.
Therefore, depending on the size, the drawables are always modified to be affected by the mSize.

Change-Id: I8362cb2b5a7897db358ee480b2dc36636c906f3c
dali/internal/canvas-renderer/tizen/canvas-renderer-impl-tizen.cpp
dali/internal/canvas-renderer/ubuntu/canvas-renderer-impl-ubuntu.cpp