krita

KisRandomAccessorPixelTrait Class Reference

Inheritance diagram for KisRandomAccessorPixelTrait:

KisRandomAccessorPixel List of all members.

Detailed Description

Definition at line 47 of file kis_random_accessor.h.


Public Member Functions

 KisRandomAccessorPixelTrait (KisRandomAccessor *underlyingAccessor, KisRandomAccessor *selectionAccessor)
 ~KisRandomAccessorPixelTrait ()
bool isSelected () const
Q_UINT8 operator[] (int index) const
Q_UINT8 selectedness () const
Q_UINT8 * selectionMask () const
void moveTo (Q_INT32 x, Q_INT32 y)

Member Function Documentation

Q_UINT8 KisRandomAccessorPixelTrait::selectedness (  )  const [inline]

Returns the degree of selectedness of the pixel.

Definition at line 65 of file kis_random_accessor.h.

Q_UINT8* KisRandomAccessorPixelTrait::selectionMask (  )  const [inline]

Returns the selectionmask from the current point; this is guaranteed to have the same number of consecutive pixels that the iterator has at a given point.

It return a 0 if there is no selection.

Definition at line 75 of file kis_random_accessor.h.


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