41#ifndef INCLUDE_GUARD_EUNOMIA_PICTURE_INDEXED_H
42#define INCLUDE_GUARD_EUNOMIA_PICTURE_INDEXED_H
61 std::unique_ptr<std::uint8_t[]> upbuf_;
78 std::unique_ptr<PictureIndexed>
create(
unsigned w,
unsigned h)
noexcept;
畫像バッファ基底クラステンプレート
Definition imagebuffer.h:84
ImageBuffer(int w, int h, int p) noexcept
構築子
Definition imagebuffer.h:101
PictureIndexed を單純に轉送するための函數オブジェクトクラス
Definition picture_indexed.h:121
void operator()(std::uint8_t src, RgbColour &dst) const noexcept
Definition picture_indexed.h:131
NormalBrendCopierFromPictureIndexed(const PictureIndexed &p) noexcept
Definition picture_indexed.h:127
void operator()(std::uint8_t src, RgbaColour &dst) const noexcept
Definition picture_indexed.h:136
RGB24bit256インデックスの畫像バッファ
Definition picture_indexed.h:58
eunomia::RgbColour & palette(int id) noexcept
パレットの參照
Definition picture_indexed.h:94
const eunomia::RgbColour * paletteBuffer() const noexcept
パレットバッファの參照
Definition picture_indexed.h:109
eunomia::RgbColour * paletteBuffer() noexcept
パレットバッファの參照
Definition picture_indexed.h:104
std::unique_ptr< PictureIndexed > clone() const noexcept
複製
Definition picture_indexed.cpp:66
static std::unique_ptr< PictureIndexed > create(unsigned w, unsigned h) noexcept
畫像バッファ生成
Definition picture_indexed.cpp:54
PictureIndexed(unsigned w, unsigned h)
構築子
Definition picture_indexed.cpp:44
const eunomia::RgbColour & palette(int id) const noexcept
パレットの參照
Definition picture_indexed.h:99
RgbColour pal_[256]
パレット
Definition picture_indexed.h:64
std::unique_ptr< Picture > duplicatePicture() const noexcept
複製(RGB24bit化)
Definition pictidx_dupl_pict.cpp:42
RGB24bitの畫像バッファ
Definition picture.h:59
RGB24bit色情報クラス
Definition colour.h:54
std::uint8_t green
緑要素
Definition colour.h:57
std::uint8_t red
赤要素
Definition colour.h:56
std::uint8_t blue
青要素
Definition colour.h:58
RGBA32bit色情報クラス
Definition colour.h:90