aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/matplotlib/py2/src/path_cleanup.h
diff options
context:
space:
mode:
authormaxim-yurchuk <maxim-yurchuk@yandex-team.com>2024-10-09 12:29:46 +0300
committermaxim-yurchuk <maxim-yurchuk@yandex-team.com>2024-10-09 13:14:22 +0300
commit9731d8a4bb7ee2cc8554eaf133bb85498a4c7d80 (patch)
treea8fb3181d5947c0d78cf402aa56e686130179049 /contrib/python/matplotlib/py2/src/path_cleanup.h
parenta44b779cd359f06c3ebbef4ec98c6b38609d9d85 (diff)
downloadydb-9731d8a4bb7ee2cc8554eaf133bb85498a4c7d80.tar.gz
publishFullContrib: true for ydb
<HIDDEN_URL> commit_hash:c82a80ac4594723cebf2c7387dec9c60217f603e
Diffstat (limited to 'contrib/python/matplotlib/py2/src/path_cleanup.h')
-rw-r--r--contrib/python/matplotlib/py2/src/path_cleanup.h27
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 0000000000..b481395aa5
--- /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 */