mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-10-31 10:00:46 +03:00
20 lines
493 B
C++
20 lines
493 B
C++
#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);
|
|
};
|