CanvasRenderer: Set initial value of the viewBox to be same as Size. 06/267506/2
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 07:08:48 +0000 (16:08 +0900)
commit91f5f001679e337fab6d9dffe39e31daec6681c3
treea57a324d4e6a32aea4f4c27a3ae7c455e6c1735f
parentef679fbc4ea036fd2b653ca74d7cf4cfa2a21872
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: I7ff09282e53c194401bc5e3fc7d6b90fdc379d37
dali/internal/canvas-renderer/tizen/canvas-renderer-impl-tizen.cpp
dali/internal/canvas-renderer/ubuntu/canvas-renderer-impl-ubuntu.cpp