#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"
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_t * | findpath (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) |
Definition at line 39 of file potrace/decompose.c.
static void bm_clearexcess | ( | potrace_bitmap_t * | bm | ) | [static] |
Definition at line 24 of file potrace/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 potrace/decompose.c.
static void clear_bm_with_bbox | ( | potrace_bitmap_t * | bm, |
bbox_t * | bbox | ||
) | [static] |
Definition at line 43 of file potrace/decompose.c.
static int detrand | ( | int | x, |
int | y | ||
) | [inline, static] |
Definition at line 59 of file potrace/decompose.c.
static int findnext | ( | potrace_bitmap_t * | bm, |
int * | xp, | ||
int * | yp | ||
) | [static] |
Definition at line 423 of file potrace/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 potrace/decompose.c.
static int majority | ( | potrace_bitmap_t * | bm, |
int | x, | ||
int | y | ||
) | [static] |
Definition at line 86 of file potrace/decompose.c.
static void pathlist_to_tree | ( | path_t * | plist, |
potrace_bitmap_t * | bm | ||
) | [static] |
Definition at line 302 of file potrace/decompose.c.
static void setbbox_path | ( | bbox_t * | bbox, |
path_t * | p | ||
) | [static] |
Definition at line 164 of file potrace/decompose.c.
static void xor_path | ( | potrace_bitmap_t * | bm, |
path_t * | p | ||
) | [static] |
Definition at line 140 of file potrace/decompose.c.
static void xor_to_ref | ( | potrace_bitmap_t * | bm, |
int | x, | ||
int | y, | ||
int | xa | ||
) | [static] |
Definition at line 111 of file potrace/decompose.c.