2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QPAGEDPAINTDEVICE_H
|
|
|
|
#define GEN_QPAGEDPAINTDEVICE_H
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class QMarginsF;
|
|
|
|
class QPageLayout;
|
|
|
|
class QPageSize;
|
|
|
|
class QPagedPaintDevice;
|
2024-08-29 07:01:51 +00:00
|
|
|
#if defined(WORKAROUND_INNER_CLASS_DEFINITION_QPagedPaintDevice__Margins)
|
|
|
|
typedef QPagedPaintDevice::Margins QPagedPaintDevice__Margins;
|
|
|
|
#else
|
|
|
|
class QPagedPaintDevice__Margins;
|
|
|
|
#endif
|
2024-08-25 04:08:24 +00:00
|
|
|
class QSizeF;
|
|
|
|
#else
|
|
|
|
typedef struct QMarginsF QMarginsF;
|
|
|
|
typedef struct QPageLayout QPageLayout;
|
|
|
|
typedef struct QPageSize QPageSize;
|
|
|
|
typedef struct QPagedPaintDevice QPagedPaintDevice;
|
2024-08-29 07:01:51 +00:00
|
|
|
typedef struct QPagedPaintDevice__Margins QPagedPaintDevice__Margins;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QSizeF QSizeF;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
bool QPagedPaintDevice_NewPage(QPagedPaintDevice* self);
|
|
|
|
bool QPagedPaintDevice_SetPageLayout(QPagedPaintDevice* self, QPageLayout* pageLayout);
|
|
|
|
bool QPagedPaintDevice_SetPageSize(QPagedPaintDevice* self, QPageSize* pageSize);
|
2024-08-29 07:01:51 +00:00
|
|
|
bool QPagedPaintDevice_SetPageOrientation(QPagedPaintDevice* self, uintptr_t orientation);
|
2024-08-25 04:08:24 +00:00
|
|
|
bool QPagedPaintDevice_SetPageMargins(QPagedPaintDevice* self, QMarginsF* margins);
|
2024-08-29 07:01:51 +00:00
|
|
|
bool QPagedPaintDevice_SetPageMargins2(QPagedPaintDevice* self, QMarginsF* margins, uintptr_t units);
|
2024-08-25 04:08:24 +00:00
|
|
|
QPageLayout* QPagedPaintDevice_PageLayout(QPagedPaintDevice* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QPagedPaintDevice_SetPageSizeWithSize(QPagedPaintDevice* self, uintptr_t size);
|
|
|
|
uintptr_t QPagedPaintDevice_PageSize(QPagedPaintDevice* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QPagedPaintDevice_SetPageSizeMM(QPagedPaintDevice* self, QSizeF* size);
|
|
|
|
QSizeF* QPagedPaintDevice_PageSizeMM(QPagedPaintDevice* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QPagedPaintDevice_SetMargins(QPagedPaintDevice* self, QPagedPaintDevice__Margins* margins);
|
|
|
|
QPagedPaintDevice__Margins* QPagedPaintDevice_Margins(QPagedPaintDevice* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QPagedPaintDevice_Delete(QPagedPaintDevice* self);
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
void QPagedPaintDevice__Margins_Delete(QPagedPaintDevice__Margins* self);
|
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|