#include "qplatformdefs.h"
#include "qbitmap.h"
#include "qpaintdevicemetrics.h"
#include "qimage.h"
#include "qwmatrix.h"
#include "qapplication.h"
#include "qt_x11_p.h"
#include <stdlib.h>
Documentación de los 'defines'
Valor:int pixel; \
if ( d8 ) pixel = pix[*src++]; \
else { \
GET_RGB \
pixel = (b & blue_mask)|(g & green_mask) | (r & red_mask) \
| ~(blue_mask | green_mask | red_mask); \
}
#define GET_PIXEL_DITHER_TC |
Valor:int r = qRed ( *p ); \
int g = qGreen( *p ); \
int b = qBlue ( *p++ ); \
const int thres = D[x%16][y%16]; \
if ( r <= (255-(1<<(8-rbits))) && ((r<<rbits) & 255) \
> thres) \
r += (1<<(8-rbits)); \
if ( g <= (255-(1<<(8-gbits))) && ((g<<gbits) & 255) \
> thres) \
g += (1<<(8-gbits)); \
if ( b <= (255-(1<<(8-bbits))) && ((b<<bbits) & 255) \
> thres) \
b += (1<<(8-bbits)); \
r = red_shift > 0 \
? r << red_shift : r >> -red_shift; \
g = green_shift > 0 \
? g << green_shift : g >> -green_shift; \
b = blue_shift > 0 \
? b << blue_shift : b >> -blue_shift; \
int pixel = (b & blue_mask)|(g & green_mask) | (r & red_mask);
Valor:int r = qRed ( *p ); \
int g = qGreen( *p ); \
int b = qBlue ( *p++ ); \
r = red_shift > 0 \
? r << red_shift : r >> -red_shift; \
g = green_shift > 0 \
? g << green_shift : g >> -green_shift; \
b = blue_shift > 0 \
? b << blue_shift : b >> -blue_shift;
Documentación de las funciones
const uchar* qt_get_bitflip_array |
( |
| ) |
|
XftDraw* XftDrawCreateAlpha |
( |
Display * |
, |
|
|
Qt::HANDLE |
, |
|
|
int |
|
|
) |
| |
Documentación de las variables