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 src/curve.c:

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_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,
  n,
  typ 
)    if ((var = (typ *)malloc((n)*sizeof(typ))) == NULL) goto malloc_error

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


Typedef Documentation

typedef dpoint_t dpoint3_t[3]

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


Function Documentation

void path_free ( path_t p)

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

path_t* path_new ( void  )

Definition at line 22 of file src/curve.c.

void pathlist_free ( path_t plist)

Definition at line 67 of file src/curve.c.

static void privcurve_free_members ( privcurve_t curve) [static]

Definition at line 40 of file src/curve.c.

int privcurve_init ( privcurve_t curve,
int  n 
)

Definition at line 82 of file src/curve.c.

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

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


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