#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "potracelib.h"
#include "lists.h"
#include "curve.h"
Go to the source code of this file.
Defines | |
#define | SAFE_MALLOC(var, n, typ) if ((var = (typ *)malloc((n)*sizeof(typ))) == NULL) goto malloc_error |
Typedefs | |
typedef dpoint_t | dpoint3_t [3] |
Functions | |
void | path_free (path_t *p) |
path_t * | path_new (void) |
void | pathlist_free (path_t *plist) |
static void | privcurve_free_members (privcurve_t *curve) |
int | privcurve_init (privcurve_t *curve, int n) |
void | privcurve_to_curve (privcurve_t *pc, potrace_curve_t *c) |
#define SAFE_MALLOC | ( | var, | |
n, | |||
typ | |||
) | if ((var = (typ *)malloc((n)*sizeof(typ))) == NULL) goto malloc_error |
Definition at line 16 of file potrace/curve.c.
Definition at line 78 of file potrace/curve.c.
Definition at line 50 of file potrace/curve.c.
Definition at line 22 of file potrace/curve.c.
void pathlist_free | ( | path_t * | plist | ) |
Definition at line 67 of file potrace/curve.c.
static void privcurve_free_members | ( | privcurve_t * | curve | ) | [static] |
Definition at line 40 of file potrace/curve.c.
int privcurve_init | ( | privcurve_t * | curve, |
int | n | ||
) |
Definition at line 82 of file potrace/curve.c.
void privcurve_to_curve | ( | privcurve_t * | pc, |
potrace_curve_t * | c | ||
) |
Definition at line 104 of file potrace/curve.c.