1640 Commits

Author SHA1 Message Date
Uwe Rathmann
e66520294c minor API changes 2023-01-11 12:51:16 +01:00
Uwe Rathmann
5ba34eb11c method names cleaned up 2023-01-10 15:36:43 +01:00
Uwe Rathmann
4038f52cdf inverted gradient vectors for horizontal/vertical gradients supported 2023-01-10 12:17:56 +01:00
Uwe Rathmann
d2c5413daa wrong check fixed 2023-01-10 12:09:53 +01:00
Uwe Rathmann
e50fb269c3 minor adjustments 2023-01-10 10:20:30 +01:00
Uwe Rathmann
9afabe0e92 using Q_NAMESPACE_EXPORT 2023-01-09 15:19:39 +01:00
Uwe Rathmann
a5ab93bba8 bad workaround removed ad fixing the bug instead. 2023-01-09 15:11:38 +01:00
Uwe Rathmann
d80f9780fc iotdashboard crash fixed 2023-01-09 15:11:38 +01:00
Uwe Rathmann
f4aaf4cc92 more variations of gradient vectors supported 2023-01-05 17:18:34 +01:00
Uwe Rathmann
21e1206b2d QskBoxRenderer improvements 2023-01-05 13:06:32 +01:00
Uwe Rathmann
1b85d3053e QskBoxRenderer fixes 2023-01-04 16:15:22 +01:00
Uwe Rathmann
b449289509 convenience API added 2022-12-30 10:27:18 +01:00
Uwe Rathmann
14cee228e0 SimpleColorIterator added 2022-12-29 08:20:29 +01:00
Uwe Rathmann
8c6f0ffd60 full support of all linear gradient vectors by QskRectRenderer ( = not rounded rectangles ). 2022-12-28 19:39:08 +01:00
Uwe Rathmann
3ce2cea547 QLineF added for linear gradients 2022-12-28 19:23:42 +01:00
Uwe Rathmann
fba8b97a74 monochrome gradients are rendered vertically 2022-12-24 12:22:42 +01:00
Uwe Rathmann
d9eacd9eb3 setDirection fixed 2022-12-24 12:22:07 +01:00
Uwe Rathmann
76c8e41fcc radiusX/radiusY to allow ellipsoid and circular radial gradients 2022-12-23 14:57:46 +01:00
Uwe Rathmann
f13026b544 conic gradients fixed 2022-12-22 20:27:49 +01:00
Uwe Rathmann
a2a2c63678 qskEffectiveGradient fixed 2022-12-22 20:27:17 +01:00
Uwe Rathmann
82cb6e6811 QskGradient::effectiveGradient added 2022-12-22 20:13:45 +01:00
Uwe Rathmann
6ce73136ce reducing the memory used for QskGradient 2022-12-22 17:50:19 +01:00
Uwe Rathmann
4670e3b5d3 wrong vector size fixed 2022-12-22 17:49:02 +01:00
Uwe Rathmann
83556493d4 hash function fixed 2022-12-22 13:04:58 +01:00
Uwe Rathmann
e551906849 QskGradient::StretchMode introduced 2022-12-22 12:38:44 +01:00
Uwe Rathmann
3de71d1bd5 QskGradient::Spread -> QskGradient::SpreadMode 2022-12-22 11:45:23 +01:00
Uwe Rathmann
b98791c421 using QTransform 2022-12-21 13:26:23 +01:00
Uwe Rathmann
26e422ac07 convenience update method added 2022-12-20 16:29:51 +01:00
Uwe Rathmann
4ec304fe91 QGradient replaces when adding a stop at the same position, instaed of
appending it - like how it is with CSS or Qsk. As a workaround we
increase the positon by a small epsilon.
2022-12-20 15:49:09 +01:00
Uwe Rathmann
03d2dad7ca setting QGradient::CoordinateMode when converting into a QGradient 2022-12-20 15:47:26 +01:00
Uwe Rathmann
c66c61de0c missing default seed value added 2022-12-20 15:42:36 +01:00
Peter Hartmann
5e8d03fe50 QskGraphic: Make sure the underlying texture is big enough
Otherwise the scale factors might be off considerably.

Resolves #233
2022-12-15 16:08:23 +01:00
Uwe Rathmann
8318ff757b update issues with gradients fixed 2022-12-10 16:08:32 +01:00
Uwe Rathmann
fd5856cd50 class renamed 2022-12-09 12:03:46 +01:00
Uwe Rathmann
334254caf8 crash fixed for square rectangles with mutiple stops at 0.5 2022-12-09 11:54:42 +01:00
Uwe Rathmann
b36521b0ed code moved to cpp file 2022-12-09 11:50:31 +01:00
Uwe Rathmann
af1f5b8757 QGradint converters fixed 2022-12-09 11:23:32 +01:00
Uwe Rathmann
5f6ab6db42 code moved to QskBoxRenderer.cpp 2022-12-06 16:52:55 +01:00
Uwe Rathmann
e1b65c6dd6 QskBoxRenderer::isGradientSupported also depends on the shape ( at least
in the future )
2022-12-06 16:37:18 +01:00
Uwe Rathmann
8551f4459d gardient check fixed 2022-12-06 16:32:27 +01:00
Uwe Rathmann
3bab38029d wrong update check fixed 2022-12-06 16:31:58 +01:00
Uwe Rathmann
a2e29e0d16 code moved to QskVertex + hiding classes in QskVertex from public use 2022-12-06 13:20:18 +01:00
Uwe Rathmann
778ed1de9e QskBoxRectangleNode supports rounded rectangles now. 2022-12-06 12:12:54 +01:00
Uwe Rathmann
9ae7dc2f63 QskGradientNode renamed to QskRectangleNode 2022-12-06 09:58:46 +01:00
Uwe Rathmann
6d726eee0a QskGradientNode introduced for rectangles filled with any type of
gradient being supported by QskGradient. It is lighter than QskBoxNode,
that is a compositition of border/gradient/shadow. Used for the
background node now - what means, that background can have radial/conic
gradients now as well.
2022-12-05 17:10:13 +01:00
Uwe Rathmann
c31d554d6b QskBoxRenderer::isGradientSupported introduced 2022-12-05 17:08:32 +01:00
Uwe Rathmann
9d409ab89b QskBoxRenderer with static methods 2022-12-05 17:06:55 +01:00
Uwe Rathmann
6ed417873e QskSGNode::resetGeometry added 2022-12-05 17:00:54 +01:00
Uwe Rathmann
296b2f368a code simplified/harmonized 2022-12-05 13:05:13 +01:00
Uwe Rathmann
125fe1e9f4 QskBoxNode renamed to QskBoxRectangleNode, QskShadedBoxNode renamed to QskBoxNode 2022-12-05 12:34:08 +01:00