KJB
|
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <assert.h>
#include "wrap_dtlib_cpp/img.h"
#include "wrap_dtlib_cpp/circle.h"
#include "l_cpp/l_exception.h"
Macros | |
#define | ONE -1 |
#define | TWO -Width-1 |
#define | THREE -Width |
#define | FOUR -Width+1 |
#define | FIVE 1 |
#define | SIX Width+1 |
#define | SEVEN Width |
#define | EIGHT Width-1 |
#define | goto1 { tmp[numpix] = 1; cx--; } |
#define | goto2 { tmp[numpix] = 2; cx--; cy--; } |
#define | goto3 { tmp[numpix] = 3; cy--; } |
#define | goto4 { tmp[numpix] = 4; cx++; cy--; } |
#define | goto5 { tmp[numpix] = 5; cx++; } |
#define | goto6 { tmp[numpix] = 6; cx++; cy++; } |
#define | goto7 { tmp[numpix] = 7; cy++; } |
#define | goto8 { tmp[numpix] = 8; cx--;cy++; } |
#define EIGHT Width-1 |
#define FIVE 1 |
#define FOUR -Width+1 |
#define goto1 { tmp[numpix] = 1; cx--; } |
#define goto2 { tmp[numpix] = 2; cx--; cy--; } |
#define goto3 { tmp[numpix] = 3; cy--; } |
#define goto4 { tmp[numpix] = 4; cx++; cy--; } |
#define goto5 { tmp[numpix] = 5; cx++; } |
#define goto6 { tmp[numpix] = 6; cx++; cy++; } |
#define goto7 { tmp[numpix] = 7; cy++; } |
#define goto8 { tmp[numpix] = 8; cx--;cy++; } |
#define ONE -1 |
#define SEVEN Width |
#define SIX Width+1 |
#define THREE -Width |
#define TWO -Width-1 |