このページでは

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
operator const unsigned char *() const
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)

address およびbitOffset で初期化されたオブジェクトを生成します。

unsigned char *PixelDataPointer::address()

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

const unsigned char *PixelDataPointer::address() const

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

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

ポインタをbitOffset ビット分移動させます。

uint8_t PixelDataPointer::bitOffset() const

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

PixelDataPointer::operator const unsigned char *() const

const unsigned char* への暗黙の型変換を許可します。

注:この 変換では、bitOffset の値は考慮されません。

PixelDataPointer::operator unsigned char *()

unsigned char* への暗黙の型変換を許可します。

注:この 変換では、bitOffset の値は考慮されません。

unsigned char PixelDataPointer::operator*() const

address バイトの値を返します。

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

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

特定のQtライセンスの下で利用可能です。
詳細はこちらをご覧ください。