krita

KisHLineIteratorPixel Class Reference

#include <kis_iterators_pixel.h>

Inherits KisHLineIterator, and KisIteratorPixelTrait< KisHLineIterator >.

List of all members.


Detailed Description

The pixel iterators are high level iterarators.

The lower level iterators merely return a pointer to some memory where a pixel begins; these iterators return KisPixels -- high-level representations of a pixel together with color model, profile and selectedness. You can access individual channels using the KisPixel [] operator, and .

Definition at line 32 of file kis_iterators_pixel.h.


Public Member Functions

 KisHLineIteratorPixel (KisPaintDevice *ndevice, KisDataManager *dm, KisDataManager *sel_dm, Q_INT32 x, Q_INT32 y, Q_INT32 w, Q_INT32 offsetx, Q_INT32 offsety, bool writable)
 KisHLineIteratorPixel (const KisHLineIteratorPixel &rhs)
KisHLineIteratorPixeloperator= (const KisHLineIteratorPixel &rhs)
KisHLineIteratorPixeloperator++ ()
KisHLineIteratorPixeloperator-- ()
void nextRow ()
KisHLineIteratorPixeloperator+= (int n)
Q_INT32 x () const
Q_INT32 y () const
Q_INT32 nConseqHPixels () const

Protected Attributes

Q_INT32 m_offsetx
Q_INT32 m_offsety

Member Function Documentation

KisHLineIteratorPixel& KisHLineIteratorPixel::operator+= ( int  n  )  [inline]

Advances a number of pixels until it reaches the end of the line.

Definition at line 61 of file kis_iterators_pixel.h.


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