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