matrixion/src/ui/DropShadow.h

25 lines
593 B
C
Raw Normal View History

2021-03-05 02:35:15 +03:00
// SPDX-FileCopyrightText: 2021 Nheko Contributors
//
// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
#include <QColor>
2020-01-31 08:12:02 +03:00
class QPainter;
class DropShadow
{
public:
2017-09-10 12:59:21 +03:00
static void draw(QPainter &painter,
qint16 margin,
qreal radius,
QColor start,
QColor end,
qreal startPosition,
qreal endPosition0,
qreal endPosition1,
qreal width,
2020-01-31 08:12:02 +03:00
qreal height);
};