2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT6_GEN_QSIZE_H
|
|
|
|
#define MIQT_QT6_GEN_QSIZE_H
|
2024-10-20 05:21:03 +00:00
|
|
|
|
|
|
|
#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 QMargins;
|
|
|
|
class QMarginsF;
|
|
|
|
class QSize;
|
|
|
|
class QSizeF;
|
|
|
|
#else
|
|
|
|
typedef struct QMargins QMargins;
|
|
|
|
typedef struct QMarginsF QMarginsF;
|
|
|
|
typedef struct QSize QSize;
|
|
|
|
typedef struct QSizeF QSizeF;
|
|
|
|
#endif
|
|
|
|
|
2024-12-07 04:15:57 +00:00
|
|
|
QSize* QSize_new();
|
|
|
|
QSize* QSize_new2(int w, int h);
|
|
|
|
QSize* QSize_new3(QSize* param1);
|
2024-10-20 05:21:03 +00:00
|
|
|
bool QSize_IsNull(const QSize* self);
|
|
|
|
bool QSize_IsEmpty(const QSize* self);
|
|
|
|
bool QSize_IsValid(const QSize* self);
|
|
|
|
int QSize_Width(const QSize* self);
|
|
|
|
int QSize_Height(const QSize* self);
|
|
|
|
void QSize_SetWidth(QSize* self, int w);
|
|
|
|
void QSize_SetHeight(QSize* self, int h);
|
|
|
|
void QSize_Transpose(QSize* self);
|
|
|
|
QSize* QSize_Transposed(const QSize* self);
|
|
|
|
void QSize_Scale(QSize* self, int w, int h, int mode);
|
|
|
|
void QSize_Scale2(QSize* self, QSize* s, int mode);
|
|
|
|
QSize* QSize_Scaled(const QSize* self, int w, int h, int mode);
|
|
|
|
QSize* QSize_Scaled2(const QSize* self, QSize* s, int mode);
|
|
|
|
QSize* QSize_ExpandedTo(const QSize* self, QSize* param1);
|
|
|
|
QSize* QSize_BoundedTo(const QSize* self, QSize* param1);
|
|
|
|
QSize* QSize_GrownBy(const QSize* self, QMargins* m);
|
|
|
|
QSize* QSize_ShrunkBy(const QSize* self, QMargins* m);
|
|
|
|
QSize* QSize_OperatorPlusAssign(QSize* self, QSize* param1);
|
|
|
|
QSize* QSize_OperatorMinusAssign(QSize* self, QSize* param1);
|
|
|
|
QSize* QSize_OperatorMultiplyAssign(QSize* self, double c);
|
|
|
|
QSize* QSize_OperatorDivideAssign(QSize* self, double c);
|
|
|
|
QSizeF* QSize_ToSizeF(const QSize* self);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QSize_Delete(QSize* self, bool isSubclass);
|
2024-10-20 05:21:03 +00:00
|
|
|
|
2024-12-07 04:15:57 +00:00
|
|
|
QSizeF* QSizeF_new();
|
|
|
|
QSizeF* QSizeF_new2(QSize* sz);
|
|
|
|
QSizeF* QSizeF_new3(double w, double h);
|
|
|
|
QSizeF* QSizeF_new4(QSizeF* param1);
|
2024-10-20 05:21:03 +00:00
|
|
|
bool QSizeF_IsNull(const QSizeF* self);
|
|
|
|
bool QSizeF_IsEmpty(const QSizeF* self);
|
|
|
|
bool QSizeF_IsValid(const QSizeF* self);
|
|
|
|
double QSizeF_Width(const QSizeF* self);
|
|
|
|
double QSizeF_Height(const QSizeF* self);
|
|
|
|
void QSizeF_SetWidth(QSizeF* self, double w);
|
|
|
|
void QSizeF_SetHeight(QSizeF* self, double h);
|
|
|
|
void QSizeF_Transpose(QSizeF* self);
|
|
|
|
QSizeF* QSizeF_Transposed(const QSizeF* self);
|
|
|
|
void QSizeF_Scale(QSizeF* self, double w, double h, int mode);
|
|
|
|
void QSizeF_Scale2(QSizeF* self, QSizeF* s, int mode);
|
|
|
|
QSizeF* QSizeF_Scaled(const QSizeF* self, double w, double h, int mode);
|
|
|
|
QSizeF* QSizeF_Scaled2(const QSizeF* self, QSizeF* s, int mode);
|
|
|
|
QSizeF* QSizeF_ExpandedTo(const QSizeF* self, QSizeF* param1);
|
|
|
|
QSizeF* QSizeF_BoundedTo(const QSizeF* self, QSizeF* param1);
|
|
|
|
QSizeF* QSizeF_GrownBy(const QSizeF* self, QMarginsF* m);
|
|
|
|
QSizeF* QSizeF_ShrunkBy(const QSizeF* self, QMarginsF* m);
|
|
|
|
QSizeF* QSizeF_OperatorPlusAssign(QSizeF* self, QSizeF* param1);
|
|
|
|
QSizeF* QSizeF_OperatorMinusAssign(QSizeF* self, QSizeF* param1);
|
|
|
|
QSizeF* QSizeF_OperatorMultiplyAssign(QSizeF* self, double c);
|
|
|
|
QSizeF* QSizeF_OperatorDivideAssign(QSizeF* self, double c);
|
|
|
|
QSize* QSizeF_ToSize(const QSizeF* self);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QSizeF_Delete(QSizeF* self, bool isSubclass);
|
2024-10-20 05:21:03 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|