103 virtual DCOPObject *dcopObject();
105 void lock(
bool lock) { m_lock = lock; }
112 virtual bool write(KoStore *store);
117 virtual bool read(KoStore *store);
124 virtual void move(TQ_INT32 x, TQ_INT32 y);
129 virtual void move(
const TQPoint& pt);
135 virtual KNamedCommand * moveCommand(TQ_INT32 x, TQ_INT32 y);
153 virtual void extent(TQ_INT32 &x, TQ_INT32 &y, TQ_INT32 &w, TQ_INT32 &h)
const;
154 virtual TQRect extent()
const;
163 bool extentIsValid()
const;
166 void setExtentIsValid(
bool isValid);
172 virtual void exactBounds(TQ_INT32 &x, TQ_INT32 &y, TQ_INT32 &w, TQ_INT32 &h)
const;
173 virtual TQRect exactBounds()
const;
174 virtual TQRect exactBoundsOldMethod()
const;
175 virtual TQRect exactBoundsImprovedOldMethod()
const;
180 void crop(TQ_INT32 x, TQ_INT32 y, TQ_INT32 w, TQ_INT32 h);
188 virtual void clear();
193 void fill(TQ_INT32 x, TQ_INT32 y, TQ_INT32 w, TQ_INT32 h,
const TQ_UINT8 *fillPixel);
205 virtual void readBytes(TQ_UINT8 * data, TQ_INT32 x, TQ_INT32 y, TQ_INT32 w, TQ_INT32 h);
215 virtual void writeBytes(
const TQ_UINT8 * data, TQ_INT32 x, TQ_INT32 y, TQ_INT32 w, TQ_INT32 h);
221 TQ_INT32 numContiguousColumns(TQ_INT32 x, TQ_INT32 minY, TQ_INT32 maxY);
227 TQ_INT32 numContiguousRows(TQ_INT32 y, TQ_INT32 minX, TQ_INT32 maxX);
233 TQ_INT32 rowStride(TQ_INT32 x, TQ_INT32 y);
238 TDE_DEPRECATED
const TQ_UINT8* pixel(TQ_INT32 x, TQ_INT32 y);
243 TDE_DEPRECATED TQ_UINT8* writablePixel(TQ_INT32 x, TQ_INT32 y);
248 virtual void convertTo(
KisColorSpace * dstColorSpace, TQ_INT32 renderingIntent = INTENT_PERCEPTUAL);
254 virtual void setProfile(KisProfile * profile);
260 virtual void convertFromTQImage(
const TQImage& img,
const TQString &srcProfileName, TQ_INT32 offsetX = 0, TQ_INT32 offsetY = 0);
274 virtual TQImage convertToTQImage(KisProfile * dstProfile, TQ_INT32 x, TQ_INT32 y, TQ_INT32 w, TQ_INT32 h,
float exposure = 0.0f);
284 virtual TQImage convertToTQImage(KisProfile * dstProfile,
float exposure = 0.0f);
291 KisPaintDeviceSP createThumbnailDevice(TQ_INT32 w, TQ_INT32 h);
298 virtual TQImage createThumbnail(TQ_INT32 maxw, TQ_INT32 maxh);
309 bool pixel(TQ_INT32 x, TQ_INT32 y, TQColor *c, TQ_UINT8 *opacity);
321 bool pixel(TQ_INT32 x, TQ_INT32 y,
KisColor * kc);
326 KisColor colorAt(TQ_INT32 x, TQ_INT32 y);
343 bool setPixel(TQ_INT32 x, TQ_INT32 y,
const TQColor& c, TQ_UINT8 opacity);
345 bool setPixel(TQ_INT32 x, TQ_INT32 y,
const KisColor& kc);
349 KisDataManagerSP dataManager()
const;
354 void setData(KisDataManagerSP data,
KisColorSpace * colorSpace);
359 TQ_INT32 getX()
const;
364 TQ_INT32 getY()
const;
369 void setX(TQ_INT32 x);
374 void setY(TQ_INT32 y);
380 virtual TQ_INT32 pixelSize()
const;
385 virtual TQ_INT32 nChannels()
const;
391 KisImage *image()
const;
403 void setParentLayer(
KisLayer *parentLayer);
408 virtual void setDirty(
const TQRect & rc);
413 virtual void setDirty();
425 KisMementoSP getMemento();
426 void rollback(KisMementoSP memento);
427 void rollforward(KisMementoSP memento);
432 KisRectIteratorPixel createRectIterator(TQ_INT32 left, TQ_INT32 top, TQ_INT32 w, TQ_INT32 h,
bool writable);
442 KisVLineIteratorPixel createVLineIterator(TQ_INT32 x, TQ_INT32 y, TQ_INT32 h,
bool writable);
450 KisRandomAccessorPixel createRandomAccessor(TQ_INT32 x, TQ_INT32 y,
bool writable);
455 KisRandomSubAccessorPixel createRandomSubAccessor();
458 KisSelectionSP selection();
461 void addSelection(KisSelectionSP selection);
464 void subtractSelection(KisSelectionSP selection);
470 bool selectionDeselected();
479 void clearSelection();
485 void applySelectionMask(KisSelectionSP mask);
492 KisSelectionSP setSelection(KisSelectionSP selection);
497 void emitSelectionChanged();
504 void emitSelectionChanged(
const TQRect& r);
507 KisUndoAdapter *undoAdapter()
const;
513 KisExifInfo* exifInfo();
519 void positionChanged(KisPaintDeviceSP device);
520 void ioProgress(TQ_INT8 percentage);
521 void profileChanged(KisProfile * profile);
525 void runBackgroundFilters();
531 KisDataManagerSP m_datamanager;
539 bool m_extentIsValid;
545 TQ_INT32 m_pixelSize;
546 TQ_INT32 m_nChannels;
550 bool m_selectionDeselected;
554 KisSelectionSP m_selection;
558 KisExifInfo* m_exifInfo;
560 TQValueList<KisFilter*> m_longRunningFilters;
561 TQTimer * m_longRunningFilterTimer;