mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 17:08:38 +00:00
85 lines
2.8 KiB
C++
85 lines
2.8 KiB
C++
#ifndef GEN_QSIZE_H
|
|
#define GEN_QSIZE_H
|
|
|
|
#include <stdbool.h>
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
#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
|
|
|
|
QSize* QSize_new();
|
|
QSize* QSize_new2(int w, int h);
|
|
QSize* QSize_new3(QSize* param1);
|
|
bool QSize_IsNull(QSize* self);
|
|
bool QSize_IsEmpty(QSize* self);
|
|
bool QSize_IsValid(QSize* self);
|
|
int QSize_Width(QSize* self);
|
|
int QSize_Height(QSize* self);
|
|
void QSize_SetWidth(QSize* self, int w);
|
|
void QSize_SetHeight(QSize* self, int h);
|
|
void QSize_Transpose(QSize* self);
|
|
QSize* QSize_Transposed(QSize* self);
|
|
void QSize_Scale(QSize* self, int w, int h, uintptr_t mode);
|
|
void QSize_Scale2(QSize* self, QSize* s, uintptr_t mode);
|
|
QSize* QSize_Scaled(QSize* self, int w, int h, uintptr_t mode);
|
|
QSize* QSize_Scaled2(QSize* self, QSize* s, uintptr_t mode);
|
|
QSize* QSize_ExpandedTo(QSize* self, QSize* param1);
|
|
QSize* QSize_BoundedTo(QSize* self, QSize* param1);
|
|
QSize* QSize_GrownBy(QSize* self, QMargins* m);
|
|
QSize* QSize_ShrunkBy(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);
|
|
void QSize_Delete(QSize* self);
|
|
|
|
QSizeF* QSizeF_new();
|
|
QSizeF* QSizeF_new2(QSize* sz);
|
|
QSizeF* QSizeF_new3(double w, double h);
|
|
QSizeF* QSizeF_new4(QSizeF* param1);
|
|
bool QSizeF_IsNull(QSizeF* self);
|
|
bool QSizeF_IsEmpty(QSizeF* self);
|
|
bool QSizeF_IsValid(QSizeF* self);
|
|
double QSizeF_Width(QSizeF* self);
|
|
double QSizeF_Height(QSizeF* self);
|
|
void QSizeF_SetWidth(QSizeF* self, double w);
|
|
void QSizeF_SetHeight(QSizeF* self, double h);
|
|
void QSizeF_Transpose(QSizeF* self);
|
|
QSizeF* QSizeF_Transposed(QSizeF* self);
|
|
void QSizeF_Scale(QSizeF* self, double w, double h, uintptr_t mode);
|
|
void QSizeF_Scale2(QSizeF* self, QSizeF* s, uintptr_t mode);
|
|
QSizeF* QSizeF_Scaled(QSizeF* self, double w, double h, uintptr_t mode);
|
|
QSizeF* QSizeF_Scaled2(QSizeF* self, QSizeF* s, uintptr_t mode);
|
|
QSizeF* QSizeF_ExpandedTo(QSizeF* self, QSizeF* param1);
|
|
QSizeF* QSizeF_BoundedTo(QSizeF* self, QSizeF* param1);
|
|
QSizeF* QSizeF_GrownBy(QSizeF* self, QMarginsF* m);
|
|
QSizeF* QSizeF_ShrunkBy(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(QSizeF* self);
|
|
void QSizeF_Delete(QSizeF* self);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
#endif
|