Uwe Rathmann
1ab236de9f
better fading support for popups, being used in QskDrawer/QskMenu/QskSubWindow
2023-11-03 18:13:24 +01:00
Uwe Rathmann
e56360480f
using 0/1 for closed/open ( instead of 1/0 )
2023-10-18 15:07:29 +02:00
Uwe Rathmann
3ecd8f337e
code moved from QskPopupSkinlet to QskSlideInNode
2023-10-15 15:44:09 +02:00
Uwe Rathmann
d43d6bfce2
missing forward declaration added
2023-07-20 08:29:32 +02:00
Uwe Rathmann
23f970650f
always use stencil clipping - unfortunately the batch renderer
...
introduces rounding errors for the significantly faster scissor clips
2023-07-19 15:10:25 +02:00
Uwe Rathmann
34776ee664
using QskLinesNode in the dials example
2023-06-05 10:42:05 +02:00
Uwe Rathmann
587183993b
QskLinesNode improvements
2023-05-25 15:03:48 +02:00
Uwe Rathmann
3c62809308
exporting resetGeometry
2023-05-25 14:58:37 +02:00
Uwe Rathmann
d84e75a3d1
implementation of QskStippleMetrics completed
2023-05-25 14:52:54 +02:00
Uwe Rathmann
5d3cba5650
QskLinesNode reorganized
2023-05-17 16:46:25 +02:00
Uwe Rathmann
bf19d6464c
QskLinesNode introduced
2023-05-17 14:21:40 +02:00
Uwe Rathmann
8f4d008900
conveniece methods ( without QTransform ) added
2023-05-08 09:37:43 +02:00
Uwe Rathmann
ffe4e11b21
QskStrokeNode with colored matarial for better batching. option for
...
simple polygons added without line joining added
2023-05-02 18:04:23 +02:00
Uwe Rathmann
7796e11b03
getter added
2023-04-24 11:55:36 +02:00
Uwe Rathmann
d647f222d3
using 6.2 shader baker
2023-04-20 13:23:11 +02:00
Uwe Rathmann
64db2d0117
code moved from QskArcRenderer to QskArcMetrics
2023-04-19 12:16:40 +02:00
Uwe Rathmann
c9063fd87e
arcPath fixed to match conic gradients for ellipsoid arcs
2023-04-18 16:11:04 +02:00
Uwe Rathmann
9e99735d2f
aspectRatio for conic gradients added to support f.e for filling ellipsoid arcs.
2023-04-18 16:08:37 +02:00
Uwe Rathmann
3210242276
using "unstretched" conic gradients
2023-04-17 17:29:47 +02:00
Uwe Rathmann
1197a5983c
compare operation for conic gradients fixed
2023-04-17 17:28:06 +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
98cb1b256b
missing dummy destructor added
2023-04-12 12:17:38 +02:00
Uwe Rathmann
7ddae671e2
API of classes dealing with arcs improved
2023-04-11 13:04:10 +02:00
Uwe Rathmann
6c2713c1f9
avoid clang warnings
2023-04-06 10:06:00 +02:00
Uwe Rathmann
9e583166ff
BSD-3-Clause license
2023-04-06 09:23:37 +02:00
Uwe Rathmann
1ac6334c0e
avoidable private includes removed
2023-04-05 09:56:28 +02:00
Uwe Rathmann
658bc71891
fixig pedantic compiler warnings
2023-04-04 09:05:16 +02:00
Uwe Rathmann
7e36893d1c
compiler warnings fixed
2023-04-04 08:49:11 +02:00
Peter Hartmann
caf75721d4
tickmarks: support alignment
2023-02-28 16:11:27 +01:00
Uwe Rathmann
f89ab863f6
always inserting the connecting line between border and filling, when
...
using different strokers
2023-02-14 13:44:52 +01:00
Uwe Rathmann
126c276eac
better decisions for the direction of filling gradient lines
2023-02-14 11:19:13 +01:00
Uwe Rathmann
b8f198a97a
irrelevant micro optimzation removed, that was using the wrong corner
...
iteration
2023-02-14 09:29:51 +01:00
Uwe Rathmann
31feeff9aa
Complete support of linear gradients from the box renderer - only
...
expection are reflect/repeat spreading.
Code has been reimplemented or cleaned up significantly
2023-02-08 17:58:09 +01:00
Uwe Rathmann
9d4c423591
color ramp calculation fixed for gradients with many stops
2023-02-04 11:53:23 +01:00
Uwe Rathmann
910a8a730f
corner -> corners
2023-01-24 19:49:15 +01:00
Uwe Rathmann
83ce3dbbf9
convenience setter added
2023-01-24 19:48:04 +01:00
Uwe Rathmann
bd25e8ae23
explanation added
2023-01-24 19:47:37 +01:00
Uwe Rathmann
76a7e94358
default value for reset added
2023-01-23 11:00:03 +01:00
Uwe Rathmann
ad09186229
QskGradientDirection::contais added
2023-01-23 10:59:34 +01:00
Uwe Rathmann
6e2769edfa
QskVertex::fillOrdered renamed to QskVertex::fillBox
2023-01-17 15:41:12 +01:00
Uwe Rathmann
cd4a46cc11
de-template-ified: much better starting point for the fixes to come
2023-01-12 20:26:51 +01:00
Uwe Rathmann
a916bd78c2
codemoved to QskRoundedRect.hpp/QskRoundedRect.h
2023-01-12 14:33:31 +01:00
Uwe Rathmann
c670d23582
QskRoundedRectRenderer reorganized
2023-01-11 17:40:25 +01:00
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
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
fba8b97a74
monochrome gradients are rendered vertically
2022-12-24 12:22:42 +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
4670e3b5d3
wrong vector size fixed
2022-12-22 17:49:02 +01:00
Uwe Rathmann
3de71d1bd5
QskGradient::Spread -> QskGradient::SpreadMode
2022-12-22 11:45:23 +01:00
Uwe Rathmann
26e422ac07
convenience update method added
2022-12-20 16:29:51 +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
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
Uwe Rathmann
d82f3d08ff
calculating vertexes manually instead of using the expensive painter
...
path triangulator
2022-12-05 11:39:09 +01:00
Uwe Rathmann
4888fcc5ba
crash fixed
2022-12-05 11:18:35 +01:00
Uwe Rathmann
f4275c5098
using the more efficient QVector< qreal > instead of QPainterPath
2022-12-04 21:13:14 +01:00
Uwe Rathmann
4dddb8abf5
unused method removed
2022-12-04 21:13:00 +01:00
Uwe Rathmann
7abd90b2dd
Finally all types of gradients can be set to boxes.
...
For radial/conic and tilted linear gradients shape/border metrics
will be translated into a QPainterPath to be fed into the triangulation.
However the borders remain being done by QskBoxRenderer.
2022-12-04 19:54:05 +01:00
Uwe Rathmann
38cbefac78
using QskGradient::firstColor
2022-12-04 19:53:25 +01:00
Uwe Rathmann
7eecc63571
QPainterPath support added
2022-12-04 19:52:07 +01:00
Uwe Rathmann
0925b40b7a
QGradient::Spread -> QskGradient::Spread
2022-12-01 12:03:36 +01:00
Uwe Rathmann
974e7372dd
code moved to QskColorRamp
2022-11-16 17:26:50 +01:00
Uwe Rathmann
0f028e4239
qsb files recreated
2022-11-16 16:00:36 +01:00
Uwe Rathmann
ff0599686d
unused parameters removed
2022-11-16 14:33:10 +01:00
Uwe Rathmann
18b0594cd6
internal API simplyfied
2022-11-16 14:23:47 +01:00
Uwe Rathmann
615e0016c2
working more with RGBA values instead of QColor
2022-11-16 13:46:37 +01:00
Uwe Rathmann
70f4d28285
using QRgb instead of QColor
2022-11-14 09:01:07 +01:00
Uwe Rathmann
b140d1b30a
QskGradientDirection introduced - no more classes derived from
...
QskGradient
2022-11-13 17:22:09 +01:00
Uwe Rathmann
a658a2a4e4
palette -> colorRamp
2022-11-13 11:05:53 +01:00