5 /* ============================================================================
6 * PUBLIC Constructor/Destructors
8 THImage::THImage (const QSize& size, Format format)
13 THImage::THImage (int width, int height, Format format)
14 : QImage(width, height, format)
18 THImage::THImage (uchar *data, int width, int height, Format format)
19 : QImage(data, width, height, format)
23 THImage::THImage (const uchar *data, int width, int height, Format format)
24 : QImage(data, width, height, format)
28 THImage::THImage (uchar *data, int width, int height, int bytesPerLine, Format format)
29 : QImage(data, width, height, bytesPerLine, format)
33 THImage::THImage (const uchar *data, int width, int height, int bytesPerLine, Format format)
34 : QImage(data, width, height, bytesPerLine, format)
38 THImage::THImage (const QString& fileName, const char *format)
39 : QImage(fileName, format)
43 THImage::THImage (const char *fileName, const char *format)
44 : QImage(fileName, format)
48 THImage::THImage (const QImage& image)
56 /* ============================================================================
59 void THImage::expblur(int aprec, int zprec, int radius) {
60 ImageBlur::expblur(this, aprec, zprec, radius);
62 #include <QCoreApplication>
64 void THImage::shadowBlur (int radius, const QColor& color) {
65 ImageBlur::expblur(this, 16, 7, radius);
68 p.setCompositionMode(QPainter::CompositionMode_SourceIn);
69 p.fillRect(rect(), color);