Blender
V4.3
source
blender
freestyle
intern
python
BPy_ViewShape.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
9
#pragma once
10
11
extern
"C"
{
12
#include <Python.h>
13
}
14
15
#include "
../view_map/ViewMap.h
"
16
17
#include "
BPy_SShape.h
"
18
19
#ifdef __cplusplus
20
extern
"C"
{
21
#endif
22
24
25
extern
PyTypeObject
ViewShape_Type
;
26
27
#define BPy_ViewShape_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&ViewShape_Type))
28
29
/*---------------------------Python BPy_ViewShape structure definition----------*/
30
typedef
struct
{
31
PyObject_HEAD
32
Freestyle::ViewShape
*
vs
;
33
bool
borrowed
;
/* true if *vs a borrowed object */
34
BPy_SShape
*
py_ss
;
35
}
BPy_ViewShape
;
36
37
/*---------------------------Python BPy_ViewShape visible prototypes-----------*/
38
39
int
ViewShape_Init
(PyObject *
module
);
40
42
43
#ifdef __cplusplus
44
}
45
#endif
BPy_SShape.h
ViewShape_Type
PyTypeObject ViewShape_Type
Definition
BPy_ViewShape.cpp:360
ViewShape_Init
int ViewShape_Init(PyObject *module)
Definition
BPy_ViewShape.cpp:28
ViewMap.h
Classes to define a View Map (ViewVertex, ViewEdge, etc.)
Freestyle::ViewShape
Definition
ViewMap.h:1396
module
static struct PyModuleDef module
Definition
python.cpp:991
BPy_SShape
Definition
BPy_SShape.h:28
BPy_ViewShape
Definition
BPy_ViewShape.h:30
BPy_ViewShape::vs
PyObject_HEAD Freestyle::ViewShape * vs
Definition
BPy_ViewShape.h:32
BPy_ViewShape::py_ss
BPy_SShape * py_ss
Definition
BPy_ViewShape.h:34
BPy_ViewShape::borrowed
bool borrowed
Definition
BPy_ViewShape.h:33
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0