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
12
class
QskBoxShapeMetrics
;
13
class
QskBoxBorderMetrics
;
14
class
QskBoxMetrics
;
15
16
namespace
QskVertex {
class
ColoredLine; }
17
18
class
QskBoxGradientStroker
19
{
20
public
:
21
QskBoxGradientStroker
(
const
QskBoxMetrics
&,
const
QskGradient
& );
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
QskBoxBorderMetrics
Definition
QskBoxBorderMetrics.h:18
QskBoxGradientStroker
Definition
QskBoxGradientStroker.h:19
QskBoxMetrics
Definition
QskBoxMetrics.h:17
QskBoxShapeMetrics
Definition
QskBoxShapeMetrics.h:18
QskGradient
Definition
QskGradient.h:22
QskLinearDirection
Definition
QskGradientDirection.h:16
QskVertex::ColoredLine
Definition
QskVertex.h:163
src
nodes
QskBoxGradientStroker.h
Generated by
1.9.8