1#ifndef __DW_IMGBUF_HH__
2#define __DW_IMGBUF_HH__
4#ifndef __INCLUDED_FROM_DW_CORE_HH__
5# error Do not include this file directly, use "core.hh" instead.
8#include "../lout/debug.hh"
180 virtual void setCMap (
int *colors,
int num_colors) = 0;
181 virtual void copyRow (
int row,
const byte *data) = 0;
204 int xSrc,
int ySrc,
int widthSrc,
int heightSrc) = 0;
The platform independent interface for image buffers.
virtual void copyRow(int row, const byte *data)=0
virtual int getRootWidth()=0
virtual Imgbuf * getScaledBuf(int width, int height)=0
virtual void setCMap(int *colors, int num_colors)=0
virtual void setDeleteOnUnref(bool deleteOnUnref)=0
virtual void getRowArea(int row, dw::core::Rectangle *area)=0
virtual bool isReferred()=0
virtual int getRootHeight()=0
virtual bool lastReference()=0
virtual void copyTo(Imgbuf *dest, int xDestRoot, int yDestRoot, int xSrc, int ySrc, int widthSrc, int heightSrc)=0
Copies another image buffer into this image buffer.
virtual Imgbuf * createSimilarBuf(int width, int height)=0
Creates an image buffer with same parameters (type, gamma etc.) except size.
dw::core::Shape implemtation for simple rectangles.
This is the base class for many other classes, which defines very common virtual methods.
An observed object has a signal emitter, which tells the receivers, when the object is deleted.
#define DBG_OBJ_CREATE(klass)
#define DBG_OBJ_BASECLASS(klass)
Dw is in this namespace, or sub namespaces of this one.