miqt/qt-restricted-extras/qscintilla/gen_qsciprinter.h

85 lines
3.9 KiB
C
Raw Normal View History

#pragma once
#ifndef MIQT_QT_RESTRICTED_EXTRAS_QSCINTILLA_GEN_QSCIPRINTER_H
#define MIQT_QT_RESTRICTED_EXTRAS_QSCINTILLA_GEN_QSCIPRINTER_H
2024-10-20 04:59:23 +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
2024-11-19 06:29:06 +00:00
class QPagedPaintDevice;
#if defined(WORKAROUND_INNER_CLASS_DEFINITION_QPagedPaintDevice__Margins)
typedef QPagedPaintDevice::Margins QPagedPaintDevice__Margins;
#else
class QPagedPaintDevice__Margins;
#endif
class QPaintDevice;
class QPaintEngine;
2024-10-20 04:59:23 +00:00
class QPainter;
2024-11-19 06:29:06 +00:00
class QPrinter;
2024-10-20 04:59:23 +00:00
class QRect;
2024-11-19 06:29:06 +00:00
class QSizeF;
2024-10-20 04:59:23 +00:00
class QsciPrinter;
class QsciScintillaBase;
#else
2024-11-19 06:29:06 +00:00
typedef struct QPagedPaintDevice QPagedPaintDevice;
typedef struct QPagedPaintDevice__Margins QPagedPaintDevice__Margins;
typedef struct QPaintDevice QPaintDevice;
typedef struct QPaintEngine QPaintEngine;
2024-10-20 04:59:23 +00:00
typedef struct QPainter QPainter;
2024-11-19 06:29:06 +00:00
typedef struct QPrinter QPrinter;
2024-10-20 04:59:23 +00:00
typedef struct QRect QRect;
2024-11-19 06:29:06 +00:00
typedef struct QSizeF QSizeF;
2024-10-20 04:59:23 +00:00
typedef struct QsciPrinter QsciPrinter;
typedef struct QsciScintillaBase QsciScintillaBase;
#endif
2024-11-19 06:29:06 +00:00
void QsciPrinter_new(QsciPrinter** outptr_QsciPrinter, QPrinter** outptr_QPrinter, QPagedPaintDevice** outptr_QPagedPaintDevice, QPaintDevice** outptr_QPaintDevice);
void QsciPrinter_new2(int mode, QsciPrinter** outptr_QsciPrinter, QPrinter** outptr_QPrinter, QPagedPaintDevice** outptr_QPagedPaintDevice, QPaintDevice** outptr_QPaintDevice);
2024-10-20 04:59:23 +00:00
void QsciPrinter_FormatPage(QsciPrinter* self, QPainter* painter, bool drawing, QRect* area, int pagenr);
int QsciPrinter_Magnification(const QsciPrinter* self);
void QsciPrinter_SetMagnification(QsciPrinter* self, int magnification);
2024-11-19 06:29:06 +00:00
int QsciPrinter_PrintRange(QsciPrinter* self, QsciScintillaBase* qsb, QPainter* painter, int from, int to);
int QsciPrinter_PrintRange2(QsciPrinter* self, QsciScintillaBase* qsb, int from, int to);
2024-10-20 04:59:23 +00:00
int QsciPrinter_WrapMode(const QsciPrinter* self);
void QsciPrinter_SetWrapMode(QsciPrinter* self, int wmode);
2024-11-19 06:29:06 +00:00
void QsciPrinter_override_virtual_FormatPage(void* self, intptr_t slot);
void QsciPrinter_virtualbase_FormatPage(void* self, QPainter* painter, bool drawing, QRect* area, int pagenr);
void QsciPrinter_override_virtual_SetMagnification(void* self, intptr_t slot);
void QsciPrinter_virtualbase_SetMagnification(void* self, int magnification);
void QsciPrinter_override_virtual_PrintRange(void* self, intptr_t slot);
int QsciPrinter_virtualbase_PrintRange(void* self, QsciScintillaBase* qsb, QPainter* painter, int from, int to);
void QsciPrinter_override_virtual_PrintRange2(void* self, intptr_t slot);
int QsciPrinter_virtualbase_PrintRange2(void* self, QsciScintillaBase* qsb, int from, int to);
void QsciPrinter_override_virtual_SetWrapMode(void* self, intptr_t slot);
void QsciPrinter_virtualbase_SetWrapMode(void* self, int wmode);
void QsciPrinter_override_virtual_DevType(void* self, intptr_t slot);
int QsciPrinter_virtualbase_DevType(const void* self);
void QsciPrinter_override_virtual_SetPageSize(void* self, intptr_t slot);
void QsciPrinter_virtualbase_SetPageSize(void* self, int pageSize);
void QsciPrinter_override_virtual_SetPageSizeMM(void* self, intptr_t slot);
void QsciPrinter_virtualbase_SetPageSizeMM(void* self, QSizeF* size);
void QsciPrinter_override_virtual_NewPage(void* self, intptr_t slot);
bool QsciPrinter_virtualbase_NewPage(void* self);
void QsciPrinter_override_virtual_PaintEngine(void* self, intptr_t slot);
QPaintEngine* QsciPrinter_virtualbase_PaintEngine(const void* self);
void QsciPrinter_override_virtual_SetMargins(void* self, intptr_t slot);
void QsciPrinter_virtualbase_SetMargins(void* self, QPagedPaintDevice__Margins* m);
void QsciPrinter_override_virtual_Metric(void* self, intptr_t slot);
int QsciPrinter_virtualbase_Metric(const void* self, int param1);
void QsciPrinter_Delete(QsciPrinter* self, bool isSubclass);
2024-10-20 04:59:23 +00:00
#ifdef __cplusplus
} /* extern C */
#endif
#endif