#include #include "qpixelformat.h" #include "gen_qpixelformat.h" #include "_cgo_export.h" 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(const QPixelFormat* self) { QPixelFormat::ColorModel _ret = self->colorModel(); return static_cast(_ret); } unsigned char QPixelFormat_ChannelCount(const QPixelFormat* self) { return self->channelCount(); } unsigned char QPixelFormat_RedSize(const QPixelFormat* self) { return self->redSize(); } unsigned char QPixelFormat_GreenSize(const QPixelFormat* self) { return self->greenSize(); } unsigned char QPixelFormat_BlueSize(const QPixelFormat* self) { return self->blueSize(); } unsigned char QPixelFormat_CyanSize(const QPixelFormat* self) { return self->cyanSize(); } unsigned char QPixelFormat_MagentaSize(const QPixelFormat* self) { return self->magentaSize(); } unsigned char QPixelFormat_YellowSize(const QPixelFormat* self) { return self->yellowSize(); } unsigned char QPixelFormat_BlackSize(const QPixelFormat* self) { return self->blackSize(); } unsigned char QPixelFormat_HueSize(const QPixelFormat* self) { return self->hueSize(); } unsigned char QPixelFormat_SaturationSize(const QPixelFormat* self) { return self->saturationSize(); } unsigned char QPixelFormat_LightnessSize(const QPixelFormat* self) { return self->lightnessSize(); } unsigned char QPixelFormat_BrightnessSize(const QPixelFormat* self) { return self->brightnessSize(); } unsigned char QPixelFormat_AlphaSize(const QPixelFormat* self) { return self->alphaSize(); } unsigned char QPixelFormat_BitsPerPixel(const QPixelFormat* self) { return self->bitsPerPixel(); } uintptr_t QPixelFormat_AlphaUsage(const QPixelFormat* self) { QPixelFormat::AlphaUsage _ret = self->alphaUsage(); return static_cast(_ret); } uintptr_t QPixelFormat_AlphaPosition(const QPixelFormat* self) { QPixelFormat::AlphaPosition _ret = self->alphaPosition(); return static_cast(_ret); } uintptr_t QPixelFormat_Premultiplied(const QPixelFormat* self) { QPixelFormat::AlphaPremultiplied _ret = self->premultiplied(); return static_cast(_ret); } uintptr_t QPixelFormat_TypeInterpretation(const QPixelFormat* self) { QPixelFormat::TypeInterpretation _ret = self->typeInterpretation(); return static_cast(_ret); } uintptr_t QPixelFormat_ByteOrder(const QPixelFormat* self) { QPixelFormat::ByteOrder _ret = self->byteOrder(); return static_cast(_ret); } uintptr_t QPixelFormat_YuvLayout(const QPixelFormat* self) { QPixelFormat::YUVLayout _ret = self->yuvLayout(); return static_cast(_ret); } unsigned char QPixelFormat_SubEnum(const QPixelFormat* self) { return self->subEnum(); } void QPixelFormat_Delete(QPixelFormat* self) { delete self; }