2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QBITMAP_H
|
|
|
|
#define GEN_QBITMAP_H
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
2024-09-14 22:29:05 +00:00
|
|
|
#include "binding.h"
|
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class QBitmap;
|
2024-08-29 07:01:51 +00:00
|
|
|
class QImage;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QMatrix;
|
|
|
|
class QPixmap;
|
|
|
|
class QSize;
|
|
|
|
class QTransform;
|
|
|
|
#else
|
|
|
|
typedef struct QBitmap QBitmap;
|
2024-08-29 07:01:51 +00:00
|
|
|
typedef struct QImage QImage;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QMatrix QMatrix;
|
|
|
|
typedef struct QPixmap QPixmap;
|
|
|
|
typedef struct QSize QSize;
|
|
|
|
typedef struct QTransform QTransform;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
QBitmap* QBitmap_new();
|
|
|
|
QBitmap* QBitmap_new2(QPixmap* param1);
|
|
|
|
QBitmap* QBitmap_new3(int w, int h);
|
|
|
|
QBitmap* QBitmap_new4(QSize* param1);
|
2024-09-14 22:29:05 +00:00
|
|
|
QBitmap* QBitmap_new5(struct miqt_string* fileName);
|
2024-08-25 04:08:24 +00:00
|
|
|
QBitmap* QBitmap_new6(QBitmap* other);
|
2024-09-14 22:29:05 +00:00
|
|
|
QBitmap* QBitmap_new7(struct miqt_string* fileName, const char* format);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QBitmap_OperatorAssign(QBitmap* self, QBitmap* other);
|
|
|
|
void QBitmap_OperatorAssignWithQPixmap(QBitmap* self, QPixmap* param1);
|
|
|
|
void QBitmap_Swap(QBitmap* self, QBitmap* other);
|
|
|
|
void QBitmap_Clear(QBitmap* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
QBitmap* QBitmap_FromImage(QImage* image);
|
|
|
|
QBitmap* QBitmap_FromData(QSize* size, const unsigned char* bits);
|
2024-09-11 05:41:09 +00:00
|
|
|
QBitmap* QBitmap_Transformed(const QBitmap* self, QMatrix* param1);
|
|
|
|
QBitmap* QBitmap_TransformedWithMatrix(const QBitmap* self, QTransform* matrix);
|
2024-08-29 07:01:51 +00:00
|
|
|
QBitmap* QBitmap_FromImage2(QImage* image, int flags);
|
2024-09-18 00:12:02 +00:00
|
|
|
QBitmap* QBitmap_FromData3(QSize* size, const unsigned char* bits, int monoFormat);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QBitmap_Delete(QBitmap* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|