2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QPIXMAP_H
|
|
|
|
#define GEN_QPIXMAP_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 QByteArray;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QColor;
|
|
|
|
class QIODevice;
|
|
|
|
class QImage;
|
2024-08-29 07:01:51 +00:00
|
|
|
class QImageReader;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QMatrix;
|
|
|
|
class QObject;
|
|
|
|
class QPaintDevice;
|
|
|
|
class QPaintEngine;
|
|
|
|
class QPixmap;
|
|
|
|
class QPoint;
|
|
|
|
class QRect;
|
|
|
|
class QRegion;
|
|
|
|
class QSize;
|
|
|
|
class QTransform;
|
|
|
|
#else
|
|
|
|
typedef struct QBitmap QBitmap;
|
2024-08-29 07:01:51 +00:00
|
|
|
typedef struct QByteArray QByteArray;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QColor QColor;
|
|
|
|
typedef struct QIODevice QIODevice;
|
|
|
|
typedef struct QImage QImage;
|
2024-08-29 07:01:51 +00:00
|
|
|
typedef struct QImageReader QImageReader;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QMatrix QMatrix;
|
|
|
|
typedef struct QObject QObject;
|
|
|
|
typedef struct QPaintDevice QPaintDevice;
|
|
|
|
typedef struct QPaintEngine QPaintEngine;
|
|
|
|
typedef struct QPixmap QPixmap;
|
|
|
|
typedef struct QPoint QPoint;
|
|
|
|
typedef struct QRect QRect;
|
|
|
|
typedef struct QRegion QRegion;
|
|
|
|
typedef struct QSize QSize;
|
|
|
|
typedef struct QTransform QTransform;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
QPixmap* QPixmap_new();
|
|
|
|
QPixmap* QPixmap_new2(int w, int h);
|
|
|
|
QPixmap* QPixmap_new3(QSize* param1);
|
2024-09-14 22:29:05 +00:00
|
|
|
QPixmap* QPixmap_new4(struct miqt_string* fileName);
|
2024-08-25 04:08:24 +00:00
|
|
|
QPixmap* QPixmap_new5(QPixmap* param1);
|
2024-09-14 22:29:05 +00:00
|
|
|
QPixmap* QPixmap_new6(struct miqt_string* fileName, const char* format);
|
|
|
|
QPixmap* QPixmap_new7(struct miqt_string* fileName, const char* format, int flags);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QPixmap_OperatorAssign(QPixmap* self, QPixmap* param1);
|
|
|
|
void QPixmap_Swap(QPixmap* self, QPixmap* other);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QPixmap_IsNull(const QPixmap* self);
|
|
|
|
int QPixmap_DevType(const QPixmap* self);
|
|
|
|
int QPixmap_Width(const QPixmap* self);
|
|
|
|
int QPixmap_Height(const QPixmap* self);
|
|
|
|
QSize* QPixmap_Size(const QPixmap* self);
|
|
|
|
QRect* QPixmap_Rect(const QPixmap* self);
|
|
|
|
int QPixmap_Depth(const QPixmap* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
int QPixmap_DefaultDepth();
|
|
|
|
void QPixmap_Fill(QPixmap* self);
|
|
|
|
void QPixmap_Fill2(QPixmap* self, QPaintDevice* device, QPoint* ofs);
|
|
|
|
void QPixmap_Fill3(QPixmap* self, QPaintDevice* device, int xofs, int yofs);
|
2024-09-11 05:41:09 +00:00
|
|
|
QBitmap* QPixmap_Mask(const QPixmap* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QPixmap_SetMask(QPixmap* self, QBitmap* mask);
|
2024-09-11 05:41:09 +00:00
|
|
|
double QPixmap_DevicePixelRatio(const QPixmap* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QPixmap_SetDevicePixelRatio(QPixmap* self, double scaleFactor);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QPixmap_HasAlpha(const QPixmap* self);
|
|
|
|
bool QPixmap_HasAlphaChannel(const QPixmap* self);
|
|
|
|
QBitmap* QPixmap_CreateHeuristicMask(const QPixmap* self);
|
|
|
|
QBitmap* QPixmap_CreateMaskFromColor(const QPixmap* self, QColor* maskColor);
|
2024-08-25 04:08:24 +00:00
|
|
|
QPixmap* QPixmap_GrabWindow(uintptr_t param1);
|
|
|
|
QPixmap* QPixmap_GrabWidget(QObject* widget, QRect* rect);
|
|
|
|
QPixmap* QPixmap_GrabWidgetWithWidget(QObject* widget);
|
2024-09-11 05:41:09 +00:00
|
|
|
QPixmap* QPixmap_Scaled(const QPixmap* self, int w, int h);
|
|
|
|
QPixmap* QPixmap_ScaledWithQSize(const QPixmap* self, QSize* s);
|
|
|
|
QPixmap* QPixmap_ScaledToWidth(const QPixmap* self, int w);
|
|
|
|
QPixmap* QPixmap_ScaledToHeight(const QPixmap* self, int h);
|
|
|
|
QPixmap* QPixmap_Transformed(const QPixmap* self, QMatrix* param1);
|
2024-08-25 04:08:24 +00:00
|
|
|
QMatrix* QPixmap_TrueMatrix(QMatrix* m, int w, int h);
|
2024-09-11 05:41:09 +00:00
|
|
|
QPixmap* QPixmap_TransformedWithQTransform(const QPixmap* self, QTransform* param1);
|
2024-08-25 04:08:24 +00:00
|
|
|
QTransform* QPixmap_TrueMatrix2(QTransform* m, int w, int h);
|
2024-09-11 05:41:09 +00:00
|
|
|
QImage* QPixmap_ToImage(const QPixmap* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
QPixmap* QPixmap_FromImage(QImage* image);
|
|
|
|
QPixmap* QPixmap_FromImageReader(QImageReader* imageReader);
|
2024-09-14 22:29:05 +00:00
|
|
|
bool QPixmap_Load(QPixmap* self, struct miqt_string* fileName);
|
2024-08-29 07:01:51 +00:00
|
|
|
bool QPixmap_LoadFromData(QPixmap* self, const unsigned char* buf, unsigned int lenVal);
|
|
|
|
bool QPixmap_LoadFromDataWithData(QPixmap* self, QByteArray* data);
|
2024-09-14 22:29:05 +00:00
|
|
|
bool QPixmap_Save(const QPixmap* self, struct miqt_string* fileName);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QPixmap_SaveWithDevice(const QPixmap* self, QIODevice* device);
|
2024-08-29 07:01:51 +00:00
|
|
|
bool QPixmap_ConvertFromImage(QPixmap* self, QImage* img);
|
2024-09-11 05:41:09 +00:00
|
|
|
QPixmap* QPixmap_Copy(const QPixmap* self, int x, int y, int width, int height);
|
|
|
|
QPixmap* QPixmap_Copy2(const QPixmap* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QPixmap_Scroll(QPixmap* self, int dx, int dy, int x, int y, int width, int height);
|
|
|
|
void QPixmap_Scroll2(QPixmap* self, int dx, int dy, QRect* rect);
|
2024-09-11 05:41:09 +00:00
|
|
|
long long QPixmap_CacheKey(const QPixmap* self);
|
|
|
|
bool QPixmap_IsDetached(const QPixmap* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QPixmap_Detach(QPixmap* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QPixmap_IsQBitmap(const QPixmap* self);
|
|
|
|
QPaintEngine* QPixmap_PaintEngine(const QPixmap* self);
|
|
|
|
bool QPixmap_OperatorNot(const QPixmap* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QPixmap_Fill1(QPixmap* self, QColor* fillColor);
|
2024-09-11 05:41:09 +00:00
|
|
|
QBitmap* QPixmap_CreateHeuristicMask1(const QPixmap* self, bool clipTight);
|
2024-09-18 00:12:02 +00:00
|
|
|
QBitmap* QPixmap_CreateMaskFromColor2(const QPixmap* self, QColor* maskColor, int mode);
|
2024-08-25 04:08:24 +00:00
|
|
|
QPixmap* QPixmap_GrabWindow2(uintptr_t param1, int x);
|
|
|
|
QPixmap* QPixmap_GrabWindow3(uintptr_t param1, int x, int y);
|
|
|
|
QPixmap* QPixmap_GrabWindow4(uintptr_t param1, int x, int y, int w);
|
|
|
|
QPixmap* QPixmap_GrabWindow5(uintptr_t param1, int x, int y, int w, int h);
|
|
|
|
QPixmap* QPixmap_GrabWidget2(QObject* widget, int x);
|
|
|
|
QPixmap* QPixmap_GrabWidget3(QObject* widget, int x, int y);
|
|
|
|
QPixmap* QPixmap_GrabWidget4(QObject* widget, int x, int y, int w);
|
|
|
|
QPixmap* QPixmap_GrabWidget5(QObject* widget, int x, int y, int w, int h);
|
2024-09-18 00:12:02 +00:00
|
|
|
QPixmap* QPixmap_Scaled3(const QPixmap* self, int w, int h, int aspectMode);
|
|
|
|
QPixmap* QPixmap_Scaled4(const QPixmap* self, int w, int h, int aspectMode, int mode);
|
|
|
|
QPixmap* QPixmap_Scaled2(const QPixmap* self, QSize* s, int aspectMode);
|
|
|
|
QPixmap* QPixmap_Scaled32(const QPixmap* self, QSize* s, int aspectMode, int mode);
|
|
|
|
QPixmap* QPixmap_ScaledToWidth2(const QPixmap* self, int w, int mode);
|
|
|
|
QPixmap* QPixmap_ScaledToHeight2(const QPixmap* self, int h, int mode);
|
|
|
|
QPixmap* QPixmap_Transformed2(const QPixmap* self, QMatrix* param1, int mode);
|
|
|
|
QPixmap* QPixmap_Transformed22(const QPixmap* self, QTransform* param1, int mode);
|
2024-08-29 07:01:51 +00:00
|
|
|
QPixmap* QPixmap_FromImage2(QImage* image, int flags);
|
|
|
|
QPixmap* QPixmap_FromImageReader2(QImageReader* imageReader, int flags);
|
2024-09-14 22:29:05 +00:00
|
|
|
bool QPixmap_Load2(QPixmap* self, struct miqt_string* fileName, const char* format);
|
|
|
|
bool QPixmap_Load3(QPixmap* self, struct miqt_string* fileName, const char* format, int flags);
|
2024-08-29 07:01:51 +00:00
|
|
|
bool QPixmap_LoadFromData3(QPixmap* self, const unsigned char* buf, unsigned int lenVal, const char* format);
|
|
|
|
bool QPixmap_LoadFromData4(QPixmap* self, const unsigned char* buf, unsigned int lenVal, const char* format, int flags);
|
|
|
|
bool QPixmap_LoadFromData2(QPixmap* self, QByteArray* data, const char* format);
|
|
|
|
bool QPixmap_LoadFromData32(QPixmap* self, QByteArray* data, const char* format, int flags);
|
2024-09-14 22:29:05 +00:00
|
|
|
bool QPixmap_Save2(const QPixmap* self, struct miqt_string* fileName, const char* format);
|
|
|
|
bool QPixmap_Save3(const QPixmap* self, struct miqt_string* fileName, const char* format, int quality);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QPixmap_Save22(const QPixmap* self, QIODevice* device, const char* format);
|
|
|
|
bool QPixmap_Save32(const QPixmap* self, QIODevice* device, const char* format, int quality);
|
2024-08-29 07:01:51 +00:00
|
|
|
bool QPixmap_ConvertFromImage2(QPixmap* self, QImage* img, int flags);
|
2024-09-11 05:41:09 +00:00
|
|
|
QPixmap* QPixmap_Copy1(const QPixmap* self, QRect* rect);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QPixmap_Scroll7(QPixmap* self, int dx, int dy, int x, int y, int width, int height, QRegion* exposed);
|
|
|
|
void QPixmap_Scroll4(QPixmap* self, int dx, int dy, QRect* rect, QRegion* exposed);
|
|
|
|
void QPixmap_Delete(QPixmap* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|