![]() |
RDKit
Open-source cheminformatics and machine learning.
|
#include <MolDraw2DHelpers.h>
Public Member Functions | |
| DrawColour ()=default | |
| DrawColour (double r, double g, double b, double a=1.0) | |
| bool | operator== (const DrawColour &other) const |
| bool | operator!= (const DrawColour &other) const |
| bool | feq (const DrawColour &other, double tol=0.001, bool ignoreAlpha=true) const |
| DrawColour | operator+ (const DrawColour &other) const |
| DrawColour | operator- (const DrawColour &other) const |
| DrawColour | operator/ (double v) const |
| DrawColour | operator* (double v) const |
Public Attributes | |
| double | r = 0.0 |
| double | g = 0.0 |
| double | b = 0.0 |
| double | a = 1.0 |
Definition at line 40 of file MolDraw2DHelpers.h.
|
default |
Referenced by feq(), operator!=(), operator*(), operator+(), operator-(), operator/(), and operator==().
|
inline |
|
inline |
Definition at line 49 of file MolDraw2DHelpers.h.
References a, b, DrawColour(), g, and r.
|
inline |
Definition at line 48 of file MolDraw2DHelpers.h.
References DrawColour().
|
inline |
Definition at line 65 of file MolDraw2DHelpers.h.
References a, b, DrawColour(), g, and r.
|
inline |
Definition at line 55 of file MolDraw2DHelpers.h.
References a, b, DrawColour(), g, and r.
|
inline |
Definition at line 58 of file MolDraw2DHelpers.h.
References a, b, DrawColour(), g, and r.
|
inline |
Definition at line 61 of file MolDraw2DHelpers.h.
References a, b, DrawColour(), g, PRECONDITION, and r.
|
inline |
Definition at line 45 of file MolDraw2DHelpers.h.
References a, b, DrawColour(), g, and r.
| double RDKit::DrawColour::a = 1.0 |
Definition at line 41 of file MolDraw2DHelpers.h.
Referenced by DrawColour(), feq(), operator*(), operator+(), operator-(), operator/(), and operator==().
| double RDKit::DrawColour::b = 0.0 |
Definition at line 41 of file MolDraw2DHelpers.h.
Referenced by DrawColour(), feq(), operator*(), operator+(), operator-(), operator/(), and operator==().
| double RDKit::DrawColour::g = 0.0 |
Definition at line 41 of file MolDraw2DHelpers.h.
Referenced by DrawColour(), feq(), operator*(), operator+(), operator-(), operator/(), and operator==().
| double RDKit::DrawColour::r = 0.0 |
Definition at line 41 of file MolDraw2DHelpers.h.
Referenced by DrawColour(), feq(), operator*(), operator+(), operator-(), operator/(), and operator==().