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
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 278 of file qdrawhelper_p.h.

Member Enumeration Documentation

◆ Type

Enumerator
Plain 
Tiled 
Pattern 

Definition at line 294 of file qdrawhelper_p.h.

Member Function Documentation

◆ scanLine()

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

Definition at line 281 of file qdrawhelper_p.h.

Member Data Documentation

◆ bytesPerLine

qsizetype QTextureData::bytesPerLine

Definition at line 290 of file qdrawhelper_p.h.

◆ colorTable

const QList<QRgb>* QTextureData::colorTable

Definition at line 292 of file qdrawhelper_p.h.

◆ const_alpha

int QTextureData::const_alpha

Definition at line 300 of file qdrawhelper_p.h.

◆ format

QImage::Format QTextureData::format

Definition at line 291 of file qdrawhelper_p.h.

◆ hasAlpha

bool QTextureData::hasAlpha

Definition at line 293 of file qdrawhelper_p.h.

◆ height

int QTextureData::height

Definition at line 284 of file qdrawhelper_p.h.

◆ imageData

const uchar* QTextureData::imageData

Definition at line 280 of file qdrawhelper_p.h.

◆ type

Type QTextureData::type

Definition at line 299 of file qdrawhelper_p.h.

◆ width

int QTextureData::width

Definition at line 283 of file qdrawhelper_p.h.

◆ x1

int QTextureData::x1

Definition at line 286 of file qdrawhelper_p.h.

◆ x2

int QTextureData::x2

Definition at line 288 of file qdrawhelper_p.h.

◆ y1

int QTextureData::y1

Definition at line 287 of file qdrawhelper_p.h.

◆ y2

int QTextureData::y2

Definition at line 289 of file qdrawhelper_p.h.


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