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-18 02:55:23 +00:00
|
|
|
|
2008-07-23 07:56:08 +00:00
|
|
|
#include "../BPy_Interface1D.h"
|
2014-04-17 12:25:41 +09:00
|
|
|
|
2008-07-18 02:55:23 +00:00
|
|
|
#include "../../view_map/Silhouette.h"
|
|
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
extern PyTypeObject FEdge_Type;
|
|
|
|
|
|
2013-02-23 18:50:33 +00:00
|
|
|
#define BPy_FEdge_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&FEdge_Type))
|
2008-07-18 02:55:23 +00:00
|
|
|
|
|
|
|
|
/*---------------------------Python BPy_FEdge structure definition----------*/
|
|
|
|
|
typedef struct {
|
|
|
|
|
BPy_Interface1D py_if1D;
|
2021-02-08 17:28:15 +02:00
|
|
|
Freestyle::FEdge *fe;
|
2008-07-18 02:55:23 +00:00
|
|
|
} BPy_FEdge;
|
|
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////////////
|