![]() |
RDKit
Open-source cheminformatics and machine learning.
|
#include <MolDraw2D.h>
Public Member Functions | |
DrawColour () | |
DrawColour (double r, double g, double b, double a=1.0) | |
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 37 of file MolDraw2D.h.
|
inline |
Definition at line 39 of file MolDraw2D.h.
Referenced by operator*(), operator+(), operator-(), and operator/().
|
inline |
Definition at line 40 of file MolDraw2D.h.
|
inline |
|
inline |
Definition at line 61 of file MolDraw2D.h.
References a, b, DrawColour(), g, and r.
|
inline |
Definition at line 51 of file MolDraw2D.h.
References a, b, DrawColour(), g, and r.
|
inline |
Definition at line 54 of file MolDraw2D.h.
References a, b, DrawColour(), g, and r.
|
inline |
Definition at line 57 of file MolDraw2D.h.
References a, b, DrawColour(), g, PRECONDITION, and r.
|
inline |
double RDKit::DrawColour::a = 1.0 |
Definition at line 38 of file MolDraw2D.h.
Referenced by feq(), operator*(), operator+(), operator-(), operator/(), and operator==().
double RDKit::DrawColour::b = 0.0 |
Definition at line 38 of file MolDraw2D.h.
Referenced by feq(), operator*(), operator+(), operator-(), operator/(), and operator==().
double RDKit::DrawColour::g = 0.0 |
Definition at line 38 of file MolDraw2D.h.
Referenced by feq(), operator*(), operator+(), operator-(), operator/(), and operator==().
double RDKit::DrawColour::r = 0.0 |
Definition at line 38 of file MolDraw2D.h.
Referenced by feq(), operator*(), operator+(), operator-(), operator/(), and operator==().