#include <qpainter.h>
#include <qfiledialog.h>
#include "runtime.h"
#include "text.h"
#include "image.h"
Go to the source code of this file.
Functions | |
int | axe_fatiness (double x) |
int | float_cmp (const void *a, const void *b) |
|
Definition at line 115 of file image.cpp. Referenced by ImageValue::drawAxes(). 00116 { 00117 if (x<1.01 && x>0.99) return 3; 00118 if (x>-1.01 && x<-0.99) return 3; 00119 if (x>-0.01 && x<0.01) return 1; 00120 return 2; 00121 }
|
|
Definition at line 309 of file image.cpp. Referenced by ImageValue::medianz(). 00310 { 00311 float * A = (float*)a; 00312 float * B = (float*)b; 00313 float c = *A; 00314 float d = *B; 00315 if (c<d) return -1; 00316 if (c>d) return 1; 00317 return 0; 00318 }
|