2024-08-25 04:08:24 +00:00
|
|
|
#include <QBrush>
|
|
|
|
#include <QBrushData>
|
|
|
|
#include <QColor>
|
|
|
|
#include <QConicalGradient>
|
|
|
|
#include <QGradient>
|
2024-08-29 07:01:51 +00:00
|
|
|
#define WORKAROUND_INNER_CLASS_DEFINITION_QGradient__QGradientData
|
2024-08-25 04:08:24 +00:00
|
|
|
#include <QImage>
|
|
|
|
#include <QLinearGradient>
|
|
|
|
#include <QMatrix>
|
|
|
|
#include <QPixmap>
|
|
|
|
#include <QPointF>
|
|
|
|
#include <QRadialGradient>
|
|
|
|
#include <QTransform>
|
2024-08-29 07:01:51 +00:00
|
|
|
#include "qbrush.h"
|
2024-08-25 04:08:24 +00:00
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
#include "gen_qbrush.h"
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
extern "C" {
|
|
|
|
extern void miqt_exec_callback(void* cb, int argc, void* argv);
|
|
|
|
}
|
|
|
|
|
|
|
|
QBrush* QBrush_new() {
|
|
|
|
return new QBrush();
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QBrush* QBrush_new2(uintptr_t bs) {
|
|
|
|
return new QBrush(static_cast<Qt::BrushStyle>(bs));
|
|
|
|
}
|
|
|
|
|
|
|
|
QBrush* QBrush_new3(QColor* color) {
|
|
|
|
return new QBrush(*color);
|
|
|
|
}
|
|
|
|
|
|
|
|
QBrush* QBrush_new4(uintptr_t color) {
|
|
|
|
return new QBrush(static_cast<Qt::GlobalColor>(color));
|
|
|
|
}
|
|
|
|
|
|
|
|
QBrush* QBrush_new5(QColor* color, QPixmap* pixmap) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QBrush(*color, *pixmap);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QBrush* QBrush_new6(uintptr_t color, QPixmap* pixmap) {
|
|
|
|
return new QBrush(static_cast<Qt::GlobalColor>(color), *pixmap);
|
|
|
|
}
|
|
|
|
|
|
|
|
QBrush* QBrush_new7(QPixmap* pixmap) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QBrush(*pixmap);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QBrush* QBrush_new8(QImage* image) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QBrush(*image);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QBrush* QBrush_new9(QBrush* brush) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QBrush(*brush);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QBrush* QBrush_new10(QGradient* gradient) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QBrush(*gradient);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QBrush* QBrush_new11(QColor* color, uintptr_t bs) {
|
|
|
|
return new QBrush(*color, static_cast<Qt::BrushStyle>(bs));
|
|
|
|
}
|
|
|
|
|
|
|
|
QBrush* QBrush_new12(uintptr_t color, uintptr_t bs) {
|
|
|
|
return new QBrush(static_cast<Qt::GlobalColor>(color), static_cast<Qt::BrushStyle>(bs));
|
|
|
|
}
|
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
void QBrush_OperatorAssign(QBrush* self, QBrush* brush) {
|
|
|
|
self->operator=(*brush);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QBrush_Swap(QBrush* self, QBrush* other) {
|
|
|
|
self->swap(*other);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
uintptr_t QBrush_Style(QBrush* self) {
|
|
|
|
Qt::BrushStyle ret = const_cast<const QBrush*>(self)->style();
|
|
|
|
return static_cast<uintptr_t>(ret);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QBrush_SetStyle(QBrush* self, uintptr_t style) {
|
|
|
|
self->setStyle(static_cast<Qt::BrushStyle>(style));
|
|
|
|
}
|
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
QMatrix* QBrush_Matrix(QBrush* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
const QMatrix& ret = const_cast<const QBrush*>(self)->matrix();
|
2024-08-25 04:08:24 +00:00
|
|
|
// Cast returned reference into pointer
|
|
|
|
return const_cast<QMatrix*>(&ret);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QBrush_SetMatrix(QBrush* self, QMatrix* mat) {
|
|
|
|
self->setMatrix(*mat);
|
|
|
|
}
|
|
|
|
|
|
|
|
QTransform* QBrush_Transform(QBrush* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
QTransform ret = const_cast<const QBrush*>(self)->transform();
|
2024-08-25 04:08:24 +00:00
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QTransform*>(new QTransform(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
void QBrush_SetTransform(QBrush* self, QTransform* transform) {
|
|
|
|
self->setTransform(*transform);
|
|
|
|
}
|
|
|
|
|
|
|
|
QPixmap* QBrush_Texture(QBrush* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
QPixmap ret = const_cast<const QBrush*>(self)->texture();
|
2024-08-25 04:08:24 +00:00
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QPixmap*>(new QPixmap(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
void QBrush_SetTexture(QBrush* self, QPixmap* pixmap) {
|
|
|
|
self->setTexture(*pixmap);
|
|
|
|
}
|
|
|
|
|
|
|
|
QImage* QBrush_TextureImage(QBrush* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
QImage ret = const_cast<const QBrush*>(self)->textureImage();
|
2024-08-25 04:08:24 +00:00
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QImage*>(new QImage(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
void QBrush_SetTextureImage(QBrush* self, QImage* image) {
|
|
|
|
self->setTextureImage(*image);
|
|
|
|
}
|
|
|
|
|
|
|
|
QColor* QBrush_Color(QBrush* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
const QColor& ret = const_cast<const QBrush*>(self)->color();
|
2024-08-25 04:08:24 +00:00
|
|
|
// Cast returned reference into pointer
|
|
|
|
return const_cast<QColor*>(&ret);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QBrush_SetColor(QBrush* self, QColor* color) {
|
|
|
|
self->setColor(*color);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
void QBrush_SetColorWithColor(QBrush* self, uintptr_t color) {
|
|
|
|
self->setColor(static_cast<Qt::GlobalColor>(color));
|
|
|
|
}
|
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
QGradient* QBrush_Gradient(QBrush* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
return (QGradient*) const_cast<const QBrush*>(self)->gradient();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool QBrush_IsOpaque(QBrush* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
return const_cast<const QBrush*>(self)->isOpaque();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool QBrush_OperatorEqual(QBrush* self, QBrush* b) {
|
2024-08-29 07:01:51 +00:00
|
|
|
return const_cast<const QBrush*>(self)->operator==(*b);
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool QBrush_OperatorNotEqual(QBrush* self, QBrush* b) {
|
2024-08-29 07:01:51 +00:00
|
|
|
return const_cast<const QBrush*>(self)->operator!=(*b);
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool QBrush_IsDetached(QBrush* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
return const_cast<const QBrush*>(self)->isDetached();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void QBrush_Delete(QBrush* self) {
|
|
|
|
delete self;
|
|
|
|
}
|
|
|
|
|
|
|
|
QBrushData* QBrushData_new(QBrushData* param1) {
|
|
|
|
return new QBrushData(*param1);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QBrushData_OperatorAssign(QBrushData* self, QBrushData* param1) {
|
|
|
|
self->operator=(*param1);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QBrushData_Delete(QBrushData* self) {
|
|
|
|
delete self;
|
|
|
|
}
|
|
|
|
|
|
|
|
QGradient* QGradient_new() {
|
|
|
|
return new QGradient();
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QGradient* QGradient_new2(uintptr_t param1) {
|
|
|
|
return new QGradient(static_cast<QGradient::Preset>(param1));
|
|
|
|
}
|
|
|
|
|
|
|
|
QGradient* QGradient_new3(QGradient* param1) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QGradient(*param1);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
uintptr_t QGradient_Type(QGradient* self) {
|
|
|
|
QGradient::Type ret = const_cast<const QGradient*>(self)->type();
|
|
|
|
return static_cast<uintptr_t>(ret);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QGradient_SetSpread(QGradient* self, uintptr_t spread) {
|
|
|
|
self->setSpread(static_cast<QGradient::Spread>(spread));
|
|
|
|
}
|
|
|
|
|
|
|
|
uintptr_t QGradient_Spread(QGradient* self) {
|
|
|
|
QGradient::Spread ret = const_cast<const QGradient*>(self)->spread();
|
|
|
|
return static_cast<uintptr_t>(ret);
|
|
|
|
}
|
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
void QGradient_SetColorAt(QGradient* self, double pos, QColor* color) {
|
|
|
|
self->setColorAt(static_cast<qreal>(pos), *color);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
uintptr_t QGradient_CoordinateMode(QGradient* self) {
|
|
|
|
QGradient::CoordinateMode ret = const_cast<const QGradient*>(self)->coordinateMode();
|
|
|
|
return static_cast<uintptr_t>(ret);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QGradient_SetCoordinateMode(QGradient* self, uintptr_t mode) {
|
|
|
|
self->setCoordinateMode(static_cast<QGradient::CoordinateMode>(mode));
|
|
|
|
}
|
|
|
|
|
|
|
|
uintptr_t QGradient_InterpolationMode(QGradient* self) {
|
|
|
|
QGradient::InterpolationMode ret = const_cast<const QGradient*>(self)->interpolationMode();
|
|
|
|
return static_cast<uintptr_t>(ret);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QGradient_SetInterpolationMode(QGradient* self, uintptr_t mode) {
|
|
|
|
self->setInterpolationMode(static_cast<QGradient::InterpolationMode>(mode));
|
|
|
|
}
|
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
bool QGradient_OperatorEqual(QGradient* self, QGradient* gradient) {
|
2024-08-29 07:01:51 +00:00
|
|
|
return const_cast<const QGradient*>(self)->operator==(*gradient);
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool QGradient_OperatorNotEqual(QGradient* self, QGradient* other) {
|
2024-08-29 07:01:51 +00:00
|
|
|
return const_cast<const QGradient*>(self)->operator!=(*other);
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void QGradient_Delete(QGradient* self) {
|
|
|
|
delete self;
|
|
|
|
}
|
|
|
|
|
|
|
|
QLinearGradient* QLinearGradient_new() {
|
|
|
|
return new QLinearGradient();
|
|
|
|
}
|
|
|
|
|
|
|
|
QLinearGradient* QLinearGradient_new2(QPointF* start, QPointF* finalStop) {
|
|
|
|
return new QLinearGradient(*start, *finalStop);
|
|
|
|
}
|
|
|
|
|
|
|
|
QLinearGradient* QLinearGradient_new3(double xStart, double yStart, double xFinalStop, double yFinalStop) {
|
|
|
|
return new QLinearGradient(static_cast<qreal>(xStart), static_cast<qreal>(yStart), static_cast<qreal>(xFinalStop), static_cast<qreal>(yFinalStop));
|
|
|
|
}
|
|
|
|
|
|
|
|
QLinearGradient* QLinearGradient_new4(QLinearGradient* param1) {
|
|
|
|
return new QLinearGradient(*param1);
|
|
|
|
}
|
|
|
|
|
|
|
|
QPointF* QLinearGradient_Start(QLinearGradient* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
QPointF ret = const_cast<const QLinearGradient*>(self)->start();
|
2024-08-25 04:08:24 +00:00
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QPointF*>(new QPointF(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
void QLinearGradient_SetStart(QLinearGradient* self, QPointF* start) {
|
|
|
|
self->setStart(*start);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QLinearGradient_SetStart2(QLinearGradient* self, double x, double y) {
|
|
|
|
self->setStart(static_cast<qreal>(x), static_cast<qreal>(y));
|
|
|
|
}
|
|
|
|
|
|
|
|
QPointF* QLinearGradient_FinalStop(QLinearGradient* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
QPointF ret = const_cast<const QLinearGradient*>(self)->finalStop();
|
2024-08-25 04:08:24 +00:00
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QPointF*>(new QPointF(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
void QLinearGradient_SetFinalStop(QLinearGradient* self, QPointF* stop) {
|
|
|
|
self->setFinalStop(*stop);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QLinearGradient_SetFinalStop2(QLinearGradient* self, double x, double y) {
|
|
|
|
self->setFinalStop(static_cast<qreal>(x), static_cast<qreal>(y));
|
|
|
|
}
|
|
|
|
|
|
|
|
void QLinearGradient_Delete(QLinearGradient* self) {
|
|
|
|
delete self;
|
|
|
|
}
|
|
|
|
|
|
|
|
QRadialGradient* QRadialGradient_new() {
|
|
|
|
return new QRadialGradient();
|
|
|
|
}
|
|
|
|
|
|
|
|
QRadialGradient* QRadialGradient_new2(QPointF* center, double radius, QPointF* focalPoint) {
|
|
|
|
return new QRadialGradient(*center, static_cast<qreal>(radius), *focalPoint);
|
|
|
|
}
|
|
|
|
|
|
|
|
QRadialGradient* QRadialGradient_new3(double cx, double cy, double radius, double fx, double fy) {
|
|
|
|
return new QRadialGradient(static_cast<qreal>(cx), static_cast<qreal>(cy), static_cast<qreal>(radius), static_cast<qreal>(fx), static_cast<qreal>(fy));
|
|
|
|
}
|
|
|
|
|
|
|
|
QRadialGradient* QRadialGradient_new4(QPointF* center, double radius) {
|
|
|
|
return new QRadialGradient(*center, static_cast<qreal>(radius));
|
|
|
|
}
|
|
|
|
|
|
|
|
QRadialGradient* QRadialGradient_new5(double cx, double cy, double radius) {
|
|
|
|
return new QRadialGradient(static_cast<qreal>(cx), static_cast<qreal>(cy), static_cast<qreal>(radius));
|
|
|
|
}
|
|
|
|
|
|
|
|
QRadialGradient* QRadialGradient_new6(QPointF* center, double centerRadius, QPointF* focalPoint, double focalRadius) {
|
|
|
|
return new QRadialGradient(*center, static_cast<qreal>(centerRadius), *focalPoint, static_cast<qreal>(focalRadius));
|
|
|
|
}
|
|
|
|
|
|
|
|
QRadialGradient* QRadialGradient_new7(double cx, double cy, double centerRadius, double fx, double fy, double focalRadius) {
|
|
|
|
return new QRadialGradient(static_cast<qreal>(cx), static_cast<qreal>(cy), static_cast<qreal>(centerRadius), static_cast<qreal>(fx), static_cast<qreal>(fy), static_cast<qreal>(focalRadius));
|
|
|
|
}
|
|
|
|
|
|
|
|
QRadialGradient* QRadialGradient_new8(QRadialGradient* param1) {
|
|
|
|
return new QRadialGradient(*param1);
|
|
|
|
}
|
|
|
|
|
|
|
|
QPointF* QRadialGradient_Center(QRadialGradient* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
QPointF ret = const_cast<const QRadialGradient*>(self)->center();
|
2024-08-25 04:08:24 +00:00
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QPointF*>(new QPointF(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
void QRadialGradient_SetCenter(QRadialGradient* self, QPointF* center) {
|
|
|
|
self->setCenter(*center);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QRadialGradient_SetCenter2(QRadialGradient* self, double x, double y) {
|
|
|
|
self->setCenter(static_cast<qreal>(x), static_cast<qreal>(y));
|
|
|
|
}
|
|
|
|
|
|
|
|
QPointF* QRadialGradient_FocalPoint(QRadialGradient* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
QPointF ret = const_cast<const QRadialGradient*>(self)->focalPoint();
|
2024-08-25 04:08:24 +00:00
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QPointF*>(new QPointF(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
void QRadialGradient_SetFocalPoint(QRadialGradient* self, QPointF* focalPoint) {
|
|
|
|
self->setFocalPoint(*focalPoint);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QRadialGradient_SetFocalPoint2(QRadialGradient* self, double x, double y) {
|
|
|
|
self->setFocalPoint(static_cast<qreal>(x), static_cast<qreal>(y));
|
|
|
|
}
|
|
|
|
|
|
|
|
double QRadialGradient_Radius(QRadialGradient* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
return const_cast<const QRadialGradient*>(self)->radius();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void QRadialGradient_SetRadius(QRadialGradient* self, double radius) {
|
|
|
|
self->setRadius(static_cast<qreal>(radius));
|
|
|
|
}
|
|
|
|
|
|
|
|
double QRadialGradient_CenterRadius(QRadialGradient* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
return const_cast<const QRadialGradient*>(self)->centerRadius();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void QRadialGradient_SetCenterRadius(QRadialGradient* self, double radius) {
|
|
|
|
self->setCenterRadius(static_cast<qreal>(radius));
|
|
|
|
}
|
|
|
|
|
|
|
|
double QRadialGradient_FocalRadius(QRadialGradient* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
return const_cast<const QRadialGradient*>(self)->focalRadius();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void QRadialGradient_SetFocalRadius(QRadialGradient* self, double radius) {
|
|
|
|
self->setFocalRadius(static_cast<qreal>(radius));
|
|
|
|
}
|
|
|
|
|
|
|
|
void QRadialGradient_Delete(QRadialGradient* self) {
|
|
|
|
delete self;
|
|
|
|
}
|
|
|
|
|
|
|
|
QConicalGradient* QConicalGradient_new() {
|
|
|
|
return new QConicalGradient();
|
|
|
|
}
|
|
|
|
|
|
|
|
QConicalGradient* QConicalGradient_new2(QPointF* center, double startAngle) {
|
|
|
|
return new QConicalGradient(*center, static_cast<qreal>(startAngle));
|
|
|
|
}
|
|
|
|
|
|
|
|
QConicalGradient* QConicalGradient_new3(double cx, double cy, double startAngle) {
|
|
|
|
return new QConicalGradient(static_cast<qreal>(cx), static_cast<qreal>(cy), static_cast<qreal>(startAngle));
|
|
|
|
}
|
|
|
|
|
|
|
|
QConicalGradient* QConicalGradient_new4(QConicalGradient* param1) {
|
|
|
|
return new QConicalGradient(*param1);
|
|
|
|
}
|
|
|
|
|
|
|
|
QPointF* QConicalGradient_Center(QConicalGradient* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
QPointF ret = const_cast<const QConicalGradient*>(self)->center();
|
2024-08-25 04:08:24 +00:00
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QPointF*>(new QPointF(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
void QConicalGradient_SetCenter(QConicalGradient* self, QPointF* center) {
|
|
|
|
self->setCenter(*center);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QConicalGradient_SetCenter2(QConicalGradient* self, double x, double y) {
|
|
|
|
self->setCenter(static_cast<qreal>(x), static_cast<qreal>(y));
|
|
|
|
}
|
|
|
|
|
|
|
|
double QConicalGradient_Angle(QConicalGradient* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
return const_cast<const QConicalGradient*>(self)->angle();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void QConicalGradient_SetAngle(QConicalGradient* self, double angle) {
|
|
|
|
self->setAngle(static_cast<qreal>(angle));
|
|
|
|
}
|
|
|
|
|
|
|
|
void QConicalGradient_Delete(QConicalGradient* self) {
|
|
|
|
delete self;
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QGradient__QGradientData* QGradient__QGradientData_new(QGradient__QGradientData* param1) {
|
|
|
|
return new QGradient::QGradientData(*param1);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QGradient__QGradientData_Delete(QGradient__QGradientData* self) {
|
|
|
|
delete self;
|
|
|
|
}
|
|
|
|
|