2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT6_GEN_QPAGEDPAINTDEVICE_H
|
|
|
|
#define MIQT_QT6_GEN_QPAGEDPAINTDEVICE_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 QMarginsF;
|
|
|
|
class QPageLayout;
|
|
|
|
class QPageRanges;
|
|
|
|
class QPageSize;
|
|
|
|
class QPagedPaintDevice;
|
2024-11-19 06:29:06 +00:00
|
|
|
class QPaintDevice;
|
2024-10-20 05:21:03 +00:00
|
|
|
#else
|
|
|
|
typedef struct QMarginsF QMarginsF;
|
|
|
|
typedef struct QPageLayout QPageLayout;
|
|
|
|
typedef struct QPageRanges QPageRanges;
|
|
|
|
typedef struct QPageSize QPageSize;
|
|
|
|
typedef struct QPagedPaintDevice QPagedPaintDevice;
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QPaintDevice QPaintDevice;
|
2024-10-20 05:21:03 +00:00
|
|
|
#endif
|
|
|
|
|
2024-12-07 04:15:57 +00:00
|
|
|
void QPagedPaintDevice_virtbase(QPagedPaintDevice* src, QPaintDevice** outptr_QPaintDevice);
|
2024-10-20 05:21:03 +00:00
|
|
|
bool QPagedPaintDevice_NewPage(QPagedPaintDevice* self);
|
|
|
|
bool QPagedPaintDevice_SetPageLayout(QPagedPaintDevice* self, QPageLayout* pageLayout);
|
|
|
|
bool QPagedPaintDevice_SetPageSize(QPagedPaintDevice* self, QPageSize* pageSize);
|
|
|
|
bool QPagedPaintDevice_SetPageOrientation(QPagedPaintDevice* self, int orientation);
|
2024-11-19 06:29:06 +00:00
|
|
|
bool QPagedPaintDevice_SetPageMargins(QPagedPaintDevice* self, QMarginsF* margins, int units);
|
2024-10-20 05:21:03 +00:00
|
|
|
QPageLayout* QPagedPaintDevice_PageLayout(const QPagedPaintDevice* self);
|
|
|
|
void QPagedPaintDevice_SetPageRanges(QPagedPaintDevice* self, QPageRanges* ranges);
|
|
|
|
QPageRanges* QPagedPaintDevice_PageRanges(const QPagedPaintDevice* self);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QPagedPaintDevice_Delete(QPagedPaintDevice* self, bool isSubclass);
|
2024-10-20 05:21:03 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|