Krita Source Code Documentation
Loading...
Searching...
No Matches
KisStrokeCompatibilityInfo.cpp File Reference

Go to the source code of this file.

Functions

bool operator== (const KisStrokeCompatibilityInfo &lhs, const KisStrokeCompatibilityInfo &rhs)
 

Function Documentation

◆ operator==()

bool operator== ( const KisStrokeCompatibilityInfo & lhs,
const KisStrokeCompatibilityInfo & rhs )

Definition at line 39 of file KisStrokeCompatibilityInfo.cpp.

40{
41 return
42 lhs.currentFgColor == rhs.currentFgColor &&
43 lhs.currentBgColor == rhs.currentBgColor &&
44 lhs.currentPattern == rhs.currentPattern &&
46 lhs.currentPreset == rhs.currentPreset &&
48 lhs.currentNode == rhs.currentNode &&
49 qFuzzyCompare(lhs.opacity, rhs.opacity) &&
50 lhs.compositeOpId == rhs.compositeOpId &&
52}
static bool qFuzzyCompare(half p1, half p2)