Blender
V5.0
source
blender
freestyle
intern
python
BPy_SShape.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/Silhouette.h
"
16
18
19
extern
PyTypeObject
SShape_Type
;
20
21
#define BPy_SShape_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&SShape_Type))
22
23
/*---------------------------Python BPy_SShape structure definition----------*/
24
typedef
struct
{
25
PyObject_HEAD
26
Freestyle::SShape
*
ss
;
27
bool
borrowed
;
/* true if *ss is a borrowed object */
28
}
BPy_SShape
;
29
30
/*---------------------------Python BPy_SShape visible prototypes-----------*/
31
32
int
SShape_Init
(PyObject *
module
);
33
SShape_Type
PyTypeObject SShape_Type
Definition
BPy_SShape.cpp:293
SShape_Init
int SShape_Init(PyObject *module)
Definition
BPy_SShape.cpp:26
Silhouette.h
Classes to define a silhouette structure.
Freestyle::SShape
Definition
Silhouette.h:1388
module
static struct PyModuleDef module
Definition
python.cpp:796
BPy_SShape
Definition
BPy_SShape.h:24
BPy_SShape::ss
PyObject_HEAD Freestyle::SShape * ss
Definition
BPy_SShape.h:26
BPy_SShape::borrowed
bool borrowed
Definition
BPy_SShape.h:27
Generated on
for Blender by
doxygen
1.16.1