2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_GEN_QPIXELFORMAT_H
|
|
|
|
#define MIQT_QT_GEN_QPIXELFORMAT_H
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
2024-10-16 05:07:56 +00:00
|
|
|
#include "../libmiqt/libmiqt.h"
|
2024-09-14 22:29:05 +00:00
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class QPixelFormat;
|
|
|
|
#else
|
|
|
|
typedef struct QPixelFormat QPixelFormat;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
QPixelFormat* QPixelFormat_new();
|
2024-09-18 00:12:02 +00:00
|
|
|
QPixelFormat* QPixelFormat_new2(int colorModel, unsigned char firstSize, unsigned char secondSize, unsigned char thirdSize, unsigned char fourthSize, unsigned char fifthSize, unsigned char alphaSize, int alphaUsage, int alphaPosition, int premultiplied, int typeInterpretation);
|
2024-08-29 07:01:51 +00:00
|
|
|
QPixelFormat* QPixelFormat_new3(QPixelFormat* param1);
|
2024-09-18 00:12:02 +00:00
|
|
|
QPixelFormat* QPixelFormat_new4(int colorModel, unsigned char firstSize, unsigned char secondSize, unsigned char thirdSize, unsigned char fourthSize, unsigned char fifthSize, unsigned char alphaSize, int alphaUsage, int alphaPosition, int premultiplied, int typeInterpretation, int byteOrder);
|
|
|
|
QPixelFormat* QPixelFormat_new5(int colorModel, unsigned char firstSize, unsigned char secondSize, unsigned char thirdSize, unsigned char fourthSize, unsigned char fifthSize, unsigned char alphaSize, int alphaUsage, int alphaPosition, int premultiplied, int typeInterpretation, int byteOrder, unsigned char subEnum);
|
|
|
|
int QPixelFormat_ColorModel(const QPixelFormat* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
unsigned char QPixelFormat_ChannelCount(const QPixelFormat* self);
|
|
|
|
unsigned char QPixelFormat_RedSize(const QPixelFormat* self);
|
|
|
|
unsigned char QPixelFormat_GreenSize(const QPixelFormat* self);
|
|
|
|
unsigned char QPixelFormat_BlueSize(const QPixelFormat* self);
|
|
|
|
unsigned char QPixelFormat_CyanSize(const QPixelFormat* self);
|
|
|
|
unsigned char QPixelFormat_MagentaSize(const QPixelFormat* self);
|
|
|
|
unsigned char QPixelFormat_YellowSize(const QPixelFormat* self);
|
|
|
|
unsigned char QPixelFormat_BlackSize(const QPixelFormat* self);
|
|
|
|
unsigned char QPixelFormat_HueSize(const QPixelFormat* self);
|
|
|
|
unsigned char QPixelFormat_SaturationSize(const QPixelFormat* self);
|
|
|
|
unsigned char QPixelFormat_LightnessSize(const QPixelFormat* self);
|
|
|
|
unsigned char QPixelFormat_BrightnessSize(const QPixelFormat* self);
|
|
|
|
unsigned char QPixelFormat_AlphaSize(const QPixelFormat* self);
|
|
|
|
unsigned char QPixelFormat_BitsPerPixel(const QPixelFormat* self);
|
2024-09-18 00:12:02 +00:00
|
|
|
int QPixelFormat_AlphaUsage(const QPixelFormat* self);
|
|
|
|
int QPixelFormat_AlphaPosition(const QPixelFormat* self);
|
|
|
|
int QPixelFormat_Premultiplied(const QPixelFormat* self);
|
|
|
|
int QPixelFormat_TypeInterpretation(const QPixelFormat* self);
|
|
|
|
int QPixelFormat_ByteOrder(const QPixelFormat* self);
|
|
|
|
int QPixelFormat_YuvLayout(const QPixelFormat* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
unsigned char QPixelFormat_SubEnum(const QPixelFormat* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QPixelFormat_Delete(QPixelFormat* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|