diff options
author | zverevgeny <zverevgeny@yandex-team.com> | 2025-05-13 19:00:02 +0300 |
---|---|---|
committer | zverevgeny <zverevgeny@yandex-team.com> | 2025-05-13 19:13:54 +0300 |
commit | 92e06374736aa28637dc0e706455b65c8268a5e6 (patch) | |
tree | 3df370c199ae25d308e542f02af20f43eab78f8a /contrib/python/matplotlib/py2/src/path_cleanup.h | |
parent | dc63d5794da99c2ebe3f32914d0351d9707660b0 (diff) | |
download | ydb-92e06374736aa28637dc0e706455b65c8268a5e6.tar.gz |
Import matplotlib
commit_hash:d59c2338025ef8fd1e1f961ed9d8d5fd52d0bd96
Diffstat (limited to 'contrib/python/matplotlib/py2/src/path_cleanup.h')
-rw-r--r-- | contrib/python/matplotlib/py2/src/path_cleanup.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/contrib/python/matplotlib/py2/src/path_cleanup.h b/contrib/python/matplotlib/py2/src/path_cleanup.h new file mode 100644 index 00000000000..b481395aa54 --- /dev/null +++ b/contrib/python/matplotlib/py2/src/path_cleanup.h @@ -0,0 +1,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 */ |