20#ifndef _KIS_PAINT_DEVICE_IFACE_H
21#define _KIS_PAINT_DEVICE_IFACE_H
24#include <dcopobject.h>
30class KisPaintDeviceIface : virtual public DCOPObject
34 KisPaintDeviceIface( KisPaintDevice * parent );
40 TQ_INT32 pixelSize() const;
45 TQ_INT32 nChannels() const;
57 TQByteArray readBytes(TQ_INT32 x, TQ_INT32 y, TQ_INT32 w, TQ_INT32 h);
67 void writeBytes(TQByteArray bytes, TQ_INT32 x, TQ_INT32 y, TQ_INT32 w, TQ_INT32 h);
72 DCOPRef colorSpace() const;
77 void setColorSpace(DCOPRef colorSpace);
82 KisPaintDevice *m_parent;
A paint device contains the actual pixel data and offers methods to read and write pixels.
|