#include #include "qpixelformat.h" #include "gen_qpixelformat.h" extern "C" { extern void miqt_exec_callback(void* cb, int argc, void* argv); } QPixelFormat* QPixelFormat_new() { return new QPixelFormat(); } QPixelFormat* QPixelFormat_new2(uintptr_t colorModel, unsigned char firstSize, unsigned char secondSize, unsigned char thirdSize, unsigned char fourthSize, unsigned char fifthSize, unsigned char alphaSize, uintptr_t alphaUsage, uintptr_t alphaPosition, uintptr_t premultiplied, uintptr_t typeInterpretation) { return new QPixelFormat(static_cast(colorModel), static_cast(firstSize), static_cast(secondSize), static_cast(thirdSize), static_cast(fourthSize), static_cast(fifthSize), static_cast(alphaSize), static_cast(alphaUsage), static_cast(alphaPosition), static_cast(premultiplied), static_cast(typeInterpretation)); } QPixelFormat* QPixelFormat_new3(QPixelFormat* param1) { return new QPixelFormat(*param1); } QPixelFormat* QPixelFormat_new4(uintptr_t colorModel, unsigned char firstSize, unsigned char secondSize, unsigned char thirdSize, unsigned char fourthSize, unsigned char fifthSize, unsigned char alphaSize, uintptr_t alphaUsage, uintptr_t alphaPosition, uintptr_t premultiplied, uintptr_t typeInterpretation, uintptr_t byteOrder) { return new QPixelFormat(static_cast(colorModel), static_cast(firstSize), static_cast(secondSize), static_cast(thirdSize), static_cast(fourthSize), static_cast(fifthSize), static_cast(alphaSize), static_cast(alphaUsage), static_cast(alphaPosition), static_cast(premultiplied), static_cast(typeInterpretation), static_cast(byteOrder)); } QPixelFormat* QPixelFormat_new5(uintptr_t colorModel, unsigned char firstSize, unsigned char secondSize, unsigned char thirdSize, unsigned char fourthSize, unsigned char fifthSize, unsigned char alphaSize, uintptr_t alphaUsage, uintptr_t alphaPosition, uintptr_t premultiplied, uintptr_t typeInterpretation, uintptr_t byteOrder, unsigned char subEnum) { return new QPixelFormat(static_cast(colorModel), static_cast(firstSize), static_cast(secondSize), static_cast(thirdSize), static_cast(fourthSize), static_cast(fifthSize), static_cast(alphaSize), static_cast(alphaUsage), static_cast(alphaPosition), static_cast(premultiplied), static_cast(typeInterpretation), static_cast(byteOrder), static_cast(subEnum)); } uintptr_t QPixelFormat_ColorModel(QPixelFormat* self) { QPixelFormat::ColorModel ret = const_cast(self)->colorModel(); return static_cast(ret); } unsigned char QPixelFormat_ChannelCount(QPixelFormat* self) { return const_cast(self)->channelCount(); } unsigned char QPixelFormat_RedSize(QPixelFormat* self) { return const_cast(self)->redSize(); } unsigned char QPixelFormat_GreenSize(QPixelFormat* self) { return const_cast(self)->greenSize(); } unsigned char QPixelFormat_BlueSize(QPixelFormat* self) { return const_cast(self)->blueSize(); } unsigned char QPixelFormat_CyanSize(QPixelFormat* self) { return const_cast(self)->cyanSize(); } unsigned char QPixelFormat_MagentaSize(QPixelFormat* self) { return const_cast(self)->magentaSize(); } unsigned char QPixelFormat_YellowSize(QPixelFormat* self) { return const_cast(self)->yellowSize(); } unsigned char QPixelFormat_BlackSize(QPixelFormat* self) { return const_cast(self)->blackSize(); } unsigned char QPixelFormat_HueSize(QPixelFormat* self) { return const_cast(self)->hueSize(); } unsigned char QPixelFormat_SaturationSize(QPixelFormat* self) { return const_cast(self)->saturationSize(); } unsigned char QPixelFormat_LightnessSize(QPixelFormat* self) { return const_cast(self)->lightnessSize(); } unsigned char QPixelFormat_BrightnessSize(QPixelFormat* self) { return const_cast(self)->brightnessSize(); } unsigned char QPixelFormat_AlphaSize(QPixelFormat* self) { return const_cast(self)->alphaSize(); } unsigned char QPixelFormat_BitsPerPixel(QPixelFormat* self) { return const_cast(self)->bitsPerPixel(); } uintptr_t QPixelFormat_AlphaUsage(QPixelFormat* self) { QPixelFormat::AlphaUsage ret = const_cast(self)->alphaUsage(); return static_cast(ret); } uintptr_t QPixelFormat_AlphaPosition(QPixelFormat* self) { QPixelFormat::AlphaPosition ret = const_cast(self)->alphaPosition(); return static_cast(ret); } uintptr_t QPixelFormat_Premultiplied(QPixelFormat* self) { QPixelFormat::AlphaPremultiplied ret = const_cast(self)->premultiplied(); return static_cast(ret); } uintptr_t QPixelFormat_TypeInterpretation(QPixelFormat* self) { QPixelFormat::TypeInterpretation ret = const_cast(self)->typeInterpretation(); return static_cast(ret); } uintptr_t QPixelFormat_ByteOrder(QPixelFormat* self) { QPixelFormat::ByteOrder ret = const_cast(self)->byteOrder(); return static_cast(ret); } uintptr_t QPixelFormat_YuvLayout(QPixelFormat* self) { QPixelFormat::YUVLayout ret = const_cast(self)->yuvLayout(); return static_cast(ret); } unsigned char QPixelFormat_SubEnum(QPixelFormat* self) { return const_cast(self)->subEnum(); } void QPixelFormat_Delete(QPixelFormat* self) { delete self; }