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
QTextureData Struct Reference

#include <qdrawhelper_p.h>

+ Collaboration diagram for QTextureData:

Public Types

enum  Type { Plain , Tiled , Pattern }
 

Public Member Functions

const ucharscanLine (int y) const
 

Public Attributes

const ucharimageData
 
int width
 
int height
 
int x1
 
int y1
 
int x2
 
int y2
 
qsizetype bytesPerLine
 
QImage::Format format
 
const QList< QRgb > * colorTable
 
bool hasAlpha
 
Type type
 
int const_alpha
 

Detailed Description

Definition at line 276 of file qdrawhelper_p.h.

Member Enumeration Documentation

◆ Type

Enumerator
Plain 
Tiled 
Pattern 

Definition at line 292 of file qdrawhelper_p.h.

Member Function Documentation

◆ scanLine()

const uchar * QTextureData::scanLine ( int y) const
inline

Definition at line 279 of file qdrawhelper_p.h.

References bytesPerLine, and imageData.

Member Data Documentation

◆ bytesPerLine

qsizetype QTextureData::bytesPerLine

Definition at line 288 of file qdrawhelper_p.h.

Referenced by scanLine().

◆ colorTable

const QList<QRgb>* QTextureData::colorTable

Definition at line 290 of file qdrawhelper_p.h.

◆ const_alpha

int QTextureData::const_alpha

Definition at line 298 of file qdrawhelper_p.h.

◆ format

QImage::Format QTextureData::format

Definition at line 289 of file qdrawhelper_p.h.

◆ hasAlpha

bool QTextureData::hasAlpha

Definition at line 291 of file qdrawhelper_p.h.

◆ height

int QTextureData::height

Definition at line 282 of file qdrawhelper_p.h.

◆ imageData

const uchar* QTextureData::imageData

Definition at line 278 of file qdrawhelper_p.h.

Referenced by scanLine().

◆ type

Type QTextureData::type

Definition at line 297 of file qdrawhelper_p.h.

◆ width

int QTextureData::width

Definition at line 281 of file qdrawhelper_p.h.

◆ x1

int QTextureData::x1

Definition at line 284 of file qdrawhelper_p.h.

◆ x2

int QTextureData::x2

Definition at line 286 of file qdrawhelper_p.h.

◆ y1

int QTextureData::y1

Definition at line 285 of file qdrawhelper_p.h.

◆ y2

int QTextureData::y2

Definition at line 287 of file qdrawhelper_p.h.


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