2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT6_GEN_QCOLORTRANSFORM_H
|
|
|
|
#define MIQT_QT6_GEN_QCOLORTRANSFORM_H
|
2024-10-20 05:21:03 +00:00
|
|
|
|
|
|
|
#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 QColor;
|
|
|
|
class QColorTransform;
|
|
|
|
class QRgba64;
|
|
|
|
#else
|
|
|
|
typedef struct QColor QColor;
|
|
|
|
typedef struct QColorTransform QColorTransform;
|
|
|
|
typedef struct QRgba64 QRgba64;
|
|
|
|
#endif
|
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QColorTransform_new(QColorTransform** outptr_QColorTransform);
|
|
|
|
void QColorTransform_new2(QColorTransform* colorTransform, QColorTransform** outptr_QColorTransform);
|
2024-10-20 05:21:03 +00:00
|
|
|
void QColorTransform_OperatorAssign(QColorTransform* self, QColorTransform* other);
|
|
|
|
void QColorTransform_Swap(QColorTransform* self, QColorTransform* other);
|
|
|
|
bool QColorTransform_IsIdentity(const QColorTransform* self);
|
|
|
|
unsigned int QColorTransform_Map(const QColorTransform* self, unsigned int argb);
|
|
|
|
QRgba64* QColorTransform_MapWithRgba64(const QColorTransform* self, QRgba64* rgba64);
|
|
|
|
QColor* QColorTransform_MapWithColor(const QColorTransform* self, QColor* color);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QColorTransform_Delete(QColorTransform* self, bool isSubclass);
|
2024-10-20 05:21:03 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|