mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 08:58:37 +00:00
79 lines
1.6 KiB
C++
79 lines
1.6 KiB
C++
#include <QPaintDevice>
|
|
#include <QPaintEngine>
|
|
#include "qpaintdevice.h"
|
|
|
|
#include "gen_qpaintdevice.h"
|
|
|
|
extern "C" {
|
|
extern void miqt_exec_callback(void* cb, int argc, void* argv);
|
|
}
|
|
|
|
int QPaintDevice_DevType(const QPaintDevice* self) {
|
|
return self->devType();
|
|
}
|
|
|
|
bool QPaintDevice_PaintingActive(const QPaintDevice* self) {
|
|
return self->paintingActive();
|
|
}
|
|
|
|
QPaintEngine* QPaintDevice_PaintEngine(const QPaintDevice* self) {
|
|
return self->paintEngine();
|
|
}
|
|
|
|
int QPaintDevice_Width(const QPaintDevice* self) {
|
|
return self->width();
|
|
}
|
|
|
|
int QPaintDevice_Height(const QPaintDevice* self) {
|
|
return self->height();
|
|
}
|
|
|
|
int QPaintDevice_WidthMM(const QPaintDevice* self) {
|
|
return self->widthMM();
|
|
}
|
|
|
|
int QPaintDevice_HeightMM(const QPaintDevice* self) {
|
|
return self->heightMM();
|
|
}
|
|
|
|
int QPaintDevice_LogicalDpiX(const QPaintDevice* self) {
|
|
return self->logicalDpiX();
|
|
}
|
|
|
|
int QPaintDevice_LogicalDpiY(const QPaintDevice* self) {
|
|
return self->logicalDpiY();
|
|
}
|
|
|
|
int QPaintDevice_PhysicalDpiX(const QPaintDevice* self) {
|
|
return self->physicalDpiX();
|
|
}
|
|
|
|
int QPaintDevice_PhysicalDpiY(const QPaintDevice* self) {
|
|
return self->physicalDpiY();
|
|
}
|
|
|
|
int QPaintDevice_DevicePixelRatio(const QPaintDevice* self) {
|
|
return self->devicePixelRatio();
|
|
}
|
|
|
|
double QPaintDevice_DevicePixelRatioF(const QPaintDevice* self) {
|
|
return self->devicePixelRatioF();
|
|
}
|
|
|
|
int QPaintDevice_ColorCount(const QPaintDevice* self) {
|
|
return self->colorCount();
|
|
}
|
|
|
|
int QPaintDevice_Depth(const QPaintDevice* self) {
|
|
return self->depth();
|
|
}
|
|
|
|
double QPaintDevice_DevicePixelRatioFScale() {
|
|
return QPaintDevice::devicePixelRatioFScale();
|
|
}
|
|
|
|
void QPaintDevice_Delete(QPaintDevice* self) {
|
|
delete self;
|
|
}
|
|
|