Blender
V5.0
source
blender
freestyle
intern
python
Iterator
BPy_StrokeVertexIterator.h
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2023 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9
#pragma once
10
11
#include "
../BPy_Iterator.h
"
12
13
#include "
../../stroke/StrokeIterators.h
"
14
16
17
extern
PyTypeObject
StrokeVertexIterator_Type
;
18
19
#define BPy_StrokeVertexIterator_Check(v) \
20
(PyObject_IsInstance((PyObject *)v, (PyObject *)&StrokeVertexIterator_Type))
21
22
/*---------------------------Python BPy_StrokeVertexIterator structure definition----------*/
23
typedef
struct
{
24
BPy_Iterator
py_it
;
25
Freestyle::StrokeInternal::StrokeVertexIterator
*
sv_it
;
26
bool
reversed
;
27
/* attribute to make next() work correctly */
28
bool
at_start
;
29
}
BPy_StrokeVertexIterator
;
30
BPy_Iterator.h
StrokeVertexIterator_Type
PyTypeObject StrokeVertexIterator_Type
Definition
BPy_StrokeVertexIterator.cpp:323
StrokeIterators.h
Iterators used to iterate over the elements of the Stroke.
Freestyle::StrokeInternal::StrokeVertexIterator
Definition
StrokeIterators.h:35
BPy_Iterator
Definition
BPy_Iterator.h:24
BPy_StrokeVertexIterator
Definition
BPy_StrokeVertexIterator.h:23
BPy_StrokeVertexIterator::sv_it
Freestyle::StrokeInternal::StrokeVertexIterator * sv_it
Definition
BPy_StrokeVertexIterator.h:25
BPy_StrokeVertexIterator::reversed
bool reversed
Definition
BPy_StrokeVertexIterator.h:26
BPy_StrokeVertexIterator::py_it
BPy_Iterator py_it
Definition
BPy_StrokeVertexIterator.h:24
BPy_StrokeVertexIterator::at_start
bool at_start
Definition
BPy_StrokeVertexIterator.h:28
Generated on
for Blender by
doxygen
1.16.1