1 //******************************************************************************
2 //  Copyright (c) 2005-2013 by Jan Van hijfte
3 //
4 //  See the included file COPYING.TXT for details about the copyright.
5 //
6 //  This program is distributed in the hope that it will be useful,
7 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
8 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
9 //******************************************************************************
10 
11 
12 #ifndef QPEN_C_H
13 #define QPEN_C_H
14 
15 #include <QtGui>
16 #include "pascalbind.h"
17 
18 C_EXPORT QPenH QPen_Create();
19 C_EXPORT void QPen_Destroy(QPenH handle);
20 C_EXPORT QPenH QPen_Create2(Qt::PenStyle AnonParam1);
21 C_EXPORT QPenH QPen_Create3(const QColorH color);
22 C_EXPORT QPenH QPen_Create4(const QBrushH brush, qreal width, Qt::PenStyle s, Qt::PenCapStyle c, Qt::PenJoinStyle j);
23 C_EXPORT QPenH QPen_Create5(const QPenH pen);
24 C_EXPORT void QPen_swap(QPenH handle, QPenH other);
25 C_EXPORT Qt::PenStyle QPen_style(QPenH handle);
26 C_EXPORT void QPen_setStyle(QPenH handle, Qt::PenStyle AnonParam1);
27 C_EXPORT void QPen_dashPattern(QPenH handle, PQRealArray retval);
28 C_EXPORT void QPen_setDashPattern(QPenH handle, PQRealArray pattern);
29 C_EXPORT qreal QPen_dashOffset(QPenH handle);
30 C_EXPORT void QPen_setDashOffset(QPenH handle, qreal doffset);
31 C_EXPORT qreal QPen_miterLimit(QPenH handle);
32 C_EXPORT void QPen_setMiterLimit(QPenH handle, qreal limit);
33 C_EXPORT qreal QPen_widthF(QPenH handle);
34 C_EXPORT void QPen_setWidthF(QPenH handle, qreal width);
35 C_EXPORT int QPen_width(QPenH handle);
36 C_EXPORT void QPen_setWidth(QPenH handle, int width);
37 C_EXPORT void QPen_color(QPenH handle, PQColor retval);
38 C_EXPORT void QPen_setColor(QPenH handle, const QColorH color);
39 C_EXPORT void QPen_brush(QPenH handle, QBrushH retval);
40 C_EXPORT void QPen_setBrush(QPenH handle, const QBrushH brush);
41 C_EXPORT bool QPen_isSolid(QPenH handle);
42 C_EXPORT Qt::PenCapStyle QPen_capStyle(QPenH handle);
43 C_EXPORT void QPen_setCapStyle(QPenH handle, Qt::PenCapStyle pcs);
44 C_EXPORT Qt::PenJoinStyle QPen_joinStyle(QPenH handle);
45 C_EXPORT void QPen_setJoinStyle(QPenH handle, Qt::PenJoinStyle pcs);
46 C_EXPORT bool QPen_isCosmetic(QPenH handle);
47 C_EXPORT void QPen_setCosmetic(QPenH handle, bool cosmetic);
48 C_EXPORT bool QPen_isDetached(QPenH handle);
49 
50 #endif
51