#include "potracelib.h"
Go to the source code of this file.
Classes | |
struct | point_s |
Defines | |
#define | abs(a) ((a)>0 ? (a) : -(a)) |
#define | cu(a) ((a)*(a)*(a)) |
#define | max(a, b) ((a)>(b) ? (a) : (b)) |
#define | min(a, b) ((a)<(b) ? (a) : (b)) |
#define | sign(x) ((x)>0 ? 1 : (x)<0 ? -1 : 0) |
#define | sq(a) ((a)*(a)) |
Typedefs | |
typedef potrace_dpoint_t | dpoint_t |
typedef struct point_s | point_t |
Functions | |
static dpoint_t | dpoint (point_t p) |
static int | floordiv (int a, int n) |
static dpoint_t | interval (double lambda, dpoint_t a, dpoint_t b) |
static int | mod (int a, int n) |
#define abs | ( | a | ) | ((a)>0 ? (a) : -(a)) |
Definition at line 72 of file auxiliary.h.
#define cu | ( | a | ) | ((a)*(a)*(a)) |
Definition at line 76 of file auxiliary.h.
#define max | ( | a, | |
b | |||
) | ((a)>(b) ? (a) : (b)) |
Definition at line 74 of file auxiliary.h.
#define min | ( | a, | |
b | |||
) | ((a)<(b) ? (a) : (b)) |
Definition at line 73 of file auxiliary.h.
#define sq | ( | a | ) | ((a)*(a)) |
Definition at line 75 of file auxiliary.h.
typedef potrace_dpoint_t dpoint_t |
Definition at line 26 of file auxiliary.h.
Definition at line 24 of file auxiliary.h.
Definition at line 29 of file auxiliary.h.
static int floordiv | ( | int | a, |
int | n | ||
) | [inline, static] |
Definition at line 60 of file auxiliary.h.
Definition at line 37 of file auxiliary.h.
static int mod | ( | int | a, |
int | n | ||
) | [inline, static] |
Definition at line 56 of file auxiliary.h.