src/gui/painting/qdrawhelper_p.h
changeset 33 3e2da88830cd
parent 30 5dc02b23752f
child 37 758a864f9613
equal deleted inserted replaced
30:5dc02b23752f 33:3e2da88830cd
   150                                      const QRectF &sourceRect,
   150                                      const QRectF &sourceRect,
   151                                      const QRect &clipRect,
   151                                      const QRect &clipRect,
   152                                      const QTransform &targetRectTransform,
   152                                      const QTransform &targetRectTransform,
   153                                      int const_alpha);
   153                                      int const_alpha);
   154 
   154 
       
   155 typedef void (*MemRotateFunc)(const uchar *srcPixels, int w, int h, int sbpl, uchar *destPixels, int dbpl);
   155 
   156 
   156 struct DrawHelper {
   157 struct DrawHelper {
   157     ProcessSpans blendColor;
   158     ProcessSpans blendColor;
   158     ProcessSpans blendGradient;
   159     ProcessSpans blendGradient;
   159     BitmapBlitFunc bitmapBlit;
   160     BitmapBlitFunc bitmapBlit;
   163 };
   164 };
   164 
   165 
   165 extern SrcOverBlendFunc qBlendFunctions[QImage::NImageFormats][QImage::NImageFormats];
   166 extern SrcOverBlendFunc qBlendFunctions[QImage::NImageFormats][QImage::NImageFormats];
   166 extern SrcOverScaleFunc qScaleFunctions[QImage::NImageFormats][QImage::NImageFormats];
   167 extern SrcOverScaleFunc qScaleFunctions[QImage::NImageFormats][QImage::NImageFormats];
   167 extern SrcOverTransformFunc qTransformFunctions[QImage::NImageFormats][QImage::NImageFormats];
   168 extern SrcOverTransformFunc qTransformFunctions[QImage::NImageFormats][QImage::NImageFormats];
       
   169 extern MemRotateFunc qMemRotateFunctions[QImage::NImageFormats][3];
   168 
   170 
   169 extern DrawHelper qDrawHelper[QImage::NImageFormats];
   171 extern DrawHelper qDrawHelper[QImage::NImageFormats];
   170 
   172 
   171 void qBlendTexture(int count, const QSpan *spans, void *userData);
   173 void qBlendTexture(int count, const QSpan *spans, void *userData);
   172 #if defined(Q_WS_QWS) && !defined(QT_NO_RASTERCALLBACKS)
   174 #if defined(Q_WS_QWS) && !defined(QT_NO_RASTERCALLBACKS)