41#ifndef INCLUDE_GUARD_EUNOMIA_PICTURE_H
42#define INCLUDE_GUARD_EUNOMIA_PICTURE_H
62 std::unique_ptr<RgbColour[]> upbuf_;
68 Picture(
unsigned w,
unsigned h);
76 static std::unique_ptr<Picture>
create(
unsigned w,
unsigned h)
noexcept;
79 std::unique_ptr<Picture>
clone()
const noexcept;
89 std::unique_ptr<PictureIndexed>
108 std::unique_ptr<Picture>
109 magnify(
int w,
int h,
double a = -1.0)
const noexcept;
114 std::unique_ptr<Picture>
reduce(
int w,
int h)
const noexcept;
畫像バッファ基底クラステンプレート
Definition imagebuffer.h:84
RGB24bitの畫像バッファ
Definition picture.h:59
std::unique_ptr< Picture > magnify(int w, int h, double a=-1.0) const noexcept
擴大
Definition pict_magnify.cpp:47
Picture(unsigned w, unsigned h)
構築子
Definition picture.cpp:44
std::unique_ptr< PictureIndexed > createGrayscaledPictureIndexed() const noexcept
グレイスケール化複製
Definition pict_grayscaled.cpp:43
static std::unique_ptr< Picture > create(unsigned w, unsigned h) noexcept
畫像バッファ生成
Definition picture.cpp:54
std::unique_ptr< PictureIndexed > duplicatePictureIndexed() const noexcept
減色(インデックスカラー化)
Definition pict_dupl_pictidx.cpp:43
std::unique_ptr< Picture > clone() const noexcept
複製
Definition picture.cpp:66
std::unique_ptr< Picture > reduce(int w, int h) const noexcept
縮小
Definition pict_reduce.cpp:114