2023-08-16 00:20:26 +10:00
|
|
|
/* SPDX-FileCopyrightText: 2023 Blender Authors
|
2023-05-31 16:19:06 +02:00
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
2013-02-23 18:32:28 +00:00
|
|
|
|
2019-02-18 08:08:12 +11:00
|
|
|
/** \file
|
|
|
|
|
* \ingroup freestyle
|
2013-02-23 18:32:28 +00:00
|
|
|
*/
|
|
|
|
|
|
2013-02-23 18:50:33 +00:00
|
|
|
#pragma once
|
2008-07-24 08:29:48 +00:00
|
|
|
|
|
|
|
|
#include "../BPy_Interface1D.h"
|
|
|
|
|
|
2014-04-17 12:25:41 +09:00
|
|
|
#include "../../view_map/ViewMap.h"
|
|
|
|
|
|
2008-07-24 08:29:48 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
extern PyTypeObject ViewEdge_Type;
|
|
|
|
|
|
2013-02-23 18:50:33 +00:00
|
|
|
#define BPy_ViewEdge_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&ViewEdge_Type))
|
2008-07-24 08:29:48 +00:00
|
|
|
|
|
|
|
|
/*---------------------------Python BPy_ViewEdge structure definition----------*/
|
|
|
|
|
typedef struct {
|
|
|
|
|
BPy_Interface1D py_if1D;
|
2021-02-08 17:28:15 +02:00
|
|
|
Freestyle::ViewEdge *ve;
|
2008-07-24 08:29:48 +00:00
|
|
|
} BPy_ViewEdge;
|
|
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////////////
|