mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 17:08:38 +00:00
100 lines
3.6 KiB
C++
100 lines
3.6 KiB
C++
#pragma once
|
|
#ifndef MIQT_QT6_GEN_QLINE_H
|
|
#define MIQT_QT6_GEN_QLINE_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 QLine;
|
|
class QLineF;
|
|
class QPoint;
|
|
class QPointF;
|
|
#else
|
|
typedef struct QLine QLine;
|
|
typedef struct QLineF QLineF;
|
|
typedef struct QPoint QPoint;
|
|
typedef struct QPointF QPointF;
|
|
#endif
|
|
|
|
void QLine_new(QLine** outptr_QLine);
|
|
void QLine_new2(QPoint* pt1, QPoint* pt2, QLine** outptr_QLine);
|
|
void QLine_new3(int x1, int y1, int x2, int y2, QLine** outptr_QLine);
|
|
void QLine_new4(QLine* param1, QLine** outptr_QLine);
|
|
bool QLine_IsNull(const QLine* self);
|
|
QPoint* QLine_P1(const QLine* self);
|
|
QPoint* QLine_P2(const QLine* self);
|
|
int QLine_X1(const QLine* self);
|
|
int QLine_Y1(const QLine* self);
|
|
int QLine_X2(const QLine* self);
|
|
int QLine_Y2(const QLine* self);
|
|
int QLine_Dx(const QLine* self);
|
|
int QLine_Dy(const QLine* self);
|
|
void QLine_Translate(QLine* self, QPoint* p);
|
|
void QLine_Translate2(QLine* self, int dx, int dy);
|
|
QLine* QLine_Translated(const QLine* self, QPoint* p);
|
|
QLine* QLine_Translated2(const QLine* self, int dx, int dy);
|
|
QPoint* QLine_Center(const QLine* self);
|
|
void QLine_SetP1(QLine* self, QPoint* p1);
|
|
void QLine_SetP2(QLine* self, QPoint* p2);
|
|
void QLine_SetPoints(QLine* self, QPoint* p1, QPoint* p2);
|
|
void QLine_SetLine(QLine* self, int x1, int y1, int x2, int y2);
|
|
bool QLine_OperatorEqual(const QLine* self, QLine* d);
|
|
bool QLine_OperatorNotEqual(const QLine* self, QLine* d);
|
|
QLineF* QLine_ToLineF(const QLine* self);
|
|
void QLine_Delete(QLine* self, bool isSubclass);
|
|
|
|
void QLineF_new(QLineF** outptr_QLineF);
|
|
void QLineF_new2(QPointF* pt1, QPointF* pt2, QLineF** outptr_QLineF);
|
|
void QLineF_new3(double x1, double y1, double x2, double y2, QLineF** outptr_QLineF);
|
|
void QLineF_new4(QLine* line, QLineF** outptr_QLineF);
|
|
void QLineF_new5(QLineF* param1, QLineF** outptr_QLineF);
|
|
QLineF* QLineF_FromPolar(double length, double angle);
|
|
bool QLineF_IsNull(const QLineF* self);
|
|
QPointF* QLineF_P1(const QLineF* self);
|
|
QPointF* QLineF_P2(const QLineF* self);
|
|
double QLineF_X1(const QLineF* self);
|
|
double QLineF_Y1(const QLineF* self);
|
|
double QLineF_X2(const QLineF* self);
|
|
double QLineF_Y2(const QLineF* self);
|
|
double QLineF_Dx(const QLineF* self);
|
|
double QLineF_Dy(const QLineF* self);
|
|
double QLineF_Length(const QLineF* self);
|
|
void QLineF_SetLength(QLineF* self, double lenVal);
|
|
double QLineF_Angle(const QLineF* self);
|
|
void QLineF_SetAngle(QLineF* self, double angle);
|
|
double QLineF_AngleTo(const QLineF* self, QLineF* l);
|
|
QLineF* QLineF_UnitVector(const QLineF* self);
|
|
QLineF* QLineF_NormalVector(const QLineF* self);
|
|
int QLineF_Intersects(const QLineF* self, QLineF* l);
|
|
QPointF* QLineF_PointAt(const QLineF* self, double t);
|
|
void QLineF_Translate(QLineF* self, QPointF* p);
|
|
void QLineF_Translate2(QLineF* self, double dx, double dy);
|
|
QLineF* QLineF_Translated(const QLineF* self, QPointF* p);
|
|
QLineF* QLineF_Translated2(const QLineF* self, double dx, double dy);
|
|
QPointF* QLineF_Center(const QLineF* self);
|
|
void QLineF_SetP1(QLineF* self, QPointF* p1);
|
|
void QLineF_SetP2(QLineF* self, QPointF* p2);
|
|
void QLineF_SetPoints(QLineF* self, QPointF* p1, QPointF* p2);
|
|
void QLineF_SetLine(QLineF* self, double x1, double y1, double x2, double y2);
|
|
bool QLineF_OperatorEqual(const QLineF* self, QLineF* d);
|
|
bool QLineF_OperatorNotEqual(const QLineF* self, QLineF* d);
|
|
QLine* QLineF_ToLine(const QLineF* self);
|
|
int QLineF_Intersects2(const QLineF* self, QLineF* l, QPointF* intersectionPoint);
|
|
void QLineF_Delete(QLineF* self, bool isSubclass);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
#endif
|