miqt/qt6/gen_qfontmetrics.h
2025-02-01 13:45:22 +13:00

143 lines
8.4 KiB
C++

#pragma once
#ifndef MIQT_QT6_GEN_QFONTMETRICS_H
#define MIQT_QT6_GEN_QFONTMETRICS_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 QChar;
class QFont;
class QFontMetrics;
class QFontMetricsF;
class QPaintDevice;
class QRect;
class QRectF;
class QSize;
class QSizeF;
class QTextOption;
#else
typedef struct QChar QChar;
typedef struct QFont QFont;
typedef struct QFontMetrics QFontMetrics;
typedef struct QFontMetricsF QFontMetricsF;
typedef struct QPaintDevice QPaintDevice;
typedef struct QRect QRect;
typedef struct QRectF QRectF;
typedef struct QSize QSize;
typedef struct QSizeF QSizeF;
typedef struct QTextOption QTextOption;
#endif
QFontMetrics* QFontMetrics_new(QFont* param1);
QFontMetrics* QFontMetrics_new2(QFont* font, QPaintDevice* pd);
QFontMetrics* QFontMetrics_new3(QFontMetrics* param1);
void QFontMetrics_operatorAssign(QFontMetrics* self, QFontMetrics* param1);
void QFontMetrics_swap(QFontMetrics* self, QFontMetrics* other);
int QFontMetrics_ascent(const QFontMetrics* self);
int QFontMetrics_capHeight(const QFontMetrics* self);
int QFontMetrics_descent(const QFontMetrics* self);
int QFontMetrics_height(const QFontMetrics* self);
int QFontMetrics_leading(const QFontMetrics* self);
int QFontMetrics_lineSpacing(const QFontMetrics* self);
int QFontMetrics_minLeftBearing(const QFontMetrics* self);
int QFontMetrics_minRightBearing(const QFontMetrics* self);
int QFontMetrics_maxWidth(const QFontMetrics* self);
int QFontMetrics_xHeight(const QFontMetrics* self);
int QFontMetrics_averageCharWidth(const QFontMetrics* self);
bool QFontMetrics_inFont(const QFontMetrics* self, QChar* param1);
bool QFontMetrics_inFontUcs4(const QFontMetrics* self, unsigned int ucs4);
int QFontMetrics_leftBearing(const QFontMetrics* self, QChar* param1);
int QFontMetrics_rightBearing(const QFontMetrics* self, QChar* param1);
int QFontMetrics_horizontalAdvance(const QFontMetrics* self, struct miqt_string param1);
int QFontMetrics_horizontalAdvance2(const QFontMetrics* self, struct miqt_string param1, QTextOption* textOption);
int QFontMetrics_horizontalAdvanceWithQChar(const QFontMetrics* self, QChar* param1);
QRect* QFontMetrics_boundingRect(const QFontMetrics* self, QChar* param1);
QRect* QFontMetrics_boundingRectWithText(const QFontMetrics* self, struct miqt_string text);
QRect* QFontMetrics_boundingRect2(const QFontMetrics* self, struct miqt_string text, QTextOption* textOption);
QRect* QFontMetrics_boundingRect3(const QFontMetrics* self, QRect* r, int flags, struct miqt_string text);
QRect* QFontMetrics_boundingRect4(const QFontMetrics* self, int x, int y, int w, int h, int flags, struct miqt_string text);
QSize* QFontMetrics_size(const QFontMetrics* self, int flags, struct miqt_string str);
QRect* QFontMetrics_tightBoundingRect(const QFontMetrics* self, struct miqt_string text);
QRect* QFontMetrics_tightBoundingRect2(const QFontMetrics* self, struct miqt_string text, QTextOption* textOption);
struct miqt_string QFontMetrics_elidedText(const QFontMetrics* self, struct miqt_string text, int mode, int width);
int QFontMetrics_underlinePos(const QFontMetrics* self);
int QFontMetrics_overlinePos(const QFontMetrics* self);
int QFontMetrics_strikeOutPos(const QFontMetrics* self);
int QFontMetrics_lineWidth(const QFontMetrics* self);
double QFontMetrics_fontDpi(const QFontMetrics* self);
bool QFontMetrics_operatorEqual(const QFontMetrics* self, QFontMetrics* other);
bool QFontMetrics_operatorNotEqual(const QFontMetrics* self, QFontMetrics* other);
int QFontMetrics_horizontalAdvance22(const QFontMetrics* self, struct miqt_string param1, int len);
QRect* QFontMetrics_boundingRect42(const QFontMetrics* self, QRect* r, int flags, struct miqt_string text, int tabstops);
QRect* QFontMetrics_boundingRect5(const QFontMetrics* self, QRect* r, int flags, struct miqt_string text, int tabstops, int* tabarray);
QRect* QFontMetrics_boundingRect7(const QFontMetrics* self, int x, int y, int w, int h, int flags, struct miqt_string text, int tabstops);
QRect* QFontMetrics_boundingRect8(const QFontMetrics* self, int x, int y, int w, int h, int flags, struct miqt_string text, int tabstops, int* tabarray);
QSize* QFontMetrics_size3(const QFontMetrics* self, int flags, struct miqt_string str, int tabstops);
QSize* QFontMetrics_size4(const QFontMetrics* self, int flags, struct miqt_string str, int tabstops, int* tabarray);
struct miqt_string QFontMetrics_elidedText4(const QFontMetrics* self, struct miqt_string text, int mode, int width, int flags);
void QFontMetrics_delete(QFontMetrics* self);
QFontMetricsF* QFontMetricsF_new(QFont* font);
QFontMetricsF* QFontMetricsF_new2(QFont* font, QPaintDevice* pd);
QFontMetricsF* QFontMetricsF_new3(QFontMetrics* param1);
QFontMetricsF* QFontMetricsF_new4(QFontMetricsF* param1);
void QFontMetricsF_operatorAssign(QFontMetricsF* self, QFontMetricsF* param1);
void QFontMetricsF_operatorAssignWithQFontMetrics(QFontMetricsF* self, QFontMetrics* param1);
void QFontMetricsF_swap(QFontMetricsF* self, QFontMetricsF* other);
double QFontMetricsF_ascent(const QFontMetricsF* self);
double QFontMetricsF_capHeight(const QFontMetricsF* self);
double QFontMetricsF_descent(const QFontMetricsF* self);
double QFontMetricsF_height(const QFontMetricsF* self);
double QFontMetricsF_leading(const QFontMetricsF* self);
double QFontMetricsF_lineSpacing(const QFontMetricsF* self);
double QFontMetricsF_minLeftBearing(const QFontMetricsF* self);
double QFontMetricsF_minRightBearing(const QFontMetricsF* self);
double QFontMetricsF_maxWidth(const QFontMetricsF* self);
double QFontMetricsF_xHeight(const QFontMetricsF* self);
double QFontMetricsF_averageCharWidth(const QFontMetricsF* self);
bool QFontMetricsF_inFont(const QFontMetricsF* self, QChar* param1);
bool QFontMetricsF_inFontUcs4(const QFontMetricsF* self, unsigned int ucs4);
double QFontMetricsF_leftBearing(const QFontMetricsF* self, QChar* param1);
double QFontMetricsF_rightBearing(const QFontMetricsF* self, QChar* param1);
double QFontMetricsF_horizontalAdvance(const QFontMetricsF* self, struct miqt_string string);
double QFontMetricsF_horizontalAdvanceWithQChar(const QFontMetricsF* self, QChar* param1);
double QFontMetricsF_horizontalAdvance2(const QFontMetricsF* self, struct miqt_string string, QTextOption* textOption);
QRectF* QFontMetricsF_boundingRect(const QFontMetricsF* self, struct miqt_string string);
QRectF* QFontMetricsF_boundingRect2(const QFontMetricsF* self, struct miqt_string text, QTextOption* textOption);
QRectF* QFontMetricsF_boundingRectWithQChar(const QFontMetricsF* self, QChar* param1);
QRectF* QFontMetricsF_boundingRect3(const QFontMetricsF* self, QRectF* r, int flags, struct miqt_string string);
QSizeF* QFontMetricsF_size(const QFontMetricsF* self, int flags, struct miqt_string str);
QRectF* QFontMetricsF_tightBoundingRect(const QFontMetricsF* self, struct miqt_string text);
QRectF* QFontMetricsF_tightBoundingRect2(const QFontMetricsF* self, struct miqt_string text, QTextOption* textOption);
struct miqt_string QFontMetricsF_elidedText(const QFontMetricsF* self, struct miqt_string text, int mode, double width);
double QFontMetricsF_underlinePos(const QFontMetricsF* self);
double QFontMetricsF_overlinePos(const QFontMetricsF* self);
double QFontMetricsF_strikeOutPos(const QFontMetricsF* self);
double QFontMetricsF_lineWidth(const QFontMetricsF* self);
double QFontMetricsF_fontDpi(const QFontMetricsF* self);
bool QFontMetricsF_operatorEqual(const QFontMetricsF* self, QFontMetricsF* other);
bool QFontMetricsF_operatorNotEqual(const QFontMetricsF* self, QFontMetricsF* other);
double QFontMetricsF_horizontalAdvance22(const QFontMetricsF* self, struct miqt_string string, int length);
QRectF* QFontMetricsF_boundingRect4(const QFontMetricsF* self, QRectF* r, int flags, struct miqt_string string, int tabstops);
QRectF* QFontMetricsF_boundingRect5(const QFontMetricsF* self, QRectF* r, int flags, struct miqt_string string, int tabstops, int* tabarray);
QSizeF* QFontMetricsF_size3(const QFontMetricsF* self, int flags, struct miqt_string str, int tabstops);
QSizeF* QFontMetricsF_size4(const QFontMetricsF* self, int flags, struct miqt_string str, int tabstops, int* tabarray);
struct miqt_string QFontMetricsF_elidedText4(const QFontMetricsF* self, struct miqt_string text, int mode, double width, int flags);
void QFontMetricsF_delete(QFontMetricsF* self);
#ifdef __cplusplus
} /* extern C */
#endif
#endif