Defines | Typedefs | Functions
curve.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "potracelib.h"
#include "lists.h"
#include "curve.h"
Include dependency graph for potrace/curve.c:

Go to the source code of this file.


#define SAFE_MALLOC(var, n, typ)   if ((var = (typ *)malloc((n)*sizeof(typ))) == NULL) goto malloc_error


typedef dpoint_t dpoint3_t [3]


void path_free (path_t *p)
path_tpath_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 Documentation

#define SAFE_MALLOC (   var,
)    if ((var = (typ *)malloc((n)*sizeof(typ))) == NULL) goto malloc_error

Definition at line 16 of file potrace/curve.c.

Typedef Documentation

typedef dpoint_t dpoint3_t[3]

Definition at line 78 of file potrace/curve.c.

Function Documentation

void path_free ( path_t p)

Definition at line 50 of file potrace/curve.c.

path_t* path_new ( void  )

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.

Definition at line 104 of file potrace/curve.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Author(s): Niklas Meinzer, Ina Baumgarten
autogenerated on Wed Dec 26 2012 16:00:43