mirror of
https://github.com/mappu/miqt.git
synced 2024-12-23 01:18:37 +00:00
46 lines
1.4 KiB
C++
46 lines
1.4 KiB
C++
#ifndef GEN_QPAGEDPAINTDEVICE_H
|
|
#define GEN_QPAGEDPAINTDEVICE_H
|
|
|
|
#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;
|
|
#else
|
|
typedef struct QMarginsF QMarginsF;
|
|
typedef struct QPageLayout QPageLayout;
|
|
typedef struct QPageRanges QPageRanges;
|
|
typedef struct QPageSize QPageSize;
|
|
typedef struct QPagedPaintDevice QPagedPaintDevice;
|
|
#endif
|
|
|
|
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);
|
|
bool QPagedPaintDevice_SetPageMargins(QPagedPaintDevice* self, QMarginsF* margins);
|
|
QPageLayout* QPagedPaintDevice_PageLayout(const QPagedPaintDevice* self);
|
|
void QPagedPaintDevice_SetPageRanges(QPagedPaintDevice* self, QPageRanges* ranges);
|
|
QPageRanges* QPagedPaintDevice_PageRanges(const QPagedPaintDevice* self);
|
|
bool QPagedPaintDevice_SetPageMargins2(QPagedPaintDevice* self, QMarginsF* margins, int units);
|
|
void QPagedPaintDevice_Delete(QPagedPaintDevice* self);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
#endif
|