miqt/qt/gen_qpaintdevice.h

56 lines
1.8 KiB
C
Raw Normal View History

#pragma once
#ifndef MIQT_QT_GEN_QPAINTDEVICE_H
#define MIQT_QT_GEN_QPAINTDEVICE_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 QPaintDevice;
class QPaintEngine;
2024-11-19 06:29:06 +00:00
class QPainter;
class QPoint;
#else
typedef struct QPaintDevice QPaintDevice;
typedef struct QPaintEngine QPaintEngine;
2024-11-19 06:29:06 +00:00
typedef struct QPainter QPainter;
typedef struct QPoint QPoint;
#endif
int QPaintDevice_DevType(const QPaintDevice* self);
bool QPaintDevice_PaintingActive(const QPaintDevice* self);
QPaintEngine* QPaintDevice_PaintEngine(const QPaintDevice* self);
int QPaintDevice_Width(const QPaintDevice* self);
int QPaintDevice_Height(const QPaintDevice* self);
int QPaintDevice_WidthMM(const QPaintDevice* self);
int QPaintDevice_HeightMM(const QPaintDevice* self);
int QPaintDevice_LogicalDpiX(const QPaintDevice* self);
int QPaintDevice_LogicalDpiY(const QPaintDevice* self);
int QPaintDevice_PhysicalDpiX(const QPaintDevice* self);
int QPaintDevice_PhysicalDpiY(const QPaintDevice* self);
int QPaintDevice_DevicePixelRatio(const QPaintDevice* self);
double QPaintDevice_DevicePixelRatioF(const QPaintDevice* self);
int QPaintDevice_ColorCount(const QPaintDevice* self);
int QPaintDevice_Depth(const QPaintDevice* self);
double QPaintDevice_DevicePixelRatioFScale();
2024-11-19 06:29:06 +00:00
int QPaintDevice_Metric(const QPaintDevice* self, int metric);
void QPaintDevice_InitPainter(const QPaintDevice* self, QPainter* painter);
QPaintDevice* QPaintDevice_Redirected(const QPaintDevice* self, QPoint* offset);
QPainter* QPaintDevice_SharedPainter(const QPaintDevice* self);
void QPaintDevice_Delete(QPaintDevice* self, bool isSubclass);
#ifdef __cplusplus
} /* extern C */
#endif
#endif