#pragma once #ifndef MIQT_QT6_GEN_QPAINTENGINE_H #define MIQT_QT6_GEN_QPAINTENGINE_H #include #include #include #pragma GCC diagnostic ignored "-Wdeprecated-declarations" #include "../libmiqt/libmiqt.h" #ifdef __cplusplus extern "C" { #endif #ifdef __cplusplus class QBrush; class QFont; class QImage; class QLine; class QLineF; class QPaintDevice; class QPaintEngine; class QPaintEngineState; class QPainter; class QPainterPath; class QPen; class QPixmap; class QPoint; class QPointF; class QRect; class QRectF; class QRegion; class QSize; class QTextItem; class QTransform; #else typedef struct QBrush QBrush; typedef struct QFont QFont; typedef struct QImage QImage; typedef struct QLine QLine; typedef struct QLineF QLineF; typedef struct QPaintDevice QPaintDevice; typedef struct QPaintEngine QPaintEngine; typedef struct QPaintEngineState QPaintEngineState; typedef struct QPainter QPainter; typedef struct QPainterPath QPainterPath; typedef struct QPen QPen; typedef struct QPixmap QPixmap; typedef struct QPoint QPoint; typedef struct QPointF QPointF; typedef struct QRect QRect; typedef struct QRectF QRectF; typedef struct QRegion QRegion; typedef struct QSize QSize; typedef struct QTextItem QTextItem; typedef struct QTransform QTransform; #endif double QTextItem_Descent(const QTextItem* self); double QTextItem_Ascent(const QTextItem* self); double QTextItem_Width(const QTextItem* self); int QTextItem_RenderFlags(const QTextItem* self); struct miqt_string QTextItem_Text(const QTextItem* self); QFont* QTextItem_Font(const QTextItem* self); void QTextItem_Delete(QTextItem* self, bool isSubclass); void QPaintEngine_new(QPaintEngine** outptr_QPaintEngine); void QPaintEngine_new2(int features, QPaintEngine** outptr_QPaintEngine); bool QPaintEngine_IsActive(const QPaintEngine* self); void QPaintEngine_SetActive(QPaintEngine* self, bool newState); bool QPaintEngine_Begin(QPaintEngine* self, QPaintDevice* pdev); bool QPaintEngine_End(QPaintEngine* self); void QPaintEngine_UpdateState(QPaintEngine* self, QPaintEngineState* state); void QPaintEngine_DrawRects(QPaintEngine* self, QRect* rects, int rectCount); void QPaintEngine_DrawRects2(QPaintEngine* self, QRectF* rects, int rectCount); void QPaintEngine_DrawLines(QPaintEngine* self, QLine* lines, int lineCount); void QPaintEngine_DrawLines2(QPaintEngine* self, QLineF* lines, int lineCount); void QPaintEngine_DrawEllipse(QPaintEngine* self, QRectF* r); void QPaintEngine_DrawEllipseWithQRect(QPaintEngine* self, QRect* r); void QPaintEngine_DrawPath(QPaintEngine* self, QPainterPath* path); void QPaintEngine_DrawPoints(QPaintEngine* self, QPointF* points, int pointCount); void QPaintEngine_DrawPoints2(QPaintEngine* self, QPoint* points, int pointCount); void QPaintEngine_DrawPolygon(QPaintEngine* self, QPointF* points, int pointCount, int mode); void QPaintEngine_DrawPolygon2(QPaintEngine* self, QPoint* points, int pointCount, int mode); void QPaintEngine_DrawPixmap(QPaintEngine* self, QRectF* r, QPixmap* pm, QRectF* sr); void QPaintEngine_DrawTextItem(QPaintEngine* self, QPointF* p, QTextItem* textItem); void QPaintEngine_DrawTiledPixmap(QPaintEngine* self, QRectF* r, QPixmap* pixmap, QPointF* s); void QPaintEngine_DrawImage(QPaintEngine* self, QRectF* r, QImage* pm, QRectF* sr, int flags); void QPaintEngine_SetPaintDevice(QPaintEngine* self, QPaintDevice* device); QPaintDevice* QPaintEngine_PaintDevice(const QPaintEngine* self); void QPaintEngine_SetSystemClip(QPaintEngine* self, QRegion* baseClip); QRegion* QPaintEngine_SystemClip(const QPaintEngine* self); void QPaintEngine_SetSystemRect(QPaintEngine* self, QRect* rect); QRect* QPaintEngine_SystemRect(const QPaintEngine* self); QPoint* QPaintEngine_CoordinateOffset(const QPaintEngine* self); int QPaintEngine_Type(const QPaintEngine* self); void QPaintEngine_FixNegRect(QPaintEngine* self, int* x, int* y, int* w, int* h); bool QPaintEngine_TestDirty(QPaintEngine* self, int df); void QPaintEngine_SetDirty(QPaintEngine* self, int df); void QPaintEngine_ClearDirty(QPaintEngine* self, int df); bool QPaintEngine_HasFeature(const QPaintEngine* self, int feature); QPainter* QPaintEngine_Painter(const QPaintEngine* self); void QPaintEngine_SyncState(QPaintEngine* self); bool QPaintEngine_IsExtended(const QPaintEngine* self); QPixmap* QPaintEngine_CreatePixmap(QPaintEngine* self, QSize* size); QPixmap* QPaintEngine_CreatePixmapFromImage(QPaintEngine* self, QImage* image, int flags); void QPaintEngine_override_virtual_Begin(void* self, intptr_t slot); bool QPaintEngine_virtualbase_Begin(void* self, QPaintDevice* pdev); void QPaintEngine_override_virtual_End(void* self, intptr_t slot); bool QPaintEngine_virtualbase_End(void* self); void QPaintEngine_override_virtual_UpdateState(void* self, intptr_t slot); void QPaintEngine_virtualbase_UpdateState(void* self, QPaintEngineState* state); void QPaintEngine_override_virtual_DrawRects(void* self, intptr_t slot); void QPaintEngine_virtualbase_DrawRects(void* self, QRect* rects, int rectCount); void QPaintEngine_override_virtual_DrawRects2(void* self, intptr_t slot); void QPaintEngine_virtualbase_DrawRects2(void* self, QRectF* rects, int rectCount); void QPaintEngine_override_virtual_DrawLines(void* self, intptr_t slot); void QPaintEngine_virtualbase_DrawLines(void* self, QLine* lines, int lineCount); void QPaintEngine_override_virtual_DrawLines2(void* self, intptr_t slot); void QPaintEngine_virtualbase_DrawLines2(void* self, QLineF* lines, int lineCount); void QPaintEngine_override_virtual_DrawEllipse(void* self, intptr_t slot); void QPaintEngine_virtualbase_DrawEllipse(void* self, QRectF* r); void QPaintEngine_override_virtual_DrawEllipseWithQRect(void* self, intptr_t slot); void QPaintEngine_virtualbase_DrawEllipseWithQRect(void* self, QRect* r); void QPaintEngine_override_virtual_DrawPath(void* self, intptr_t slot); void QPaintEngine_virtualbase_DrawPath(void* self, QPainterPath* path); void QPaintEngine_override_virtual_DrawPoints(void* self, intptr_t slot); void QPaintEngine_virtualbase_DrawPoints(void* self, QPointF* points, int pointCount); void QPaintEngine_override_virtual_DrawPoints2(void* self, intptr_t slot); void QPaintEngine_virtualbase_DrawPoints2(void* self, QPoint* points, int pointCount); void QPaintEngine_override_virtual_DrawPolygon(void* self, intptr_t slot); void QPaintEngine_virtualbase_DrawPolygon(void* self, QPointF* points, int pointCount, int mode); void QPaintEngine_override_virtual_DrawPolygon2(void* self, intptr_t slot); void QPaintEngine_virtualbase_DrawPolygon2(void* self, QPoint* points, int pointCount, int mode); void QPaintEngine_override_virtual_DrawPixmap(void* self, intptr_t slot); void QPaintEngine_virtualbase_DrawPixmap(void* self, QRectF* r, QPixmap* pm, QRectF* sr); void QPaintEngine_override_virtual_DrawTextItem(void* self, intptr_t slot); void QPaintEngine_virtualbase_DrawTextItem(void* self, QPointF* p, QTextItem* textItem); void QPaintEngine_override_virtual_DrawTiledPixmap(void* self, intptr_t slot); void QPaintEngine_virtualbase_DrawTiledPixmap(void* self, QRectF* r, QPixmap* pixmap, QPointF* s); void QPaintEngine_override_virtual_DrawImage(void* self, intptr_t slot); void QPaintEngine_virtualbase_DrawImage(void* self, QRectF* r, QImage* pm, QRectF* sr, int flags); void QPaintEngine_override_virtual_CoordinateOffset(void* self, intptr_t slot); QPoint* QPaintEngine_virtualbase_CoordinateOffset(const void* self); void QPaintEngine_override_virtual_Type(void* self, intptr_t slot); int QPaintEngine_virtualbase_Type(const void* self); void QPaintEngine_override_virtual_CreatePixmap(void* self, intptr_t slot); QPixmap* QPaintEngine_virtualbase_CreatePixmap(void* self, QSize* size); void QPaintEngine_override_virtual_CreatePixmapFromImage(void* self, intptr_t slot); QPixmap* QPaintEngine_virtualbase_CreatePixmapFromImage(void* self, QImage* image, int flags); void QPaintEngine_Delete(QPaintEngine* self, bool isSubclass); int QPaintEngineState_State(const QPaintEngineState* self); QPen* QPaintEngineState_Pen(const QPaintEngineState* self); QBrush* QPaintEngineState_Brush(const QPaintEngineState* self); QPointF* QPaintEngineState_BrushOrigin(const QPaintEngineState* self); QBrush* QPaintEngineState_BackgroundBrush(const QPaintEngineState* self); int QPaintEngineState_BackgroundMode(const QPaintEngineState* self); QFont* QPaintEngineState_Font(const QPaintEngineState* self); QTransform* QPaintEngineState_Transform(const QPaintEngineState* self); int QPaintEngineState_ClipOperation(const QPaintEngineState* self); QRegion* QPaintEngineState_ClipRegion(const QPaintEngineState* self); QPainterPath* QPaintEngineState_ClipPath(const QPaintEngineState* self); bool QPaintEngineState_IsClipEnabled(const QPaintEngineState* self); int QPaintEngineState_RenderHints(const QPaintEngineState* self); int QPaintEngineState_CompositionMode(const QPaintEngineState* self); double QPaintEngineState_Opacity(const QPaintEngineState* self); QPainter* QPaintEngineState_Painter(const QPaintEngineState* self); bool QPaintEngineState_BrushNeedsResolving(const QPaintEngineState* self); bool QPaintEngineState_PenNeedsResolving(const QPaintEngineState* self); void QPaintEngineState_Delete(QPaintEngineState* self, bool isSubclass); #ifdef __cplusplus } /* extern C */ #endif #endif