After #1338 is applied there is no need to reload
the pictures while aksing about its viewbox or its size.
Change-Id: I63ec1899f6b4ee6bd44a6c21e8fedcf6ee192217
Signed-off-by: jykeon <jykeon@samsung.com>
Result Picture::size(float* w, float* h) const noexcept
{
if (!pImpl->loader) return Result::InsufficientCondition;
- pImpl->reload();
if (w) *w = pImpl->w;
if (h) *h = pImpl->h;
return Result::Success;
bool viewbox(float* x, float* y, float* w, float* h)
{
if (!loader) return false;
- reload();
if (x) *x = loader->vx;
if (y) *y = loader->vy;
if (w) *w = loader->vw;