Qt 4.8
|
#include <qdrawhelper_p.h>
Public Types | |
enum | Type { None, Solid, LinearGradient, RadialGradient, ConicalGradient, Texture } |
Public Functions | |
void | adjustSpanMethods () |
void | init (QRasterBuffer *rb, const QRasterPaintEngine *pe) |
void | initTexture (const QImage *image, int alpha, QTextureData::Type=QTextureData::Plain, const QRect &sourceRect=QRect()) |
QSpanData () | |
void | setup (const QBrush &brush, int alpha, QPainter::CompositionMode compositionMode) |
void | setupMatrix (const QTransform &matrix, int bilinear) |
~QSpanData () | |
Public Variables | |
union { | |
QGradientData gradient | |
QSolidData solid | |
QTextureData texture | |
}; | |
AlphamapBlitFunc | alphamapBlit |
AlphaRGBBlitFunc | alphaRGBBlit |
bool | bilinear |
BitmapBlitFunc | bitmapBlit |
ProcessSpans | blend |
const QClipData * | clip |
qreal | dx |
qreal | dy |
int | fast_matrix: 1 |
RectFillFunc | fillRect |
qreal | m11 |
qreal | m12 |
qreal | m13 |
qreal | m21 |
qreal | m22 |
qreal | m23 |
qreal | m33 |
QRasterBuffer * | rasterBuffer |
QRasterPaintEngine * | rasterEngine |
QImage * | tempImage |
int | txop: 8 |
enum QSpanData::Type | type |
ProcessSpans | unclipped_blend |
Definition at line 311 of file qdrawhelper_p.h.
enum QSpanData::Type |
Enumerator | |
---|---|
None | |
Solid | |
LinearGradient | |
RadialGradient | |
ConicalGradient | |
Texture |
Definition at line 328 of file qdrawhelper_p.h.
|
inline |
Definition at line 313 of file qdrawhelper_p.h.
|
inline |
Definition at line 314 of file qdrawhelper_p.h.
void QSpanData::adjustSpanMethods | ( | ) |
Definition at line 4927 of file qpaintengine_raster.cpp.
Referenced by QRasterPaintEngine::drawImage(), QRasterPaintEngine::fillRect(), qrasterpaintengine_dirty_clip(), and QRasterPaintEnginePrivate::updateMatrixData().
void QSpanData::init | ( | QRasterBuffer * | rb, |
const QRasterPaintEngine * | pe | ||
) |
Definition at line 4801 of file qpaintengine_raster.cpp.
Referenced by QRasterPaintEngine::begin(), blendCursor(), QScreen::compose(), and QScreen::paintBackground().
void QSpanData::initTexture | ( | const QImage * | image, |
int | alpha, | ||
QTextureData::Type | _type = QTextureData::Plain , |
||
const QRect & | sourceRect = QRect() |
||
) |
Definition at line 5010 of file qpaintengine_raster.cpp.
Referenced by blendCursor(), QScreen::compose(), QRasterPaintEngine::drawImage(), and QRasterPaintEngine::drawTiledPixmap().
void QSpanData::setup | ( | const QBrush & | brush, |
int | alpha, | ||
QPainter::CompositionMode | compositionMode | ||
) |
Definition at line 4817 of file qpaintengine_raster.cpp.
Referenced by QRasterPaintEngine::begin(), QScreen::compose(), QScreen::paintBackground(), QRasterPaintEngine::updateBrush(), and QRasterPaintEngine::updatePen().
void QSpanData::setupMatrix | ( | const QTransform & | matrix, |
int | bilinear | ||
) |
Definition at line 4979 of file qpaintengine_raster.cpp.
Referenced by QRasterPaintEngine::drawImage(), QRasterPaintEngine::drawTiledPixmap(), and QRasterPaintEnginePrivate::updateMatrixData().
union { ... } |
AlphamapBlitFunc QSpanData::alphamapBlit |
Definition at line 323 of file qdrawhelper_p.h.
Referenced by QRasterPaintEngine::alphaPenBlt().
AlphaRGBBlitFunc QSpanData::alphaRGBBlit |
Definition at line 324 of file qdrawhelper_p.h.
Referenced by QRasterPaintEngine::alphaPenBlt().
bool QSpanData::bilinear |
Definition at line 338 of file qdrawhelper_p.h.
Referenced by getBlendType(), and QRasterPaintEnginePrivate::updateMatrixData().
BitmapBlitFunc QSpanData::bitmapBlit |
Definition at line 322 of file qdrawhelper_p.h.
Referenced by QRasterPaintEngine::alphaPenBlt().
ProcessSpans QSpanData::blend |
Definition at line 320 of file qdrawhelper_p.h.
Referenced by QRasterPaintEngine::alphaPenBlt(), blendCursor(), QScreen::compose(), QRasterPaintEngine::drawBitmap(), QRasterPaintEngine::drawImage(), QRasterPaintEngine::drawLines(), QRasterPaintEngine::drawPoints(), QRasterPaintEngine::drawPolygon(), QRasterPaintEngine::drawRects(), QRasterPaintEngine::drawTiledPixmap(), QRasterPaintEngine::fill(), QRasterPaintEngine::fillPath(), QRasterPaintEngine::fillRect(), fillRect_normalized(), QRasterPaintEnginePrivate::getBrushFunc(), QRasterPaintEnginePrivate::getPenFunc(), QRasterPaintEnginePrivate::initializeRasterizer(), QScreen::paintBackground(), qt_span_fill_clipped(), qt_span_fill_clipRect(), QRasterPaintEngine::stroke(), and QRasterPaintEngine::updatePen().
const QClipData* QSpanData::clip |
Definition at line 327 of file qdrawhelper_p.h.
Referenced by QRasterPaintEngine::drawImage(), QRasterPaintEngine::drawTiledPixmap(), QRasterPaintEngine::fillRect(), fillRect_normalized(), qrasterpaintengine_dirty_clip(), qt_span_fill_clipped(), qt_span_fill_clipRect(), QRasterPaintEngine::updateBrush(), and QRasterPaintEngine::updatePen().
qreal QSpanData::dx |
Definition at line 326 of file qdrawhelper_p.h.
Referenced by blend_tiled_argb(), blend_tiled_generic(), blend_transformed_argb(), blend_transformed_tiled_argb(), blend_untransformed_argb(), blend_untransformed_generic(), blendCursor(), blendTiled(), blendTransformed(), blendTransformedBilinear(), blendTransformedTiled(), blendUntransformed(), QScreen::compose(), QRasterPaintEngine::drawImage(), QRasterPaintEngine::drawTiledPixmap(), fetchTransformed(), fetchTransformedBilinear(), QScreen::paintBackground(), qt_fetch_conical_gradient(), qt_fetch_linear_gradient(), and QRasterPaintEnginePrivate::updateMatrixData().
qreal QSpanData::dy |
Definition at line 326 of file qdrawhelper_p.h.
Referenced by blend_tiled_argb(), blend_tiled_generic(), blend_transformed_argb(), blend_transformed_tiled_argb(), blend_untransformed_argb(), blend_untransformed_generic(), blendCursor(), blendTiled(), blendTransformed(), blendTransformedBilinear(), blendTransformedTiled(), blendUntransformed(), QScreen::compose(), QRasterPaintEngine::drawImage(), QRasterPaintEngine::drawTiledPixmap(), fetchTransformed(), fetchTransformedBilinear(), QScreen::paintBackground(), qt_fetch_conical_gradient(), qt_fetch_linear_gradient(), qt_gradient_quint16(), qt_gradient_quint32(), and QRasterPaintEnginePrivate::updateMatrixData().
int QSpanData::fast_matrix |
Definition at line 337 of file qdrawhelper_p.h.
Referenced by blend_transformed_argb(), blend_transformed_tiled_argb(), blendTransformed(), blendTransformedBilinear(), blendTransformedTiled(), fetchTransformed(), fetchTransformedBilinear(), and QRasterPaintEnginePrivate::updateMatrixData().
RectFillFunc QSpanData::fillRect |
Definition at line 325 of file qdrawhelper_p.h.
Referenced by fillRect_normalized().
QGradientData QSpanData::gradient |
Definition at line 342 of file qdrawhelper_p.h.
Referenced by QRadialFetchSimd< Simd >::fetch(), RadialFetchPlain::fetch(), getLinearGradientValues(), getOperator(), getRadialGradientValues(), qt_fetch_conical_gradient(), qt_fetch_linear_gradient(), qt_gradient_quint16(), and qt_gradient_quint32().
qreal QSpanData::m11 |
Definition at line 326 of file qdrawhelper_p.h.
Referenced by blend_transformed_argb(), blend_transformed_tiled_argb(), blendTransformed(), blendTransformedBilinear(), blendTransformedTiled(), fetchTransformed(), fetchTransformedBilinear(), qt_fetch_conical_gradient(), qt_fetch_linear_gradient(), and QRasterPaintEnginePrivate::updateMatrixData().
qreal QSpanData::m12 |
Definition at line 326 of file qdrawhelper_p.h.
Referenced by blend_transformed_argb(), blend_transformed_tiled_argb(), blendTransformed(), blendTransformedBilinear(), blendTransformedTiled(), fetchTransformed(), fetchTransformedBilinear(), qt_fetch_conical_gradient(), qt_fetch_linear_gradient(), and QRasterPaintEnginePrivate::updateMatrixData().
qreal QSpanData::m13 |
Definition at line 326 of file qdrawhelper_p.h.
Referenced by blend_transformed_argb(), blend_transformed_tiled_argb(), blendTransformed(), blendTransformedBilinear(), blendTransformedTiled(), fetchTransformed(), fetchTransformedBilinear(), qt_fetch_conical_gradient(), qt_fetch_linear_gradient(), and QRasterPaintEnginePrivate::updateMatrixData().
qreal QSpanData::m21 |
Definition at line 326 of file qdrawhelper_p.h.
Referenced by blend_transformed_argb(), blend_transformed_tiled_argb(), blendTransformed(), blendTransformedBilinear(), blendTransformedTiled(), fetchTransformed(), fetchTransformedBilinear(), qt_fetch_conical_gradient(), qt_fetch_linear_gradient(), and QRasterPaintEnginePrivate::updateMatrixData().
qreal QSpanData::m22 |
Definition at line 326 of file qdrawhelper_p.h.
Referenced by blend_transformed_argb(), blend_transformed_tiled_argb(), blendTransformed(), blendTransformedBilinear(), blendTransformedTiled(), fetchTransformed(), fetchTransformedBilinear(), qt_fetch_conical_gradient(), qt_fetch_linear_gradient(), qt_gradient_quint16(), qt_gradient_quint32(), and QRasterPaintEnginePrivate::updateMatrixData().
qreal QSpanData::m23 |
Definition at line 326 of file qdrawhelper_p.h.
Referenced by blend_transformed_argb(), blend_transformed_tiled_argb(), blendTransformed(), blendTransformedBilinear(), blendTransformedTiled(), fetchTransformed(), fetchTransformedBilinear(), qt_fetch_conical_gradient(), qt_fetch_linear_gradient(), and QRasterPaintEnginePrivate::updateMatrixData().
qreal QSpanData::m33 |
Definition at line 326 of file qdrawhelper_p.h.
Referenced by blend_transformed_argb(), blend_transformed_tiled_argb(), blendTransformed(), blendTransformedBilinear(), blendTransformedTiled(), fetchTransformed(), fetchTransformedBilinear(), qt_fetch_conical_gradient(), qt_fetch_linear_gradient(), and QRasterPaintEnginePrivate::updateMatrixData().
QRasterBuffer* QSpanData::rasterBuffer |
Definition at line 316 of file qdrawhelper_p.h.
Referenced by blend_color_argb(), blend_color_generic(), blend_color_rgb16(), blend_tiled_argb(), blend_tiled_generic(), blend_transformed_argb(), blend_transformed_tiled_argb(), blend_untransformed_argb(), blend_untransformed_generic(), blendColor(), blendTiled(), blendTransformed(), blendTransformedBilinear(), blendTransformedTiled(), blendUntransformed(), QScreen::compose(), fillRect_normalized(), getOperator(), qBlendTexture(), qBlendTextureCallback(), qt_blend_color_argb_x86(), and qt_gradient_quint32().
QRasterPaintEngine* QSpanData::rasterEngine |
Definition at line 318 of file qdrawhelper_p.h.
Referenced by drawBufferSpan().
QSolidData QSpanData::solid |
Definition at line 341 of file qdrawhelper_p.h.
Referenced by QRasterPaintEngine::alphaPenBlt(), blend_color_argb(), blend_color_generic(), blend_color_rgb16(), blendColor(), QRasterPaintEngine::drawImage(), QRasterPaintEngine::fillRect(), fillRect_normalized(), getOperator(), qt_blend_color_argb_x86(), qt_gradient_quint16(), and QRasterPaintEngine::updateState().
QImage* QSpanData::tempImage |
Definition at line 339 of file qdrawhelper_p.h.
Referenced by QRasterPaintEngineState::QRasterPaintEngineState().
QTextureData QSpanData::texture |
Definition at line 343 of file qdrawhelper_p.h.
Referenced by blend_tiled_argb(), blend_tiled_argb4444(), blend_tiled_argb6666(), blend_tiled_argb8555(), blend_tiled_argb8565(), blend_tiled_generic(), blend_tiled_rgb444(), blend_tiled_rgb555(), blend_tiled_rgb565(), blend_tiled_rgb666(), blend_tiled_rgb888(), blend_transformed_argb(), blend_transformed_argb4444(), blend_transformed_argb6666(), blend_transformed_argb8555(), blend_transformed_argb8565(), blend_transformed_bilinear_argb4444(), blend_transformed_bilinear_argb6666(), blend_transformed_bilinear_argb8555(), blend_transformed_bilinear_argb8565(), blend_transformed_bilinear_rgb444(), blend_transformed_bilinear_rgb555(), blend_transformed_bilinear_rgb565(), blend_transformed_bilinear_rgb666(), blend_transformed_bilinear_rgb888(), blend_transformed_rgb444(), blend_transformed_rgb555(), blend_transformed_rgb565(), blend_transformed_rgb666(), blend_transformed_rgb888(), blend_transformed_tiled_argb(), blend_transformed_tiled_argb4444(), blend_transformed_tiled_argb6666(), blend_transformed_tiled_argb8555(), blend_transformed_tiled_argb8565(), blend_transformed_tiled_rgb444(), blend_transformed_tiled_rgb555(), blend_transformed_tiled_rgb565(), blend_transformed_tiled_rgb666(), blend_transformed_tiled_rgb888(), blend_untransformed_argb(), blend_untransformed_argb4444(), blend_untransformed_argb6666(), blend_untransformed_argb8555(), blend_untransformed_argb8565(), blend_untransformed_generic(), blend_untransformed_rgb444(), blend_untransformed_rgb555(), blend_untransformed_rgb565(), blend_untransformed_rgb666(), blend_untransformed_rgb888(), blendTiled(), blendTransformed(), blendTransformedBilinear(), blendTransformedTiled(), blendUntransformed(), fetchTransformed(), fetchTransformedBilinear(), getBlendType(), getOperator(), handleSpans(), and qt_fetchUntransformed().
int QSpanData::txop |
Definition at line 336 of file qdrawhelper_p.h.
Referenced by getBlendType(), qt_gradient_quint16(), qt_gradient_quint32(), and QRasterPaintEnginePrivate::updateMatrixData().
enum QSpanData::Type QSpanData::type |
ProcessSpans QSpanData::unclipped_blend |
Definition at line 321 of file qdrawhelper_p.h.
Referenced by QRasterPaintEngine::alphaPenBlt(), fillRect_normalized(), QRasterPaintEnginePrivate::getBrushFunc(), QRasterPaintEnginePrivate::getPenFunc(), QRasterPaintEnginePrivate::initializeRasterizer(), qt_span_fill_clipped(), and qt_span_fill_clipRect().