このページでは

C

Qul::PlatformInterface::PixelDataPointer Struct

struct Qul::PlatformInterface::PixelDataPointer

正確な(ビットパーフェクトな)ピクセルデータの位置に関する情報を含む構造体。詳細...

Header: #include <platforminterface/pixeldatapointer.h>
Since: Qt Quick Ultralite (Platform) 1.9

パブリック関数

PixelDataPointer()
PixelDataPointer(const unsigned char *address, uint8_t bitOffset)
unsigned char *address()
const unsigned char *address() const
Qul::PlatformInterface::PixelDataPointer &advance(int bitOffset)
uint8_t bitOffset() const
const unsigned char *operator const unsigned char *() const
unsigned char *operator unsigned char *()
unsigned char operator*() const
Qul::PlatformInterface::PixelDataPointer &operator+=(int byteOffset)

詳細説明

この構造体はポインタセマンティクスをサポートしています。(const) unsigned char*に暗黙的に変換可能で、再参照と+= 演算子をサポートしています。

メンバ関数ドキュメント

PixelDataPointer::PixelDataPointer()

ゼロ初期化オブジェクトを構築する。

PixelDataPointer::PixelDataPointer(const unsigned char *address, uint8_t bitOffset)

addressbitOffset で初期化されたオブジェクトを構築する。

unsigned char *PixelDataPointer::address()

変更可能なピクセルデータを含む最初のバイトのアドレスを返します。

const unsigned char *PixelDataPointer::address() const

定数ピクセルデータを含む最初のバイトのアドレスを返します。

Qul::PlatformInterface::PixelDataPointer &PixelDataPointer::advance(int bitOffset)

ポインタをbitOffset ビット移動させる。

uint8_t PixelDataPointer::bitOffset() const

実際のピクセルデータが始まるaddress バイトのビットオフセットを返す。

const unsigned char *PixelDataPointer::operator const unsigned char *() const

const unsigned char* への暗黙の変換を許可する。

注意: この変換はbitOffset の値を考慮しない。

unsigned char *PixelDataPointer::operator unsigned char *()

unsigned char* への暗黙の変換を許可する。

注意: この変換はbitOffset の値を考慮しない。

unsigned char PixelDataPointer::operator*() const

address バイトの値を返す。

Qul::PlatformInterface::PixelDataPointer &PixelDataPointer::operator+=(int byteOffset)

ポインタをbyteOffset バイト移動します。

特定の Qt ライセンスの下で利用可能です。
詳細を確認してください。