Qt 4.8
|
#include <private/qimagescale_p.h>
#include <private/qdrawhelper_p.h>
#include "qimage.h"
#include "qcolor.h"
Go to the source code of this file.
Classes | |
struct | QImageScale::QImageScaleInfo |
Namespaces | |
QImageScale | |
Macros | |
#define | A_VAL(p) (qAlpha(*p)) |
#define | B_VAL(p) (qBlue(*p)) |
#define | G_VAL(p) (qGreen(*p)) |
#define | INV_XAP (256 - xapoints[x]) |
#define | INV_YAP (256 - yapoints[dyy + y]) |
#define | R_VAL(p) (qRed(*p)) |
#define | XAP (xapoints[x]) |
#define | YAP (yapoints[dyy + y]) |
Typedefs | |
typedef void(* | qt_qimageScaleFunc) (QImageScale::QImageScaleInfo *isi, unsigned int *dest, int dxx, int dyy, int dx, int dy, int dw, int dh, int dow, int sow) |
Functions | |
int * | QImageScale::qimageCalcApoints (int s, int d, int up) |
QImageScaleInfo * | QImageScale::qimageCalcScaleInfo (const QImage &img, int sw, int sh, int dw, int dh, char aa) |
int * | QImageScale::qimageCalcXPoints (int sw, int dw) |
unsigned int ** | QImageScale::qimageCalcYPoints (unsigned int *src, int sw, int sh, int dh) |
QImageScaleInfo * | QImageScale::qimageFreeScaleInfo (QImageScaleInfo *isi) |
QImage | qSmoothScaleImage (const QImage &src, int dw, int dh) |
static void | qt_qimageScaleAARGB (QImageScale::QImageScaleInfo *isi, unsigned int *dest, int dxx, int dyy, int dx, int dy, int dw, int dh, int dow, int sow) |
static void | qt_qimageScaleAARGBA (QImageScale::QImageScaleInfo *isi, unsigned int *dest, int dxx, int dyy, int dx, int dy, int dw, int dh, int dow, int sow) |
Variables | |
qt_qimageScaleFunc | qt_qimageScaleArgb = qt_qimageScaleAARGBA |
qt_qimageScaleFunc | qt_qimageScaleRgb = qt_qimageScaleAARGB |
#define A_VAL | ( | p | ) | (qAlpha(*p)) |
Definition at line 140 of file qimagescale.cpp.
Referenced by qt_qimageScaleAARGBA().
#define B_VAL | ( | p | ) | (qBlue(*p)) |
Definition at line 143 of file qimagescale.cpp.
Referenced by qt_qimageScaleAARGB(), and qt_qimageScaleAARGBA().
#define G_VAL | ( | p | ) | (qGreen(*p)) |
Definition at line 142 of file qimagescale.cpp.
Referenced by qt_qimageScaleAARGB(), and qt_qimageScaleAARGBA().
#define INV_XAP (256 - xapoints[x]) |
Definition at line 145 of file qimagescale.cpp.
Referenced by qt_qimageScaleAARGB(), and qt_qimageScaleAARGBA().
#define INV_YAP (256 - yapoints[dyy + y]) |
Definition at line 147 of file qimagescale.cpp.
Referenced by qt_qimageScaleAARGB(), and qt_qimageScaleAARGBA().
#define R_VAL | ( | p | ) | (qRed(*p)) |
Definition at line 141 of file qimagescale.cpp.
Referenced by qt_qimageScaleAARGB(), and qt_qimageScaleAARGBA().
#define XAP (xapoints[x]) |
Definition at line 146 of file qimagescale.cpp.
Referenced by qt_qimageScaleAARGB(), and qt_qimageScaleAARGBA().
#define YAP (yapoints[dyy + y]) |
Definition at line 148 of file qimagescale.cpp.
Referenced by qt_qimageScaleAARGB(), and qt_qimageScaleAARGBA().
typedef void(* qt_qimageScaleFunc) (QImageScale::QImageScaleInfo *isi, unsigned int *dest, int dxx, int dyy, int dx, int dy, int dw, int dh, int dow, int sow) |
Definition at line 53 of file qimagescale.cpp.
Definition at line 1000 of file qimagescale.cpp.
Referenced by smoothScaled().
|
static |
Definition at line 669 of file qimagescale.cpp.
|
static |
Definition at line 310 of file qimagescale.cpp.
Referenced by qt_qimageScaleAARGB().
qt_qimageScaleFunc qt_qimageScaleArgb = qt_qimageScaleAARGBA |
Definition at line 65 of file qimagescale.cpp.
Referenced by qSmoothScaleImage().
qt_qimageScaleFunc qt_qimageScaleRgb = qt_qimageScaleAARGB |
Definition at line 66 of file qimagescale.cpp.
Referenced by qSmoothScaleImage().