Main Page | Class List | Directories | File List | Class Members | File Members | Related Pages

colorcircle.cpp File Reference

#include <cmath>
#include <qpen.h>
#include <qpainter.h>
#include <qcolor.h>
#include <qimage.h>
#include "rdebug.h"
#include "colorcircle.h"

Include dependency graph for colorcircle.cpp:


Defines

#define SWAP(a, b, t)   ((t) = (a), (a) = (b), (b) = (t))
#define LERP(a, b, v1, v2, i)

Define Documentation

#define LERP a,
b,
v1,
v2,
 ) 
 

Value:

(((v2) - (v1) != 0)         \
             ? ((a) + ((b) - (a)) * ((i) - (v1)) / ((v2) - (v1))) \
             : (a))

#define SWAP a,
b,
 )     ((t) = (a), (a) = (b), (b) = (t))
 


Go back to rwm - the window manager's - Home page.
created 13 Jun 2005 for colordlg $Revision:1.1$ by Rolf C. Rönnau using doxygen 1.4.2