6 #include <QtCore/qmath.h>
25 vector<QVector3D> createSubImage(
26 const int &x,
const int &y,
27 const int &width,
const int &height,
36 QImage createSubImage(
37 const QImage &image,
const QRect & rect);
52 const int &x,
const int &y,
53 const int &width,
const int &height,
54 const QVector2D &gradient,
const QImage &orig,
55 vector<QVector3D> &subImage1, vector<QVector3D> &subImage2);
64 void drawSubImage(
int x,
int y,
const QImage &subImage, QImage &image);
73 void drawSubImage(
int x,
int y,
int sideSize,
const QColor &color, QImage &image);
82 void drawCross(
int x,
int y,
int sideSize,
const QColor &color, QImage &image);
91 void drawCircle(
int x,
int y,
int sideSize,
const QColor &color, QImage &image);
105 float luminance(
const QColor &color);
112 QImage flipImageHorizontally(
const QImage &image);