Friedrich W. H. Kossebau 0ffe183d71 FrameSvgItem: fix textureRect for tiled subitems to not shrink to 0
Summary:
The old logic results in broken rendering if the sample was bigger than the
area to render, due to normalized texture rect being 0 in the respective
dimansion. As well as stretched mapping of the sample for fractional
relationships between the area to render and the sample size.

Test Plan:
Borders of backgrounds of FluffyBunny theme render properly, no other
regressions seen (but unsure what else might rely on that artifact).

Reviewers: #plasma, mart

Reviewed By: #plasma, mart

Subscribers: apol, sitter, kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D19787
2019-03-20 00:52:13 +01:00
..
2018-01-26 15:49:06 +01:00
2018-05-23 08:05:40 +02:00
2019-03-12 10:18:41 +01:00
2018-11-30 07:58:34 +01:00
2017-04-10 16:02:23 +02:00
2013-04-03 02:23:22 +02:00
2017-12-13 07:36:22 +01:00
2018-04-13 09:05:26 +02:00
2018-09-05 22:22:38 +03:00
2019-01-03 21:42:30 +01:00
2018-04-22 14:13:37 +02:00
2018-10-22 21:05:29 +03:00
2018-04-13 09:05:26 +02:00
2018-10-22 21:05:29 +03:00
2018-05-23 08:05:40 +02:00
2018-11-30 07:58:34 +01:00
2019-01-03 21:42:30 +01:00