![]() |
Qt 6.x
The Qt SDK
|
#include <qpaintengine_raster_p.h>
Public Member Functions | |
QRasterBuffer () | |
~QRasterBuffer () | |
void | init () |
QImage::Format | prepare (QImage *image) |
uchar * | scanLine (int y) |
int | width () const |
int | height () const |
qsizetype | bytesPerLine () const |
int | bytesPerPixel () const |
template<typename T > | |
int | stride () |
uchar * | buffer () const |
QImage | colorizeBitmap (const QImage &image, const QColor &color) |
Public Attributes | |
bool | monoDestinationWithClut |
QRgb | destColor0 |
QRgb | destColor1 |
QPainter::CompositionMode | compositionMode |
QImage::Format | format |
QColorSpace | colorSpace |
Definition at line 390 of file qpaintengine_raster_p.h.
|
inline |
Definition at line 393 of file qpaintengine_raster_p.h.
References init().
QRasterBuffer::~QRasterBuffer | ( | ) |
Definition at line 3742 of file qpaintengine_raster.cpp.
|
inline |
Definition at line 410 of file qpaintengine_raster_p.h.
Referenced by QRasterPaintEnginePrivate::blitImage(), QRasterPaintEnginePrivate::drawImage(), qt_rectfill_alpha(), qt_rectfill_argb32(), qt_rectfill_fp32x4(), qt_rectfill_gray(), qt_rectfill_nonpremul_argb32(), qt_rectfill_nonpremul_rgba(), qt_rectfill_quint16(), qt_rectfill_quint24(), qt_rectfill_quint64(), qt_rectfill_rgb30(), and qt_rectfill_rgba().
|
inline |
Definition at line 405 of file qpaintengine_raster_p.h.
Referenced by QRasterPaintEnginePrivate::blitImage(), QRasterPaintEnginePrivate::drawImage(), qt_rectfill_alpha(), qt_rectfill_argb32(), qt_rectfill_fp32x4(), qt_rectfill_gray(), qt_rectfill_nonpremul_argb32(), qt_rectfill_nonpremul_rgba(), qt_rectfill_quint16(), qt_rectfill_quint24(), qt_rectfill_quint64(), qt_rectfill_rgb30(), and qt_rectfill_rgba().
|
inline |
Definition at line 406 of file qpaintengine_raster_p.h.
Referenced by QRasterPaintEnginePrivate::blitImage(), and QRasterPaintEnginePrivate::drawImage().
Definition at line 3719 of file qpaintengine_raster.cpp.
References QImage::constScanLine(), QImage::Format_ARGB32_Premultiplied, QImage::Format_MonoLSB, QImage::height(), height(), QImage::isNull(), Q_ASSERT, qPremultiply(), QRgb, QImage::scanLine(), QImage::size(), QImage::width(), and width().
Referenced by QSpanData::setup().
|
inline |
Definition at line 404 of file qpaintengine_raster_p.h.
Referenced by QRasterPaintEngine::alphaPenBlt(), colorizeBitmap(), qt_alphamapblit_argb32(), qt_alphamapblit_generic(), qt_alphamapblit_quint16(), qt_alphargbblit_argb32(), and qt_alphargbblit_generic().
void QRasterBuffer::init | ( | ) |
Definition at line 3746 of file qpaintengine_raster.cpp.
References compositionMode, QPainter::CompositionMode_SourceOver, destColor0, destColor1, and monoDestinationWithClut.
Referenced by QRasterBuffer().
QImage::Format QRasterBuffer::prepare | ( | QImage * | image | ) |
Definition at line 3754 of file qpaintengine_raster.cpp.
References colorSpace, destColor0, destColor1, format, monoDestinationWithClut, qMin(), qPremultiply(), and QT_RASTER_COORD_LIMIT.
Referenced by QBlitterPaintEnginePrivate::lock().
|
inline |
Definition at line 401 of file qpaintengine_raster_p.h.
References Q_ASSERT.
Referenced by destFetch(), destFetchARGB32P(), destFetchMono(), destFetchMonoLsb(), destFetchRGB16(), destStore(), destStoreGray16(), destStoreGray8(), destStoreMono(), destStoreMonoLsb(), destStoreRGB16(), qt_alphamapblit_argb32(), qt_alphamapblit_quint16(), qt_alphargbblit_argb32(), qt_bitmapblit_template(), qt_destFetchARGB32_mips_dsp(), qt_destStoreARGB32_mips_dsp(), and spanfill_from_first().
|
inline |
Definition at line 408 of file qpaintengine_raster_p.h.
Referenced by qt_alphamapblit_argb32(), qt_alphamapblit_quint16(), qt_alphargbblit_argb32(), and qt_bitmapblit_template().
|
inline |
Definition at line 403 of file qpaintengine_raster_p.h.
Referenced by QRasterPaintEngine::alphaPenBlt(), and colorizeBitmap().
QColorSpace QRasterBuffer::colorSpace |
Definition at line 418 of file qpaintengine_raster_p.h.
Referenced by QRasterPaintEngine::alphaPenBlt(), destStoreGray16(), destStoreGray8(), and prepare().
QPainter::CompositionMode QRasterBuffer::compositionMode |
Definition at line 416 of file qpaintengine_raster_p.h.
Referenced by blend_tiled_rgb565(), blend_untransformed_rgb565(), fillRect_normalized(), and init().
QRgb QRasterBuffer::destColor0 |
Definition at line 413 of file qpaintengine_raster_p.h.
Referenced by destFetchMono(), destFetchMonoLsb(), destStoreMono(), destStoreMonoLsb(), findNearestColor(), init(), and prepare().
QRgb QRasterBuffer::destColor1 |
Definition at line 414 of file qpaintengine_raster_p.h.
Referenced by destFetchMono(), destFetchMonoLsb(), destStoreMono(), destStoreMonoLsb(), findNearestColor(), init(), and prepare().
QImage::Format QRasterBuffer::format |
Definition at line 417 of file qpaintengine_raster_p.h.
Referenced by QSpanData::adjustSpanMethods(), QRasterPaintEnginePrivate::blitImage(), QRasterPaintEnginePrivate::canUseImageBlitting(), destFetch(), destStore(), prepare(), qt_alphamapblit_generic(), qt_alphargbblit_generic(), qt_rectfill_fp32x4(), qt_rectfill_quint16(), qt_rectfill_quint24(), and qt_rectfill_quint64().
bool QRasterBuffer::monoDestinationWithClut |
Definition at line 412 of file qpaintengine_raster_p.h.
Referenced by destStoreMono(), destStoreMonoLsb(), init(), and prepare().