2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QFONTINFO_H
|
|
|
|
#define GEN_QFONTINFO_H
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
2024-10-16 05:07:56 +00:00
|
|
|
#include "../libmiqt/libmiqt.h"
|
2024-09-14 22:29:05 +00:00
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class QFont;
|
|
|
|
class QFontInfo;
|
|
|
|
#else
|
|
|
|
typedef struct QFont QFont;
|
|
|
|
typedef struct QFontInfo QFontInfo;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
QFontInfo* QFontInfo_new(QFont* param1);
|
|
|
|
QFontInfo* QFontInfo_new2(QFontInfo* param1);
|
|
|
|
void QFontInfo_OperatorAssign(QFontInfo* self, QFontInfo* param1);
|
|
|
|
void QFontInfo_Swap(QFontInfo* self, QFontInfo* other);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QFontInfo_Family(const QFontInfo* self);
|
|
|
|
struct miqt_string QFontInfo_StyleName(const QFontInfo* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QFontInfo_PixelSize(const QFontInfo* self);
|
|
|
|
int QFontInfo_PointSize(const QFontInfo* self);
|
|
|
|
double QFontInfo_PointSizeF(const QFontInfo* self);
|
|
|
|
bool QFontInfo_Italic(const QFontInfo* self);
|
2024-09-18 00:12:02 +00:00
|
|
|
int QFontInfo_Style(const QFontInfo* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QFontInfo_Weight(const QFontInfo* self);
|
|
|
|
bool QFontInfo_Bold(const QFontInfo* self);
|
|
|
|
bool QFontInfo_Underline(const QFontInfo* self);
|
|
|
|
bool QFontInfo_Overline(const QFontInfo* self);
|
|
|
|
bool QFontInfo_StrikeOut(const QFontInfo* self);
|
|
|
|
bool QFontInfo_FixedPitch(const QFontInfo* self);
|
2024-09-18 00:12:02 +00:00
|
|
|
int QFontInfo_StyleHint(const QFontInfo* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QFontInfo_RawMode(const QFontInfo* self);
|
|
|
|
bool QFontInfo_ExactMatch(const QFontInfo* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QFontInfo_Delete(QFontInfo* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|