pcb 4.1.1
An interactive printed circuit board layout editor.
|
Header file for auxiliary bitmap manipulations. More...
#include "potracelib.h"
Go to the source code of this file.
Functions | |
int | bm_to_pathlist (const potrace_bitmap_t *bm, path_t **plistp, const potrace_param_t *param) |
Decompose the given bitmap into paths. |
Header file for auxiliary bitmap manipulations.
PCB, interactive printed circuit board design
Copyright (C) 2001-2007 Peter Selinger.
This file is part of Potrace. It is free software and it is covered by the GNU General Public License. See the file COPYING for details.
Definition in file decompose.h.
int bm_to_pathlist | ( | const potrace_bitmap_t * | bm, |
path_t ** | plistp, | ||
const potrace_param_t * | param | ||
) |
Decompose the given bitmap into paths.
Returns a linked list of path_t objects with the fields len, pt, area, sign filled in.
Definition at line 578 of file decompose.c.
References potrace_path_s::area, bm_clearexcess(), bm_dup(), bm_free(), BM_GET, error, findnext(), findpath(), potrace_bitmap_s::h, list_forall_unlink, list_insert_beforehook, path_free(), pathlist_to_tree(), sign, potrace_param_s::turdsize, potrace_param_s::turnpolicy, x, xor_path(), and y.
Referenced by gcode_do_export().