2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QPEN_H
|
|
|
|
#define GEN_QPEN_H
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
2024-09-14 22:29:05 +00:00
|
|
|
#include "binding.h"
|
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class QBrush;
|
|
|
|
class QColor;
|
|
|
|
class QPen;
|
|
|
|
#else
|
|
|
|
typedef struct QBrush QBrush;
|
|
|
|
typedef struct QColor QColor;
|
|
|
|
typedef struct QPen QPen;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
QPen* QPen_new();
|
2024-08-29 07:01:51 +00:00
|
|
|
QPen* QPen_new2(uintptr_t param1);
|
|
|
|
QPen* QPen_new3(QColor* color);
|
|
|
|
QPen* QPen_new4(QBrush* brush, double width);
|
|
|
|
QPen* QPen_new5(QPen* pen);
|
|
|
|
QPen* QPen_new6(QBrush* brush, double width, uintptr_t s);
|
|
|
|
QPen* QPen_new7(QBrush* brush, double width, uintptr_t s, uintptr_t c);
|
|
|
|
QPen* QPen_new8(QBrush* brush, double width, uintptr_t s, uintptr_t c, uintptr_t j);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QPen_OperatorAssign(QPen* self, QPen* pen);
|
|
|
|
void QPen_Swap(QPen* self, QPen* other);
|
2024-09-11 05:41:09 +00:00
|
|
|
uintptr_t QPen_Style(const QPen* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QPen_SetStyle(QPen* self, uintptr_t style);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_array* QPen_DashPattern(const QPen* self);
|
|
|
|
void QPen_SetDashPattern(QPen* self, struct miqt_array* /* of double */ pattern);
|
2024-09-11 05:41:09 +00:00
|
|
|
double QPen_DashOffset(const QPen* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QPen_SetDashOffset(QPen* self, double doffset);
|
2024-09-11 05:41:09 +00:00
|
|
|
double QPen_MiterLimit(const QPen* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QPen_SetMiterLimit(QPen* self, double limit);
|
2024-09-11 05:41:09 +00:00
|
|
|
double QPen_WidthF(const QPen* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QPen_SetWidthF(QPen* self, double width);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QPen_Width(const QPen* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QPen_SetWidth(QPen* self, int width);
|
2024-09-11 05:41:09 +00:00
|
|
|
QColor* QPen_Color(const QPen* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QPen_SetColor(QPen* self, QColor* color);
|
2024-09-11 05:41:09 +00:00
|
|
|
QBrush* QPen_Brush(const QPen* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QPen_SetBrush(QPen* self, QBrush* brush);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QPen_IsSolid(const QPen* self);
|
|
|
|
uintptr_t QPen_CapStyle(const QPen* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QPen_SetCapStyle(QPen* self, uintptr_t pcs);
|
2024-09-11 05:41:09 +00:00
|
|
|
uintptr_t QPen_JoinStyle(const QPen* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QPen_SetJoinStyle(QPen* self, uintptr_t pcs);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QPen_IsCosmetic(const QPen* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QPen_SetCosmetic(QPen* self, bool cosmetic);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QPen_OperatorEqual(const QPen* self, QPen* p);
|
|
|
|
bool QPen_OperatorNotEqual(const QPen* self, QPen* p);
|
2024-08-25 04:08:24 +00:00
|
|
|
bool QPen_IsDetached(QPen* self);
|
|
|
|
void QPen_Delete(QPen* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|