36#ifndef INCLUDE_GUARD_EUNOMIA_PICTURE_RGBA_H
37#define INCLUDE_GUARD_EUNOMIA_PICTURE_RGBA_H
57 std::unique_ptr<RgbaColour[]> upbuf_;
67 static std::unique_ptr<PictureRgba>
create(
unsigned w,
unsigned h)
noexcept;
70 std::unique_ptr<PictureRgba>
clone()
const noexcept;
75 std::unique_ptr<Picture>
stripAlpha()
const noexcept;
80 std::unique_ptr<PictureIndexed>
99 std::unique_ptr<PictureRgba>
100 magnify(
int w,
int h,
double a = -1.0)
const noexcept;
105 std::unique_ptr<PictureRgba>
reduce(
int w,
int h)
const noexcept;
畫像バッファ基底クラステンプレート
Definition imagebuffer.h:84
RGBA32bitの畫像バッファ
Definition picture_rgba.h:54
std::unique_ptr< PictureRgba > clone() const noexcept
複製
Definition picture_rgba.cpp:60
std::unique_ptr< PictureRgba > reduce(int w, int h) const noexcept
縮小
Definition pictrgba_reduce.cpp:112
std::unique_ptr< PictureIndexed > createGrayscaledPictureIndexed() const noexcept
グレイスケール化複製
Definition pictrgba_grayscaled.cpp:39
std::unique_ptr< PictureIndexed > duplicatePictureIndexed() const noexcept
減色(インデックスカラー化)
Definition pictrgba_dupl_pictidx.cpp:41
static std::unique_ptr< PictureRgba > create(unsigned w, unsigned h) noexcept
畫像バッファ生成
Definition picture_rgba.cpp:48
PictureRgba(unsigned w, unsigned h)
構築子
Definition picture_rgba.cpp:38
std::unique_ptr< PictureRgba > magnify(int w, int h, double a=-1.0) const noexcept
擴大
Definition pictrgba_magnify.cpp:42
std::unique_ptr< Picture > stripAlpha() const noexcept
αチャネル除去
Definition pictrgba_stripalpha.cpp:42