chalk

KisHLineIteratorPixel Class Reference

#include <kis_iterators_pixel.h>

Inherits KisHLineIterator, and KisIteratorPixelTrait< _iTp >.

Public Member Functions

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

Protected Attributes

TQ_INT32 m_offsetx
 
TQ_INT32 m_offsety
 

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.

Constructor & Destructor Documentation

◆ KisHLineIteratorPixel() [1/2]

KisHLineIteratorPixel::KisHLineIteratorPixel ( KisPaintDevice *  ndevice,
KisDataManager *  dm,
KisDataManager *  sel_dm,
TQ_INT32  x,
TQ_INT32  y,
TQ_INT32  w,
TQ_INT32  offsetx,
TQ_INT32  offsety,
bool  writable 
)

Definition at line 25 of file kis_iterators_pixel.cpp.

◆ KisHLineIteratorPixel() [2/2]

KisHLineIteratorPixel::KisHLineIteratorPixel ( const KisHLineIteratorPixel &  rhs)
inline

Definition at line 41 of file kis_iterators_pixel.h.

Member Function Documentation

◆ nConseqHPixels()

TQ_INT32 KisHLineIteratorPixel::nConseqHPixels ( ) const
inline

Definition at line 67 of file kis_iterators_pixel.h.

◆ nextRow()

void KisHLineIteratorPixel::nextRow ( )
inline

Definition at line 55 of file kis_iterators_pixel.h.

◆ operator++()

KisHLineIteratorPixel & KisHLineIteratorPixel::operator++ ( )
inline

Definition at line 52 of file kis_iterators_pixel.h.

◆ operator+=()

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.

◆ operator--()

KisHLineIteratorPixel & KisHLineIteratorPixel::operator-- ( )
inline

Definition at line 53 of file kis_iterators_pixel.h.

◆ operator=()

KisHLineIteratorPixel & KisHLineIteratorPixel::operator= ( const KisHLineIteratorPixel &  rhs)
inline

Definition at line 44 of file kis_iterators_pixel.h.

◆ x()

TQ_INT32 KisHLineIteratorPixel::x ( ) const
inline

Definition at line 63 of file kis_iterators_pixel.h.

◆ y()

TQ_INT32 KisHLineIteratorPixel::y ( ) const
inline

Definition at line 65 of file kis_iterators_pixel.h.

Member Data Documentation

◆ m_offsetx

TQ_INT32 KisHLineIteratorPixel::m_offsetx
protected

Definition at line 79 of file kis_iterators_pixel.h.

◆ m_offsety

TQ_INT32 KisHLineIteratorPixel::m_offsety
protected

Definition at line 79 of file kis_iterators_pixel.h.


The documentation for this class was generated from the following files: