evas: proper image scaling 91/268691/3 accepted/tizen/unified/20220526.143700 submit/tizen/20220525.023233
authormgrudzinska <m.grudzinska@samsung.com>
Wed, 29 Dec 2021 23:59:30 +0000 (00:59 +0100)
committerChun <jykeon@samsung.com>
Wed, 25 May 2022 02:05:07 +0000 (02:05 +0000)
commit6ef48cae565bd9cb0a67b5dce66e2bf5a4754ac9
tree4eb291bddb28838ee1f4105f110b7921b87e6b17
parent9f385fabea9ca30608aebf73a5d05dde54984367
evas: proper image scaling

In the case an image is cached, the scaling should depend
on the SVG's preserveAspectRatio attribute. If the tvg loader
is used, this value is known only inside TVG, so the transformation
matrix established in EFL can not be applied and the scaling has to
be done in TVG.

Change-Id: I620fcb29d262bad278274815bd8a22dea1d587c8
src/lib/evas/canvas/efl_canvas_vg_container.c
src/lib/evas/canvas/efl_canvas_vg_image.c
src/lib/evas/canvas/efl_canvas_vg_node.c
src/lib/evas/canvas/efl_canvas_vg_node.eo
src/lib/evas/canvas/evas_vg_private.h
src/lib/evas/vg/evas_vg_cache.c