Commit Graph

14 Commits

Author SHA1 Message Date
Uwe Rathmann 98967a5619 QskArcRenderer API in line with QskBoxRenderer 2024-09-19 10:49:36 +02:00
Uwe Rathmann b97507bf84 wip 2024-09-02 12:00:41 +02:00
Uwe Rathmann a54afb5305 QskArcRenderNode doing border/filling in one node 2024-07-24 15:00:05 +02:00
Uwe Rathmann ac68b66b4e radial arcs added 2024-06-12 12:10:57 +02:00
Uwe Rathmann 36f088a263 preperations for non monochrome gradients 2024-06-03 18:23:43 +02:00
Uwe Rathmann fb635664de special code for corner cases disabled 2024-06-03 15:36:15 +02:00
Uwe Rathmann aba7656d2a proportional arc thickness - like what the Qt rendering classes do 2024-05-15 09:27:52 +02:00
Uwe Rathmann 49e1d54724 QskArcRenderer started with some boilerplate code 2024-04-24 11:25:06 +02:00
Uwe Rathmann 64db2d0117 code moved from QskArcRenderer to QskArcMetrics 2023-04-19 12:16:40 +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
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