miqt/qt/pdf/gen_qpdfdestination.cpp
2025-04-20 13:11:21 -04:00

47 lines
980 B
C++

#include <QPdfDestination>
#include <QPointF>
#include <qpdfdestination.h>
#include "gen_qpdfdestination.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
} /* extern C */
#endif
QPdfDestination* QPdfDestination_new(QPdfDestination* other) {
return new QPdfDestination(*other);
}
void QPdfDestination_operatorAssign(QPdfDestination* self, QPdfDestination* other) {
self->operator=(*other);
}
void QPdfDestination_swap(QPdfDestination* self, QPdfDestination* other) {
self->swap(*other);
}
bool QPdfDestination_isValid(const QPdfDestination* self) {
return self->isValid();
}
int QPdfDestination_page(const QPdfDestination* self) {
return self->page();
}
QPointF* QPdfDestination_location(const QPdfDestination* self) {
return new QPointF(self->location());
}
double QPdfDestination_zoom(const QPdfDestination* self) {
qreal _ret = self->zoom();
return static_cast<double>(_ret);
}
void QPdfDestination_delete(QPdfDestination* self) {
delete self;
}