svg_loader: fixing the used mask-type 72/289072/1
authorMira Grudzinska <m.grudzinska@samsung.com>
Tue, 1 Feb 2022 22:34:41 +0000 (23:34 +0100)
committerMichal Szczecinski <m.szczecinsk@partner.samsung.com>
Tue, 28 Feb 2023 08:34:11 +0000 (09:34 +0100)
commit9143d88ec76ce479cabdccc15e8db1d8b28e0e5c
treed07404e7716979aecca65118f351c18d201f508a
parentf168e9636a0cc6e345f521a44e57eb4177d7cac2
svg_loader: fixing the used mask-type

For the performance reasons, regardless of the set/default
mask-type value, if the mask is white, the alpha masking is
used. To qualify a mask as white, not only its fill has to be
checked, but its stroke as well. The second was missing.

Change-Id: I407ec17f1b8dfd8fda5948319cf11bd609e7ab91
src/loaders/svg/tvgSvgSceneBuilder.cpp