28 #define PY_ARRAY_UNIQUE_SYMBOL itom_ARRAY_API //see numpy help ::array api :: Miscellaneous :: Importing the api (this line must bebefore include global.h)
29 #define NO_IMPORT_ARRAY
33 #if (defined _DEBUG) && (defined WIN32)
35 #include "python/pythonWrapper.h"
38 #include "python/pythonWrapper.h"
57 #define PyFont_Check(op) PyObject_TypeCheck(op, &ito::PythonFont::PyFontType)
62 static void PyFont_dealloc(
PyFont *
self);
63 static PyObject* PyFont_new(PyTypeObject *type, PyObject *args, PyObject *kwds);
64 static int PyFont_init(
PyFont *
self, PyObject *args, PyObject *kwds);
66 static PyObject* createPyFont(
const QFont &font);
71 static PyObject* PyFont_repr(
PyFont *
self);
76 static PyObject* PyFont_Reduce(
PyFont *
self, PyObject *args);
77 static PyObject* PyFont_SetState(
PyFont *
self, PyObject *args);
82 static PyObject* PyFont_getFamily(
PyFont *
self,
void *closure);
83 static int PyFont_setFamily(
PyFont *
self, PyObject *value,
void *closure);
85 static PyObject* PyFont_getPointSize(
PyFont *
self,
void *closure);
86 static int PyFont_setPointSize(
PyFont *
self, PyObject *value,
void *closure);
88 static PyObject* PyFont_getWeight(
PyFont *
self,
void *closure);
89 static int PyFont_setWeight(
PyFont *
self, PyObject *value,
void *closure);
91 static PyObject* PyFont_getItalic(
PyFont *
self,
void *closure);
92 static int PyFont_setItalic(
PyFont *
self, PyObject *value,
void *closure);
94 static PyObject* PyFont_getUnderline(
PyFont *
self,
void *closure);
95 static int PyFont_setUnderline(
PyFont *
self, PyObject *value,
void *closure);
97 static PyObject* PyFont_getStrikeOut(
PyFont *
self,
void *closure);
98 static int PyFont_setStrikeOut(
PyFont *
self, PyObject *value,
void *closure);
103 static PyObject* PyFont_isFamilyInstalled(
PyFont *
self, PyObject *args, PyObject *kwds);
104 static PyObject* PyFont_installedFontFamilies(
PyFont *
self);
110 static PyMethodDef PyFont_methods[];
111 static PyGetSetDef PyFont_getseters[];
112 static PyTypeObject PyFontType;
113 static PyModuleDef PyFontModule;
115 static void PyFont_addTpDict(PyObject *tp_dict);
Definition: pythonFont.h:47
Definition: pythonFont.h:50
Definition: apiFunctionsGraph.cpp:39