QSkinny 0.8.0
C++/Qt UI toolkit
Loading...
Searching...
No Matches
QskBoxGradientStroker.h
1/******************************************************************************
2 * QSkinny - Copyright (C) The authors
3 * SPDX-License-Identifier: BSD-3-Clause
4 *****************************************************************************/
5
6#ifndef QSK_BOX_GRADIENT_STROKER_H
7#define QSK_BOX_GRADIENT_STROKER_H
8
9#include "QskGradient.h"
10#include "QskGradientDirection.h"
11
14class QskBoxMetrics;
15
16namespace QskVertex { class ColoredLine; }
17
19{
20 public:
22
23 int lineCount() const;
24 void setLines( int lineCount, QskVertex::ColoredLine* );
25
26 private:
27 void setFillLines( int lineCount, QskVertex::ColoredLine* );
28
29 const QskBoxMetrics& m_metrics;
30 const QskGradient m_gradient;
31 const QskLinearDirection m_dir;
32};
33
34#endif