chore: 格式化ElaWidgetTools代码
This commit is contained in:
@@ -6,21 +6,20 @@
|
||||
#include "ElaProperty.h"
|
||||
|
||||
class ElaExponentialBlur;
|
||||
class ElaExponentialBlurPrivate : public QObject
|
||||
{
|
||||
class ElaExponentialBlurPrivate : public QObject {
|
||||
Q_OBJECT
|
||||
Q_D_CREATE(ElaExponentialBlur)
|
||||
public:
|
||||
explicit ElaExponentialBlurPrivate(QObject* parent = nullptr);
|
||||
explicit ElaExponentialBlurPrivate(QObject *parent = nullptr);
|
||||
~ElaExponentialBlurPrivate();
|
||||
|
||||
private:
|
||||
static int _aprec;
|
||||
static int _zprec;
|
||||
static void _drawExponentialBlur(QImage& image, const quint16& qRadius);
|
||||
static void _drawRowBlur(QImage& image, const int& row, const int& alpha);
|
||||
static void _drawColumnBlur(QImage& image, const int& column, const int& alpha);
|
||||
static void _drawInnerBlur(unsigned char* bptr, int& zR, int& zG, int& zB, int& zA, int alpha);
|
||||
static int _aprec;
|
||||
static int _zprec;
|
||||
static void _drawExponentialBlur(QImage &image, const quint16 &qRadius);
|
||||
static void _drawRowBlur(QImage &image, const int &row, const int &alpha);
|
||||
static void _drawColumnBlur(QImage &image, const int &column, const int &alpha);
|
||||
static void _drawInnerBlur(unsigned char *bptr, int &zR, int &zG, int &zB, int &zA, int alpha);
|
||||
};
|
||||
|
||||
#endif // ELAEXPONENTIALBLURPRIVATE_H
|
||||
|
||||
Reference in New Issue
Block a user