2024-08-25 04:08:24 +00:00
|
|
|
#include <QTileRules>
|
2024-10-16 05:07:56 +00:00
|
|
|
#include <qdrawutil.h>
|
2024-08-29 07:01:51 +00:00
|
|
|
#include "gen_qdrawutil.h"
|
2024-12-11 06:55:47 +00:00
|
|
|
|
|
|
|
#ifndef _Bool
|
|
|
|
#define _Bool bool
|
|
|
|
#endif
|
2024-09-14 22:29:05 +00:00
|
|
|
#include "_cgo_export.h"
|
2024-08-25 04:08:24 +00:00
|
|
|
|
2024-12-07 04:15:57 +00:00
|
|
|
QTileRules* QTileRules_new(int horizontalRule, int verticalRule) {
|
|
|
|
return new QTileRules(static_cast<Qt::TileRule>(horizontalRule), static_cast<Qt::TileRule>(verticalRule));
|
2024-08-29 07:01:51 +00:00
|
|
|
}
|
|
|
|
|
2024-12-07 04:15:57 +00:00
|
|
|
QTileRules* QTileRules_new2() {
|
|
|
|
return new QTileRules();
|
2024-08-29 07:01:51 +00:00
|
|
|
}
|
|
|
|
|
2024-12-07 04:15:57 +00:00
|
|
|
QTileRules* QTileRules_new3(QTileRules* param1) {
|
|
|
|
return new QTileRules(*param1);
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-12-07 04:15:57 +00:00
|
|
|
QTileRules* QTileRules_new4(int rule) {
|
|
|
|
return new QTileRules(static_cast<Qt::TileRule>(rule));
|
2024-08-29 07:01:51 +00:00
|
|
|
}
|
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QTileRules_Delete(QTileRules* self, bool isSubclass) {
|
|
|
|
if (isSubclass) {
|
|
|
|
delete dynamic_cast<QTileRules*>( self );
|
|
|
|
} else {
|
|
|
|
delete self;
|
|
|
|
}
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|