Commit Graph

27 Commits

Author SHA1 Message Date
Uwe Rathmann ab2c36ea5a QskArcHints introduced, API mess for defining arcs in QskSkinlet reduced 2025-03-12 10:40:03 +01:00
Uwe Rathmann 4e6ee36420 NodeRole enums qualified as quint8 2024-12-09 14:53:59 +01:00
Uwe Rathmann af34d7b8f2 arc shadow shader moved to playground shadows - the algo does not match
the arc renderer.
2024-09-30 12:06:51 +02:00
Uwe Rathmann a946394e9d code of QskBoxNode/QskArcNode aligned 2024-09-24 10:17:10 +02:00
Uwe Rathmann 25b9423ae4 QskRgb::isVisible introduced 2024-09-24 10:14:26 +02:00
Uwe Rathmann b69f84e865 handling of arcs improved 2024-09-23 16:04:09 +02:00
Uwe Rathmann 68e9303357 QskArcRenderer introduced 2024-09-11 10:24:22 +02:00
Uwe Rathmann 69098643ff code moved to QskArcMetrics 2024-06-12 12:40:11 +02:00
Uwe Rathmann 319abafb0d bad shadowColor check fixed 2024-05-21 16:08:40 +02:00
Uwe Rathmann 511db2650e copyright notice generalised 2024-01-17 14:31:45 +01:00
Uwe Rathmann e63b064f5a QskArcShadowNode introduced ( kudos to Rick ) 2024-01-06 15:05:30 +01:00
Uwe Rathmann 64db2d0117 code moved from QskArcRenderer to QskArcMetrics 2023-04-19 12:16:40 +02:00
Uwe Rathmann 3210242276 using "unstretched" conic gradients 2023-04-17 17:29:47 +02:00
Uwe Rathmann 785cb33739 QskArcNode supports borders now 2023-04-17 10:54:44 +02:00
Uwe Rathmann 328e6a9e6f QskArcNode as composite of fill/border nodes 2023-04-14 12:44:49 +02:00
Uwe Rathmann 73dd618626 working on arcs 2023-04-14 09:47:10 +02:00
Uwe Rathmann 45a1bc3564 QskArcNode is a QskShapeNode now.
The performance of the previous implementation was simply horrible,
when drawing an arc with a small span angle. The size of the corresponding full circle
is huge and the previous implementation always created an image/texture with
that size.

However the final implementation is supposed to create vertex lists
- like what the box renderer does. So this code will also not stay forever.
2023-04-12 12:19:26 +02:00
Uwe Rathmann 7ddae671e2 API of classes dealing with arcs improved 2023-04-11 13:04:10 +02:00
Uwe Rathmann 9e583166ff BSD-3-Clause license 2023-04-06 09:23:37 +02:00
Uwe Rathmann 7e36893d1c compiler warnings fixed 2023-04-04 08:49:11 +02:00
Uwe Rathmann 6fef215310 using QskGradient::hash 2022-10-14 17:13:33 +02:00
Uwe Rathmann 54b55c0324 default graphic pipeline without native OpenGL calls.
code is QRHI compiant now
2022-06-02 16:02:42 +02:00
Uwe Rathmann e1a58f84ee QskPaintedNode improved 2022-06-01 16:57:57 +02:00
Uwe Rathmann 55d5f99575 introducing QskHashValue to work around Qt5/6 incompatibilities 2022-03-25 10:28:06 +01:00
Uwe Rathmann b89fa86b67 using qAsConst 2022-03-24 10:39:33 +01:00
Uwe Rathmann ca2cdf7663 beautified 2021-12-23 19:05:59 +01:00
Peter Hartmann b89621a3d4
Iot dashboard arc rendering (#134)
* add QskArcNode and QskArcRenderer

* IOT example: Use QskArcNode instead of own arc node

* move some functionality to the arc renderer

* add QskArcMetrics

* add methods to QskSkinlet

* remove circular bar graph node

We can now use updateArcNode() and don't need our own method.

* support linear gradients in the arc renderer

* clean up

* incorporate Uwe's changes

* add overloads for updateArcNode() when the angles are set dynamically

The angles don't always come from the style, so we need overloads
in QskSkinlet to set them dynamically.
2021-10-20 07:50:25 +02:00