Krita Source Code Documentation
Loading...
Searching...
No Matches
KoGradientStopHueSort Struct Reference

#include <KoStopGradient.h>

Public Member Functions

bool operator() (const KoGradientStop &a, const KoGradientStop &b)
 

Detailed Description

Definition at line 79 of file KoStopGradient.h.

Member Function Documentation

◆ operator()()

bool KoGradientStopHueSort::operator() ( const KoGradientStop & a,
const KoGradientStop & b )
inline

Definition at line 81 of file KoStopGradient.h.

81 {
82 return (a.color.toQColor().hueF() < b.color.toQColor().hueF());
83 }
void toQColor(QColor *c) const
a convenience method for the above.
Definition KoColor.cpp:198

References KoGradientStop::color, and KoColor::toQColor().


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