2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT6_GEN_QBITMAP_H
|
|
|
|
#define MIQT_QT6_GEN_QBITMAP_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 QBitmap;
|
|
|
|
class QImage;
|
2024-11-19 06:29:06 +00:00
|
|
|
class QPaintDevice;
|
|
|
|
class QPaintEngine;
|
2024-10-20 05:21:03 +00:00
|
|
|
class QPixmap;
|
|
|
|
class QSize;
|
|
|
|
class QTransform;
|
|
|
|
#else
|
|
|
|
typedef struct QBitmap QBitmap;
|
|
|
|
typedef struct QImage QImage;
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QPaintDevice QPaintDevice;
|
|
|
|
typedef struct QPaintEngine QPaintEngine;
|
2024-10-20 05:21:03 +00:00
|
|
|
typedef struct QPixmap QPixmap;
|
|
|
|
typedef struct QSize QSize;
|
|
|
|
typedef struct QTransform QTransform;
|
|
|
|
#endif
|
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QBitmap_new(QBitmap** outptr_QBitmap, QPixmap** outptr_QPixmap, QPaintDevice** outptr_QPaintDevice);
|
|
|
|
void QBitmap_new2(QPixmap* param1, QBitmap** outptr_QBitmap, QPixmap** outptr_QPixmap, QPaintDevice** outptr_QPaintDevice);
|
|
|
|
void QBitmap_new3(int w, int h, QBitmap** outptr_QBitmap, QPixmap** outptr_QPixmap, QPaintDevice** outptr_QPaintDevice);
|
|
|
|
void QBitmap_new4(QSize* param1, QBitmap** outptr_QBitmap, QPixmap** outptr_QPixmap, QPaintDevice** outptr_QPaintDevice);
|
|
|
|
void QBitmap_new5(struct miqt_string fileName, QBitmap** outptr_QBitmap, QPixmap** outptr_QPixmap, QPaintDevice** outptr_QPaintDevice);
|
|
|
|
void QBitmap_new6(QBitmap* param1, QBitmap** outptr_QBitmap, QPixmap** outptr_QPixmap, QPaintDevice** outptr_QPaintDevice);
|
|
|
|
void QBitmap_new7(struct miqt_string fileName, const char* format, QBitmap** outptr_QBitmap, QPixmap** outptr_QPixmap, QPaintDevice** outptr_QPaintDevice);
|
2024-10-20 05:21:03 +00:00
|
|
|
void QBitmap_OperatorAssign(QBitmap* self, QPixmap* param1);
|
|
|
|
void QBitmap_Swap(QBitmap* self, QBitmap* other);
|
|
|
|
void QBitmap_Clear(QBitmap* self);
|
|
|
|
QBitmap* QBitmap_FromImage(QImage* image);
|
|
|
|
QBitmap* QBitmap_FromData(QSize* size, const unsigned char* bits);
|
|
|
|
QBitmap* QBitmap_FromPixmap(QPixmap* pixmap);
|
|
|
|
QBitmap* QBitmap_Transformed(const QBitmap* self, QTransform* matrix);
|
|
|
|
void QBitmap_OperatorAssignWithQBitmap(QBitmap* self, QBitmap* param1);
|
|
|
|
QBitmap* QBitmap_FromImage2(QImage* image, int flags);
|
|
|
|
QBitmap* QBitmap_FromData3(QSize* size, const unsigned char* bits, int monoFormat);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QBitmap_override_virtual_DevType(void* self, intptr_t slot);
|
|
|
|
int QBitmap_virtualbase_DevType(const void* self);
|
|
|
|
void QBitmap_override_virtual_PaintEngine(void* self, intptr_t slot);
|
|
|
|
QPaintEngine* QBitmap_virtualbase_PaintEngine(const void* self);
|
|
|
|
void QBitmap_override_virtual_Metric(void* self, intptr_t slot);
|
|
|
|
int QBitmap_virtualbase_Metric(const void* self, int param1);
|
|
|
|
void QBitmap_Delete(QBitmap* self, bool isSubclass);
|
2024-10-20 05:21:03 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|