mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 08:58:37 +00:00
70 lines
2.2 KiB
C++
70 lines
2.2 KiB
C++
#pragma once
|
|
#ifndef MIQT_QT_GEN_QPEN_H
|
|
#define MIQT_QT_GEN_QPEN_H
|
|
|
|
#include <stdbool.h>
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
#include "../libmiqt/libmiqt.h"
|
|
|
|
#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
|
|
|
|
void QPen_new(QPen** outptr_QPen);
|
|
void QPen_new2(int param1, QPen** outptr_QPen);
|
|
void QPen_new3(QColor* color, QPen** outptr_QPen);
|
|
void QPen_new4(QBrush* brush, double width, QPen** outptr_QPen);
|
|
void QPen_new5(QPen* pen, QPen** outptr_QPen);
|
|
void QPen_new6(QBrush* brush, double width, int s, QPen** outptr_QPen);
|
|
void QPen_new7(QBrush* brush, double width, int s, int c, QPen** outptr_QPen);
|
|
void QPen_new8(QBrush* brush, double width, int s, int c, int j, QPen** outptr_QPen);
|
|
void QPen_OperatorAssign(QPen* self, QPen* pen);
|
|
void QPen_Swap(QPen* self, QPen* other);
|
|
int QPen_Style(const QPen* self);
|
|
void QPen_SetStyle(QPen* self, int style);
|
|
struct miqt_array /* of double */ QPen_DashPattern(const QPen* self);
|
|
void QPen_SetDashPattern(QPen* self, struct miqt_array /* of double */ pattern);
|
|
double QPen_DashOffset(const QPen* self);
|
|
void QPen_SetDashOffset(QPen* self, double doffset);
|
|
double QPen_MiterLimit(const QPen* self);
|
|
void QPen_SetMiterLimit(QPen* self, double limit);
|
|
double QPen_WidthF(const QPen* self);
|
|
void QPen_SetWidthF(QPen* self, double width);
|
|
int QPen_Width(const QPen* self);
|
|
void QPen_SetWidth(QPen* self, int width);
|
|
QColor* QPen_Color(const QPen* self);
|
|
void QPen_SetColor(QPen* self, QColor* color);
|
|
QBrush* QPen_Brush(const QPen* self);
|
|
void QPen_SetBrush(QPen* self, QBrush* brush);
|
|
bool QPen_IsSolid(const QPen* self);
|
|
int QPen_CapStyle(const QPen* self);
|
|
void QPen_SetCapStyle(QPen* self, int pcs);
|
|
int QPen_JoinStyle(const QPen* self);
|
|
void QPen_SetJoinStyle(QPen* self, int pcs);
|
|
bool QPen_IsCosmetic(const QPen* self);
|
|
void QPen_SetCosmetic(QPen* self, bool cosmetic);
|
|
bool QPen_OperatorEqual(const QPen* self, QPen* p);
|
|
bool QPen_OperatorNotEqual(const QPen* self, QPen* p);
|
|
bool QPen_IsDetached(QPen* self);
|
|
void QPen_Delete(QPen* self, bool isSubclass);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
#endif
|