krita

KisVLineIterator Class Reference

Inheritance diagram for KisVLineIterator:

KisVLineIteratorPixel List of all members.

Detailed Description

Definition at line 135 of file kis_iterator.h.


Public Member Functions

 KisVLineIterator (KisDataManager *dm, Q_INT32 x, Q_INT32 y, Q_INT32 h, bool writable)
 ~KisVLineIterator ()
 KisVLineIterator (const KisVLineIterator &rhs)
KisVLineIteratoroperator= (const KisVLineIterator &rhs)
Q_UINT8 * rawData () const
const Q_UINT8 * oldRawData () const
KisVLineIteratoroperator++ ()
bool isDone () const
Q_INT32 x () const
Q_INT32 y () const
void nextCol ()

Member Function Documentation

bool KisVLineIterator::isDone  )  const
 

returns true when iterators has reached the end

Definition at line 136 of file kis_iterator.cc.

void KisVLineIterator::nextCol  ) 
 

increment to the next column and rewind to the begining

Definition at line 142 of file kis_iterator.cc.

const Q_UINT8 * KisVLineIterator::oldRawData  )  const
 

Returns a pointer to the pixel data as it was at the moment of the last memento creation.

Definition at line 132 of file kis_iterator.cc.

KisVLineIterator & KisVLineIterator::operator++  ) 
 

Advances one pixel until it reaches the end of the line.

Reimplemented in KisVLineIteratorPixel.

Definition at line 134 of file kis_iterator.cc.

Q_UINT8 * KisVLineIterator::rawData  )  const
 

returns a pointer to the pixel data. Do NOT interpret the data - leave that to a colorstrategy

Definition at line 130 of file kis_iterator.cc.

Q_INT32 KisVLineIterator::x  )  const
 

current x position

Reimplemented in KisVLineIteratorPixel.

Definition at line 138 of file kis_iterator.cc.

Q_INT32 KisVLineIterator::y  )  const
 

current y position

Reimplemented in KisVLineIteratorPixel.

Definition at line 140 of file kis_iterator.cc.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys