Krita Source Code Documentation
Loading...
Searching...
No Matches
KisLsUtils::Private::LinearGradientIndex Struct Reference

Public Member Functions

bool nextPixel ()
 
int popOneIndex (int selectionAlpha)
 

Detailed Description

Definition at line 125 of file kis_ls_utils.cpp.

Member Function Documentation

◆ nextPixel()

bool KisLsUtils::Private::LinearGradientIndex::nextPixel ( )
inline

Definition at line 131 of file kis_ls_utils.cpp.

131 {
132 return true;
133 }

◆ popOneIndex()

int KisLsUtils::Private::LinearGradientIndex::popOneIndex ( int selectionAlpha)
inline

Definition at line 127 of file kis_ls_utils.cpp.

127 {
128 return 255 - selectionAlpha;
129 }

The documentation for this struct was generated from the following file: