Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QTexturedBrushData Struct Reference
+ Inheritance diagram for QTexturedBrushData:
+ Collaboration diagram for QTexturedBrushData:

Public Member Functions

 QTexturedBrushData ()
 
 ~QTexturedBrushData ()
 
void setPixmap (const QPixmap &pm)
 
void setImage (const QImage &image)
 
QPixmappixmap ()
 
QImageimage ()
 

Public Attributes

QPixmapm_pixmap
 
QImage m_image
 
bool m_has_pixmap_texture
 
- Public Attributes inherited from QBrushData
QAtomicInt ref
 
Qt::BrushStyle style
 
QColor color
 
QTransform transform
 

Detailed Description

Definition at line 151 of file qbrush.cpp.

Constructor & Destructor Documentation

◆ QTexturedBrushData()

QTexturedBrushData::QTexturedBrushData ( )
inline

Definition at line 153 of file qbrush.cpp.

References m_has_pixmap_texture, and m_pixmap.

◆ ~QTexturedBrushData()

QTexturedBrushData::~QTexturedBrushData ( )
inline

Definition at line 157 of file qbrush.cpp.

References m_pixmap.

Member Function Documentation

◆ image()

QImage & QTexturedBrushData::image ( )
inline

Definition at line 189 of file qbrush.cpp.

References QImage::isNull(), m_image, m_pixmap, and QPixmap::toImage().

Referenced by setImage().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ pixmap()

QPixmap & QTexturedBrushData::pixmap ( )
inline

Definition at line 182 of file qbrush.cpp.

References QPixmap::fromImage(), m_image, and m_pixmap.

+ Here is the call graph for this function:

◆ setImage()

void QTexturedBrushData::setImage ( const QImage & image)
inline

Definition at line 175 of file qbrush.cpp.

References image(), m_has_pixmap_texture, m_image, and m_pixmap.

Referenced by QBrush::setTextureImage().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setPixmap()

void QTexturedBrushData::setPixmap ( const QPixmap & pm)
inline

Definition at line 161 of file qbrush.cpp.

References QPixmap::isNull(), m_has_pixmap_texture, m_image, and m_pixmap.

Referenced by QBrush::setTexture().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ m_has_pixmap_texture

bool QTexturedBrushData::m_has_pixmap_texture

Definition at line 197 of file qbrush.cpp.

Referenced by QTexturedBrushData(), setImage(), and setPixmap().

◆ m_image

QImage QTexturedBrushData::m_image

Definition at line 196 of file qbrush.cpp.

Referenced by image(), pixmap(), setImage(), and setPixmap().

◆ m_pixmap

QPixmap* QTexturedBrushData::m_pixmap

Definition at line 195 of file qbrush.cpp.

Referenced by QTexturedBrushData(), ~QTexturedBrushData(), image(), pixmap(), setImage(), and setPixmap().


The documentation for this struct was generated from the following file: