|
std::unique_ptr< PictureRgba > | clone () const noexcept |
| 複製
|
|
std::unique_ptr< Picture > | stripAlpha () const noexcept |
| αチャネル除去
|
|
std::unique_ptr< PictureIndexed > | createGrayscaledPictureIndexed () const noexcept |
| グレイスケール化複製
|
|
std::unique_ptr< PictureIndexed > | duplicatePictureIndexed () const noexcept |
| 減色(インデックスカラー化)
|
|
std::unique_ptr< PictureRgba > | magnify (int w, int h, double a=-1.0) const noexcept |
| 擴大
|
|
std::unique_ptr< PictureRgba > | reduce (int w, int h) const noexcept |
| 縮小
|
|
virtual | ~ImageBuffer ()=default |
| 解體子
|
|
int | width () const noexcept |
| 幅
|
|
int | height () const noexcept |
| 高さ
|
|
int | pitch () const noexcept |
| ピッチ
|
|
uint8_t * | buffer () noexcept |
| バッファの先頭アドレスの取得
|
|
const uint8_t * | buffer () const noexcept |
| バッファの先頭アドレスの取得
|
|
RgbaColour * | lineBuffer (int y) noexcept |
| ラインバッファの先頭アドレスの取得
|
|
const RgbaColour * | lineBuffer (int y) const noexcept |
| ラインバッファの先頭アドレスの取得
|
|
RgbaColour & | pixel (int x, int y) noexcept |
| 畫素(x, y)の參照
|
|
const RgbaColour & | pixel (int x, int y) const noexcept |
| 畫素(x, y)の參照
|
|
RgbaColour & | at (int x, int y) |
| 畫素(x, y)の參照
|
|
const RgbaColour & | at (int x, int y) const |
| 畫素(x, y)の參照
|
|
void | line (int x1, int y1, int x2, int y2, const RgbaColour &color) |
| 線分の描畫
|
|
void | box (int left, int top, int right, int bottom, const RgbaColour &color, bool fill=false) |
| 長方形の描畫
|
|
void | ellipse (int x, int y, int a, int b, const RgbaColour &color, bool fill=false) |
| 楕圓の描畫
|
|
void | circle (int x, int y, int r, const RgbaColour &color, bool fill=false) |
| 圓の描畫
|
|
void | paintFill (int x, int y, const RgbaColour &color) |
| 塗り潰し
|
|
void | clear (const RgbaColour &color) |
| バッファ全體の塗り潰し
|
|
void | blt (const ImageBuffer< CSrc > &src, int sx, int sy, int w, int h, int dx, int dy, const std::optional< Rect > &cliprect, Copier copier) |
| 轉送
|
|
void | blt (const ImageBuffer< CSrc > &src, int sx, int sy, int w, int h, int dx, int dy, const std::optional< Rect > &cliprect=std::nullopt) |
| 轉送
|
|
void | blt (const eunomia::ImageBuffer< CSrc > &src, int sx, int sy, int w, int h, int dx, int dy, const std::optional< eunomia::Rect > &cliprect, Copier copier) |
|
void | forEachPixel (Func func) |
| 畫素毎の處理
|
|