mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 08:58:37 +00:00
85 lines
3.0 KiB
C++
85 lines
3.0 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(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, uintptr_t mode);
|
|
void QSize_Scale2(QSize* self, QSize* s, uintptr_t mode);
|
|
QSize* QSize_Scaled(const QSize* self, int w, int h, uintptr_t mode);
|
|
QSize* QSize_Scaled2(const QSize* self, QSize* s, uintptr_t 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);
|
|
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(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, uintptr_t mode);
|
|
void QSizeF_Scale2(QSizeF* self, QSizeF* s, uintptr_t mode);
|
|
QSizeF* QSizeF_Scaled(const QSizeF* self, double w, double h, uintptr_t mode);
|
|
QSizeF* QSizeF_Scaled2(const QSizeF* self, QSizeF* s, uintptr_t 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);
|
|
void QSizeF_Delete(QSizeF* self);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
#endif
|