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-27 06:57:46 +00:00
|
|
|
|
|
|
|
|
#include "../BPy_UnaryFunction0D.h"
|
|
|
|
|
|
|
|
|
|
#include "../../geometry/Geom.h"
|
|
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
extern PyTypeObject UnaryFunction0DVec2f_Type;
|
|
|
|
|
|
2013-02-23 18:50:33 +00:00
|
|
|
#define BPy_UnaryFunction0DVec2f_Check(v) \
|
|
|
|
|
(PyObject_IsInstance((PyObject *)v, (PyObject *)&UnaryFunction0DVec2f_Type))
|
2008-07-27 06:57:46 +00:00
|
|
|
|
|
|
|
|
/*---------------------------Python BPy_UnaryFunction0DVec2f structure definition----------*/
|
|
|
|
|
typedef struct {
|
|
|
|
|
BPy_UnaryFunction0D py_uf0D;
|
2021-02-08 17:28:15 +02:00
|
|
|
Freestyle::UnaryFunction0D<Freestyle::Geometry::Vec2f> *uf0D_vec2f;
|
2008-07-27 06:57:46 +00:00
|
|
|
} BPy_UnaryFunction0DVec2f;
|
|
|
|
|
|
|
|
|
|
/*---------------------------Python BPy_UnaryFunction0DVec2f visible prototypes-----------*/
|
2013-02-23 18:50:33 +00:00
|
|
|
int UnaryFunction0DVec2f_Init(PyObject *module);
|
2008-07-27 06:57:46 +00:00
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////////////
|