Blender  V3.3
BPy_StrokeVertexIterator.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
7 #pragma once
8 
9 #include "../BPy_Iterator.h"
10 
11 #include "../../stroke/StrokeIterators.h"
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
18 
19 extern PyTypeObject StrokeVertexIterator_Type;
20 
21 #define BPy_StrokeVertexIterator_Check(v) \
22  (PyObject_IsInstance((PyObject *)v, (PyObject *)&StrokeVertexIterator_Type))
23 
24 /*---------------------------Python BPy_StrokeVertexIterator structure definition----------*/
25 typedef struct {
28  bool reversed;
29  /* attribute to make next() work correctly */
30  bool at_start;
32 
34 
35 #ifdef __cplusplus
36 }
37 #endif
PyTypeObject StrokeVertexIterator_Type
Freestyle::StrokeInternal::StrokeVertexIterator * sv_it