Classes | Typedefs | Functions
decompose.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <limits.h>
#include "potracelib.h"
#include "curve.h"
#include "lists.h"
#include "auxiliary.h"
#include "bitmap.h"
#include "decompose.h"
#include "progress.h"
Include dependency graph for src/decompose.c:

Go to the source code of this file.

Classes

struct  bbox_s

Typedefs

typedef struct bbox_s bbox_t

Functions

static void bm_clearexcess (potrace_bitmap_t *bm)
int bm_to_pathlist (const potrace_bitmap_t *bm, path_t **plistp, const potrace_param_t *param, progress_t *progress)
static void clear_bm_with_bbox (potrace_bitmap_t *bm, bbox_t *bbox)
static int detrand (int x, int y)
static int findnext (potrace_bitmap_t *bm, int *xp, int *yp)
static path_tfindpath (potrace_bitmap_t *bm, int x0, int y0, int sign, int turnpolicy)
static int majority (potrace_bitmap_t *bm, int x, int y)
static void pathlist_to_tree (path_t *plist, potrace_bitmap_t *bm)
static void setbbox_path (bbox_t *bbox, path_t *p)
static void xor_path (potrace_bitmap_t *bm, path_t *p)
static void xor_to_ref (potrace_bitmap_t *bm, int x, int y, int xa)

Typedef Documentation

typedef struct bbox_s bbox_t

Definition at line 39 of file src/decompose.c.


Function Documentation

static void bm_clearexcess ( potrace_bitmap_t bm) [static]

Definition at line 24 of file src/decompose.c.

int bm_to_pathlist ( const potrace_bitmap_t bm,
path_t **  plistp,
const potrace_param_t param,
progress_t progress 
)

Definition at line 449 of file src/decompose.c.

static void clear_bm_with_bbox ( potrace_bitmap_t bm,
bbox_t bbox 
) [static]

Definition at line 43 of file src/decompose.c.

static int detrand ( int  x,
int  y 
) [inline, static]

Definition at line 59 of file src/decompose.c.

static int findnext ( potrace_bitmap_t bm,
int *  xp,
int *  yp 
) [static]

Definition at line 423 of file src/decompose.c.

static path_t* findpath ( potrace_bitmap_t bm,
int  x0,
int  y0,
int  sign,
int  turnpolicy 
) [static]

Definition at line 198 of file src/decompose.c.

static int majority ( potrace_bitmap_t bm,
int  x,
int  y 
) [static]

Definition at line 86 of file src/decompose.c.

static void pathlist_to_tree ( path_t plist,
potrace_bitmap_t bm 
) [static]

Definition at line 302 of file src/decompose.c.

static void setbbox_path ( bbox_t bbox,
path_t p 
) [static]

Definition at line 164 of file src/decompose.c.

static void xor_path ( potrace_bitmap_t bm,
path_t p 
) [static]

Definition at line 140 of file src/decompose.c.

static void xor_to_ref ( potrace_bitmap_t bm,
int  x,
int  y,
int  xa 
) [static]

Definition at line 111 of file src/decompose.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