2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT6_GEN_QGLYPHRUN_H
|
|
|
|
#define MIQT_QT6_GEN_QGLYPHRUN_H
|
2024-10-20 05:21:03 +00:00
|
|
|
|
|
|
|
#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 QGlyphRun;
|
|
|
|
class QPointF;
|
|
|
|
class QRawFont;
|
|
|
|
class QRectF;
|
|
|
|
#else
|
|
|
|
typedef struct QGlyphRun QGlyphRun;
|
|
|
|
typedef struct QPointF QPointF;
|
|
|
|
typedef struct QRawFont QRawFont;
|
|
|
|
typedef struct QRectF QRectF;
|
|
|
|
#endif
|
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QGlyphRun_new(QGlyphRun** outptr_QGlyphRun);
|
|
|
|
void QGlyphRun_new2(QGlyphRun* other, QGlyphRun** outptr_QGlyphRun);
|
2024-10-20 05:21:03 +00:00
|
|
|
void QGlyphRun_OperatorAssign(QGlyphRun* self, QGlyphRun* other);
|
|
|
|
void QGlyphRun_Swap(QGlyphRun* self, QGlyphRun* other);
|
|
|
|
QRawFont* QGlyphRun_RawFont(const QGlyphRun* self);
|
|
|
|
void QGlyphRun_SetRawFont(QGlyphRun* self, QRawFont* rawFont);
|
|
|
|
void QGlyphRun_SetRawData(QGlyphRun* self, const unsigned int* glyphIndexArray, QPointF* glyphPositionArray, int size);
|
2024-11-17 06:21:37 +00:00
|
|
|
struct miqt_array /* of unsigned int */ QGlyphRun_GlyphIndexes(const QGlyphRun* self);
|
|
|
|
void QGlyphRun_SetGlyphIndexes(QGlyphRun* self, struct miqt_array /* of unsigned int */ glyphIndexes);
|
|
|
|
struct miqt_array /* of QPointF* */ QGlyphRun_Positions(const QGlyphRun* self);
|
|
|
|
void QGlyphRun_SetPositions(QGlyphRun* self, struct miqt_array /* of QPointF* */ positions);
|
2024-10-20 05:21:03 +00:00
|
|
|
void QGlyphRun_Clear(QGlyphRun* self);
|
|
|
|
bool QGlyphRun_OperatorEqual(const QGlyphRun* self, QGlyphRun* other);
|
|
|
|
bool QGlyphRun_OperatorNotEqual(const QGlyphRun* self, QGlyphRun* other);
|
|
|
|
void QGlyphRun_SetOverline(QGlyphRun* self, bool overline);
|
|
|
|
bool QGlyphRun_Overline(const QGlyphRun* self);
|
|
|
|
void QGlyphRun_SetUnderline(QGlyphRun* self, bool underline);
|
|
|
|
bool QGlyphRun_Underline(const QGlyphRun* self);
|
|
|
|
void QGlyphRun_SetStrikeOut(QGlyphRun* self, bool strikeOut);
|
|
|
|
bool QGlyphRun_StrikeOut(const QGlyphRun* self);
|
|
|
|
void QGlyphRun_SetRightToLeft(QGlyphRun* self, bool on);
|
|
|
|
bool QGlyphRun_IsRightToLeft(const QGlyphRun* self);
|
|
|
|
void QGlyphRun_SetFlag(QGlyphRun* self, int flag);
|
|
|
|
void QGlyphRun_SetFlags(QGlyphRun* self, int flags);
|
|
|
|
int QGlyphRun_Flags(const QGlyphRun* self);
|
|
|
|
void QGlyphRun_SetBoundingRect(QGlyphRun* self, QRectF* boundingRect);
|
|
|
|
QRectF* QGlyphRun_BoundingRect(const QGlyphRun* self);
|
|
|
|
bool QGlyphRun_IsEmpty(const QGlyphRun* self);
|
|
|
|
void QGlyphRun_SetFlag2(QGlyphRun* self, int flag, bool enabled);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QGlyphRun_Delete(QGlyphRun* self, bool isSubclass);
|
2024-10-20 05:21:03 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|