COPASI API
4.16.103
|
#include <QtGui/QGraphicsItem>
#include <QtGui/QGraphicsEffect>
#include <qlayout/CQEffectDescription.h>
#include <qlayout/CQCopasiEffect.h>
Go to the source code of this file.
Functions | |
QColor | interpolate (const QColor &a, const QColor &b, float t) |
qreal | linear (qreal a, qreal b, qreal t) |
QColor interpolate | ( | const QColor & | a, |
const QColor & | b, | ||
float | t | ||
) |
Interpolate between a, and b
0.0 <= t <= 1.0
Definition at line 22 of file CQEffectDescription.cpp.
References linear().
Referenced by CQEffectDescription::applyToScene().
qreal linear | ( | qreal | a, |
qreal | b, | ||
qreal | t | ||
) |
Definition at line 12 of file CQEffectDescription.cpp.
Referenced by CQEffectDescription::applyToScene(), CGA::creation(), getGradient(), interpolate(), COptMethodEP2::optimise(), and COptMethodHGASA::optimise().