miqt/qt/gen_qpicture.h

118 lines
5.2 KiB
C
Raw Normal View History

#pragma once
#ifndef MIQT_QT_GEN_QPICTURE_H
#define MIQT_QT_GEN_QPICTURE_H
#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 QIODevice;
2024-11-19 06:29:06 +00:00
class QPaintDevice;
class QPaintEngine;
class QPainter;
class QPicture;
class QPictureIO;
2024-11-19 06:29:06 +00:00
class QPoint;
class QRect;
#else
typedef struct QIODevice QIODevice;
2024-11-19 06:29:06 +00:00
typedef struct QPaintDevice QPaintDevice;
typedef struct QPaintEngine QPaintEngine;
typedef struct QPainter QPainter;
typedef struct QPicture QPicture;
typedef struct QPictureIO QPictureIO;
2024-11-19 06:29:06 +00:00
typedef struct QPoint QPoint;
typedef struct QRect QRect;
#endif
2024-12-07 04:15:57 +00:00
QPicture* QPicture_new();
QPicture* QPicture_new2(QPicture* param1);
QPicture* QPicture_new3(int formatVersion);
void QPicture_virtbase(QPicture* src, QPaintDevice** outptr_QPaintDevice);
bool QPicture_IsNull(const QPicture* self);
int QPicture_DevType(const QPicture* self);
unsigned int QPicture_Size(const QPicture* self);
const char* QPicture_Data(const QPicture* self);
2024-08-29 07:01:51 +00:00
void QPicture_SetData(QPicture* self, const char* data, unsigned int size);
bool QPicture_Play(QPicture* self, QPainter* p);
bool QPicture_Load(QPicture* self, QIODevice* dev);
bool QPicture_LoadWithFileName(QPicture* self, struct miqt_string fileName);
bool QPicture_Save(QPicture* self, QIODevice* dev);
bool QPicture_SaveWithFileName(QPicture* self, struct miqt_string fileName);
QRect* QPicture_BoundingRect(const QPicture* self);
void QPicture_SetBoundingRect(QPicture* self, QRect* r);
void QPicture_OperatorAssign(QPicture* self, QPicture* p);
void QPicture_Swap(QPicture* self, QPicture* other);
void QPicture_Detach(QPicture* self);
bool QPicture_IsDetached(const QPicture* self);
const char* QPicture_PictureFormat(struct miqt_string fileName);
struct miqt_array /* of struct miqt_string */ QPicture_InputFormats();
struct miqt_array /* of struct miqt_string */ QPicture_OutputFormats();
struct miqt_array /* of struct miqt_string */ QPicture_InputFormatList();
struct miqt_array /* of struct miqt_string */ QPicture_OutputFormatList();
QPaintEngine* QPicture_PaintEngine(const QPicture* self);
2024-11-19 06:29:06 +00:00
int QPicture_Metric(const QPicture* self, int m);
2024-08-29 07:01:51 +00:00
bool QPicture_Load2(QPicture* self, QIODevice* dev, const char* format);
bool QPicture_Load22(QPicture* self, struct miqt_string fileName, const char* format);
2024-08-29 07:01:51 +00:00
bool QPicture_Save2(QPicture* self, QIODevice* dev, const char* format);
bool QPicture_Save22(QPicture* self, struct miqt_string fileName, const char* format);
2024-11-19 06:29:06 +00:00
void QPicture_override_virtual_DevType(void* self, intptr_t slot);
int QPicture_virtualbase_DevType(const void* self);
void QPicture_override_virtual_SetData(void* self, intptr_t slot);
void QPicture_virtualbase_SetData(void* self, const char* data, unsigned int size);
void QPicture_override_virtual_PaintEngine(void* self, intptr_t slot);
QPaintEngine* QPicture_virtualbase_PaintEngine(const void* self);
void QPicture_override_virtual_Metric(void* self, intptr_t slot);
int QPicture_virtualbase_Metric(const void* self, int m);
void QPicture_override_virtual_InitPainter(void* self, intptr_t slot);
void QPicture_virtualbase_InitPainter(const void* self, QPainter* painter);
void QPicture_override_virtual_Redirected(void* self, intptr_t slot);
QPaintDevice* QPicture_virtualbase_Redirected(const void* self, QPoint* offset);
void QPicture_override_virtual_SharedPainter(void* self, intptr_t slot);
QPainter* QPicture_virtualbase_SharedPainter(const void* self);
void QPicture_Delete(QPicture* self, bool isSubclass);
2024-12-07 04:15:57 +00:00
QPictureIO* QPictureIO_new();
QPictureIO* QPictureIO_new2(QIODevice* ioDevice, const char* format);
QPictureIO* QPictureIO_new3(struct miqt_string fileName, const char* format);
QPicture* QPictureIO_Picture(const QPictureIO* self);
int QPictureIO_Status(const QPictureIO* self);
const char* QPictureIO_Format(const QPictureIO* self);
QIODevice* QPictureIO_IoDevice(const QPictureIO* self);
struct miqt_string QPictureIO_FileName(const QPictureIO* self);
int QPictureIO_Quality(const QPictureIO* self);
struct miqt_string QPictureIO_Description(const QPictureIO* self);
const char* QPictureIO_Parameters(const QPictureIO* self);
float QPictureIO_Gamma(const QPictureIO* self);
void QPictureIO_SetPicture(QPictureIO* self, QPicture* picture);
void QPictureIO_SetStatus(QPictureIO* self, int status);
2024-08-29 07:01:51 +00:00
void QPictureIO_SetFormat(QPictureIO* self, const char* format);
void QPictureIO_SetIODevice(QPictureIO* self, QIODevice* iODevice);
void QPictureIO_SetFileName(QPictureIO* self, struct miqt_string fileName);
void QPictureIO_SetQuality(QPictureIO* self, int quality);
void QPictureIO_SetDescription(QPictureIO* self, struct miqt_string description);
2024-08-29 07:01:51 +00:00
void QPictureIO_SetParameters(QPictureIO* self, const char* parameters);
void QPictureIO_SetGamma(QPictureIO* self, float gamma);
bool QPictureIO_Read(QPictureIO* self);
bool QPictureIO_Write(QPictureIO* self);
struct miqt_string QPictureIO_PictureFormat(struct miqt_string fileName);
struct miqt_string QPictureIO_PictureFormatWithQIODevice(QIODevice* param1);
struct miqt_array /* of struct miqt_string */ QPictureIO_InputFormats();
struct miqt_array /* of struct miqt_string */ QPictureIO_OutputFormats();
2024-11-19 06:29:06 +00:00
void QPictureIO_Delete(QPictureIO* self, bool isSubclass);
#ifdef __cplusplus
} /* extern C */
#endif
#endif