mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-23 11:28:49 +03:00
24 lines
553 B
C++
24 lines
553 B
C++
// SPDX-FileCopyrightText: 2021 Nheko Contributors
|
|
//
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <QColor>
|
|
|
|
class QPainter;
|
|
|
|
class DropShadow
|
|
{
|
|
public:
|
|
static void draw(QPainter &painter,
|
|
qint16 margin,
|
|
qreal radius,
|
|
QColor start,
|
|
QColor end,
|
|
qreal startPosition,
|
|
qreal endPosition0,
|
|
qreal endPosition1,
|
|
qreal width,
|
|
qreal height);
|
|
};
|