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

#include <KoStopGradient.h>

Public Member Functions

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

Detailed Description

Definition at line 72 of file KoStopGradient.h.

Member Function Documentation

◆ operator()()

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

Definition at line 74 of file KoStopGradient.h.

74 {
75 return (a.color.toQColor().valueF() < b.color.toQColor().valueF());
76 }
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: