Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QRasterBuffer Class Reference

#include <qpaintengine_raster_p.h>

Collaboration diagram for QRasterBuffer:

Public Member Functions

 QRasterBuffer ()
 ~QRasterBuffer ()
void init ()
QImage::Format prepare (QImage *image)
ucharscanLine (int y)
int width () const
int height () const
qsizetype bytesPerLine () const
int bytesPerPixel () const
template<typename T>
int stride ()
ucharbuffer () 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

Detailed Description

Definition at line 390 of file qpaintengine_raster_p.h.

Constructor & Destructor Documentation

◆ QRasterBuffer()

QRasterBuffer::QRasterBuffer ( )
inline

Definition at line 393 of file qpaintengine_raster_p.h.

References init().

Here is the call graph for this function:

◆ ~QRasterBuffer()

QRasterBuffer::~QRasterBuffer ( )

Definition at line 3735 of file qpaintengine_raster.cpp.

Member Function Documentation

◆ buffer()

uchar * QRasterBuffer::buffer ( ) const
inline

Definition at line 410 of file qpaintengine_raster_p.h.

◆ bytesPerLine()

qsizetype QRasterBuffer::bytesPerLine ( ) const
inline

Definition at line 405 of file qpaintengine_raster_p.h.

◆ bytesPerPixel()

int QRasterBuffer::bytesPerPixel ( ) const
inline

Definition at line 406 of file qpaintengine_raster_p.h.

◆ colorizeBitmap()

QImage QRasterBuffer::colorizeBitmap ( const QImage & image,
const QColor & color )

Definition at line 3712 of file qpaintengine_raster.cpp.

◆ height()

int QRasterBuffer::height ( ) const
inline

Definition at line 404 of file qpaintengine_raster_p.h.

◆ init()

void QRasterBuffer::init ( )

Definition at line 3739 of file qpaintengine_raster.cpp.

References monoDestinationWithClut.

Referenced by QRasterBuffer().

Here is the caller graph for this function:

◆ prepare()

QImage::Format QRasterBuffer::prepare ( QImage * image)

Definition at line 3747 of file qpaintengine_raster.cpp.

References monoDestinationWithClut, and QT_RASTER_COORD_LIMIT.

◆ scanLine()

uchar * QRasterBuffer::scanLine ( int y)
inline

Definition at line 401 of file qpaintengine_raster_p.h.

◆ stride()

template<typename T>
int QRasterBuffer::stride ( )
inline

Definition at line 408 of file qpaintengine_raster_p.h.

◆ width()

int QRasterBuffer::width ( ) const
inline

Definition at line 403 of file qpaintengine_raster_p.h.

Member Data Documentation

◆ colorSpace

QColorSpace QRasterBuffer::colorSpace

Definition at line 418 of file qpaintengine_raster_p.h.

◆ compositionMode

QPainter::CompositionMode QRasterBuffer::compositionMode

Definition at line 416 of file qpaintengine_raster_p.h.

◆ destColor0

QRgb QRasterBuffer::destColor0

Definition at line 413 of file qpaintengine_raster_p.h.

◆ destColor1

QRgb QRasterBuffer::destColor1

Definition at line 414 of file qpaintengine_raster_p.h.

◆ format

QImage::Format QRasterBuffer::format

Definition at line 417 of file qpaintengine_raster_p.h.

◆ monoDestinationWithClut

bool QRasterBuffer::monoDestinationWithClut

Definition at line 412 of file qpaintengine_raster_p.h.

Referenced by init(), and prepare().


The documentation for this class was generated from the following files: