Blender
V5.0
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
8
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
20
21
extern
PyTypeObject
ViewShape_Type
;
22
23
#define BPy_ViewShape_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&ViewShape_Type))
24
25
/*---------------------------Python BPy_ViewShape structure definition----------*/
26
typedef
struct
{
27
PyObject_HEAD
28
Freestyle::ViewShape
*
vs
;
29
bool
borrowed
;
/* true if *vs a borrowed object */
30
BPy_SShape
*
py_ss
;
31
}
BPy_ViewShape
;
32
33
/*---------------------------Python BPy_ViewShape visible prototypes-----------*/
34
35
int
ViewShape_Init
(PyObject *
module
);
36
BPy_SShape.h
ViewShape_Type
PyTypeObject ViewShape_Type
Definition
BPy_ViewShape.cpp:367
ViewShape_Init
int ViewShape_Init(PyObject *module)
Definition
BPy_ViewShape.cpp:26
ViewMap.h
Classes to define a View Map (ViewVertex, ViewEdge, etc.).
Freestyle::ViewShape
Definition
ViewMap.h:1386
module
static struct PyModuleDef module
Definition
python.cpp:796
BPy_SShape
Definition
BPy_SShape.h:24
BPy_ViewShape
Definition
BPy_ViewShape.h:26
BPy_ViewShape::vs
PyObject_HEAD Freestyle::ViewShape * vs
Definition
BPy_ViewShape.h:28
BPy_ViewShape::py_ss
BPy_SShape * py_ss
Definition
BPy_ViewShape.h:30
BPy_ViewShape::borrowed
bool borrowed
Definition
BPy_ViewShape.h:29
Generated on
for Blender by
doxygen
1.16.1