blob: b481395aa54efebc0584de0cdf36a2733595d5d9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
  | 
/* -*- mode: c++; c-basic-offset: 4 -*- */
#ifndef PATH_CLEANUP_H
#define PATH_CLEANUP_H
#include <Python.h>
enum e_snap_mode {
    SNAP_AUTO,
    SNAP_FALSE,
    SNAP_TRUE
};
void *get_path_iterator(PyObject *path,
                        PyObject *trans,
                        int remove_nans,
                        int do_clip,
                        double rect[4],
                        enum e_snap_mode snap_mode,
                        double stroke_width,
                        int do_simplify);
unsigned get_vertex(void *pipeline, double *x, double *y);
void free_path_iterator(void *pipeline);
#endif /* PATH_CLEANUP_H */
  |