miqt/qt/gen_qgraphicsitem.h

515 lines
32 KiB
C++

#ifndef GEN_QGRAPHICSITEM_H
#define GEN_QGRAPHICSITEM_H
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
class QAbstractGraphicsShapeItem;
class QBrush;
class QColor;
class QCursor;
class QFont;
class QGraphicsEffect;
class QGraphicsEllipseItem;
class QGraphicsItem;
class QGraphicsItemGroup;
class QGraphicsLineItem;
class QGraphicsObject;
class QGraphicsPathItem;
class QGraphicsPixmapItem;
class QGraphicsPolygonItem;
class QGraphicsRectItem;
class QGraphicsScene;
class QGraphicsSimpleTextItem;
class QGraphicsTextItem;
class QGraphicsTransform;
class QGraphicsWidget;
class QLineF;
class QMatrix;
class QMetaObject;
class QPainter;
class QPainterPath;
class QPen;
class QPixmap;
class QPointF;
class QRectF;
class QRegion;
class QSize;
class QStyleOptionGraphicsItem;
class QTextCursor;
class QTextDocument;
class QTransform;
class QVariant;
class QWidget;
#else
typedef struct QAbstractGraphicsShapeItem QAbstractGraphicsShapeItem;
typedef struct QBrush QBrush;
typedef struct QColor QColor;
typedef struct QCursor QCursor;
typedef struct QFont QFont;
typedef struct QGraphicsEffect QGraphicsEffect;
typedef struct QGraphicsEllipseItem QGraphicsEllipseItem;
typedef struct QGraphicsItem QGraphicsItem;
typedef struct QGraphicsItemGroup QGraphicsItemGroup;
typedef struct QGraphicsLineItem QGraphicsLineItem;
typedef struct QGraphicsObject QGraphicsObject;
typedef struct QGraphicsPathItem QGraphicsPathItem;
typedef struct QGraphicsPixmapItem QGraphicsPixmapItem;
typedef struct QGraphicsPolygonItem QGraphicsPolygonItem;
typedef struct QGraphicsRectItem QGraphicsRectItem;
typedef struct QGraphicsScene QGraphicsScene;
typedef struct QGraphicsSimpleTextItem QGraphicsSimpleTextItem;
typedef struct QGraphicsTextItem QGraphicsTextItem;
typedef struct QGraphicsTransform QGraphicsTransform;
typedef struct QGraphicsWidget QGraphicsWidget;
typedef struct QLineF QLineF;
typedef struct QMatrix QMatrix;
typedef struct QMetaObject QMetaObject;
typedef struct QPainter QPainter;
typedef struct QPainterPath QPainterPath;
typedef struct QPen QPen;
typedef struct QPixmap QPixmap;
typedef struct QPointF QPointF;
typedef struct QRectF QRectF;
typedef struct QRegion QRegion;
typedef struct QSize QSize;
typedef struct QStyleOptionGraphicsItem QStyleOptionGraphicsItem;
typedef struct QTextCursor QTextCursor;
typedef struct QTextDocument QTextDocument;
typedef struct QTransform QTransform;
typedef struct QVariant QVariant;
typedef struct QWidget QWidget;
#endif
QGraphicsScene* QGraphicsItem_Scene(QGraphicsItem* self);
QGraphicsItem* QGraphicsItem_ParentItem(QGraphicsItem* self);
QGraphicsItem* QGraphicsItem_TopLevelItem(QGraphicsItem* self);
QGraphicsObject* QGraphicsItem_ParentObject(QGraphicsItem* self);
QGraphicsWidget* QGraphicsItem_ParentWidget(QGraphicsItem* self);
QGraphicsWidget* QGraphicsItem_TopLevelWidget(QGraphicsItem* self);
QGraphicsWidget* QGraphicsItem_Window(QGraphicsItem* self);
QGraphicsItem* QGraphicsItem_Panel(QGraphicsItem* self);
void QGraphicsItem_SetParentItem(QGraphicsItem* self, QGraphicsItem* parent);
void QGraphicsItem_ChildItems(QGraphicsItem* self, QGraphicsItem*** _out, size_t* _out_len);
bool QGraphicsItem_IsWidget(QGraphicsItem* self);
bool QGraphicsItem_IsWindow(QGraphicsItem* self);
bool QGraphicsItem_IsPanel(QGraphicsItem* self);
QGraphicsObject* QGraphicsItem_ToGraphicsObject(QGraphicsItem* self);
QGraphicsObject* QGraphicsItem_ToGraphicsObject2(QGraphicsItem* self);
QGraphicsItemGroup* QGraphicsItem_Group(QGraphicsItem* self);
void QGraphicsItem_SetGroup(QGraphicsItem* self, QGraphicsItemGroup* group);
int QGraphicsItem_Flags(QGraphicsItem* self);
void QGraphicsItem_SetFlag(QGraphicsItem* self, uintptr_t flag);
void QGraphicsItem_SetFlags(QGraphicsItem* self, int flags);
uintptr_t QGraphicsItem_CacheMode(QGraphicsItem* self);
void QGraphicsItem_SetCacheMode(QGraphicsItem* self, uintptr_t mode);
uintptr_t QGraphicsItem_PanelModality(QGraphicsItem* self);
void QGraphicsItem_SetPanelModality(QGraphicsItem* self, uintptr_t panelModality);
bool QGraphicsItem_IsBlockedByModalPanel(QGraphicsItem* self);
void QGraphicsItem_ToolTip(QGraphicsItem* self, char** _out, int* _out_Strlen);
void QGraphicsItem_SetToolTip(QGraphicsItem* self, const char* toolTip, size_t toolTip_Strlen);
QCursor* QGraphicsItem_Cursor(QGraphicsItem* self);
void QGraphicsItem_SetCursor(QGraphicsItem* self, QCursor* cursor);
bool QGraphicsItem_HasCursor(QGraphicsItem* self);
void QGraphicsItem_UnsetCursor(QGraphicsItem* self);
bool QGraphicsItem_IsVisible(QGraphicsItem* self);
bool QGraphicsItem_IsVisibleTo(QGraphicsItem* self, QGraphicsItem* parent);
void QGraphicsItem_SetVisible(QGraphicsItem* self, bool visible);
void QGraphicsItem_Hide(QGraphicsItem* self);
void QGraphicsItem_Show(QGraphicsItem* self);
bool QGraphicsItem_IsEnabled(QGraphicsItem* self);
void QGraphicsItem_SetEnabled(QGraphicsItem* self, bool enabled);
bool QGraphicsItem_IsSelected(QGraphicsItem* self);
void QGraphicsItem_SetSelected(QGraphicsItem* self, bool selected);
bool QGraphicsItem_AcceptDrops(QGraphicsItem* self);
void QGraphicsItem_SetAcceptDrops(QGraphicsItem* self, bool on);
double QGraphicsItem_Opacity(QGraphicsItem* self);
double QGraphicsItem_EffectiveOpacity(QGraphicsItem* self);
void QGraphicsItem_SetOpacity(QGraphicsItem* self, double opacity);
QGraphicsEffect* QGraphicsItem_GraphicsEffect(QGraphicsItem* self);
void QGraphicsItem_SetGraphicsEffect(QGraphicsItem* self, QGraphicsEffect* effect);
int QGraphicsItem_AcceptedMouseButtons(QGraphicsItem* self);
void QGraphicsItem_SetAcceptedMouseButtons(QGraphicsItem* self, int buttons);
bool QGraphicsItem_AcceptHoverEvents(QGraphicsItem* self);
void QGraphicsItem_SetAcceptHoverEvents(QGraphicsItem* self, bool enabled);
bool QGraphicsItem_AcceptTouchEvents(QGraphicsItem* self);
void QGraphicsItem_SetAcceptTouchEvents(QGraphicsItem* self, bool enabled);
bool QGraphicsItem_FiltersChildEvents(QGraphicsItem* self);
void QGraphicsItem_SetFiltersChildEvents(QGraphicsItem* self, bool enabled);
bool QGraphicsItem_HandlesChildEvents(QGraphicsItem* self);
void QGraphicsItem_SetHandlesChildEvents(QGraphicsItem* self, bool enabled);
bool QGraphicsItem_IsActive(QGraphicsItem* self);
void QGraphicsItem_SetActive(QGraphicsItem* self, bool active);
bool QGraphicsItem_HasFocus(QGraphicsItem* self);
void QGraphicsItem_SetFocus(QGraphicsItem* self);
void QGraphicsItem_ClearFocus(QGraphicsItem* self);
QGraphicsItem* QGraphicsItem_FocusProxy(QGraphicsItem* self);
void QGraphicsItem_SetFocusProxy(QGraphicsItem* self, QGraphicsItem* item);
QGraphicsItem* QGraphicsItem_FocusItem(QGraphicsItem* self);
QGraphicsItem* QGraphicsItem_FocusScopeItem(QGraphicsItem* self);
void QGraphicsItem_GrabMouse(QGraphicsItem* self);
void QGraphicsItem_UngrabMouse(QGraphicsItem* self);
void QGraphicsItem_GrabKeyboard(QGraphicsItem* self);
void QGraphicsItem_UngrabKeyboard(QGraphicsItem* self);
QPointF* QGraphicsItem_Pos(QGraphicsItem* self);
double QGraphicsItem_X(QGraphicsItem* self);
void QGraphicsItem_SetX(QGraphicsItem* self, double x);
double QGraphicsItem_Y(QGraphicsItem* self);
void QGraphicsItem_SetY(QGraphicsItem* self, double y);
QPointF* QGraphicsItem_ScenePos(QGraphicsItem* self);
void QGraphicsItem_SetPos(QGraphicsItem* self, QPointF* pos);
void QGraphicsItem_SetPos2(QGraphicsItem* self, double x, double y);
void QGraphicsItem_MoveBy(QGraphicsItem* self, double dx, double dy);
void QGraphicsItem_EnsureVisible(QGraphicsItem* self);
void QGraphicsItem_EnsureVisible2(QGraphicsItem* self, double x, double y, double w, double h);
QMatrix* QGraphicsItem_Matrix(QGraphicsItem* self);
QMatrix* QGraphicsItem_SceneMatrix(QGraphicsItem* self);
void QGraphicsItem_SetMatrix(QGraphicsItem* self, QMatrix* matrix);
void QGraphicsItem_ResetMatrix(QGraphicsItem* self);
QTransform* QGraphicsItem_Transform(QGraphicsItem* self);
QTransform* QGraphicsItem_SceneTransform(QGraphicsItem* self);
QTransform* QGraphicsItem_DeviceTransform(QGraphicsItem* self, QTransform* viewportTransform);
QTransform* QGraphicsItem_ItemTransform(QGraphicsItem* self, QGraphicsItem* other);
void QGraphicsItem_SetTransform(QGraphicsItem* self, QTransform* matrix);
void QGraphicsItem_ResetTransform(QGraphicsItem* self);
void QGraphicsItem_SetRotation(QGraphicsItem* self, double angle);
double QGraphicsItem_Rotation(QGraphicsItem* self);
void QGraphicsItem_SetScale(QGraphicsItem* self, double scale);
double QGraphicsItem_Scale(QGraphicsItem* self);
void QGraphicsItem_Transformations(QGraphicsItem* self, QGraphicsTransform*** _out, size_t* _out_len);
void QGraphicsItem_SetTransformations(QGraphicsItem* self, QGraphicsTransform** transformations, size_t transformations_len);
QPointF* QGraphicsItem_TransformOriginPoint(QGraphicsItem* self);
void QGraphicsItem_SetTransformOriginPoint(QGraphicsItem* self, QPointF* origin);
void QGraphicsItem_SetTransformOriginPoint2(QGraphicsItem* self, double ax, double ay);
void QGraphicsItem_Advance(QGraphicsItem* self, int phase);
double QGraphicsItem_ZValue(QGraphicsItem* self);
void QGraphicsItem_SetZValue(QGraphicsItem* self, double z);
void QGraphicsItem_StackBefore(QGraphicsItem* self, QGraphicsItem* sibling);
QRectF* QGraphicsItem_BoundingRect(QGraphicsItem* self);
QRectF* QGraphicsItem_ChildrenBoundingRect(QGraphicsItem* self);
QRectF* QGraphicsItem_SceneBoundingRect(QGraphicsItem* self);
QPainterPath* QGraphicsItem_Shape(QGraphicsItem* self);
bool QGraphicsItem_IsClipped(QGraphicsItem* self);
QPainterPath* QGraphicsItem_ClipPath(QGraphicsItem* self);
bool QGraphicsItem_Contains(QGraphicsItem* self, QPointF* point);
bool QGraphicsItem_CollidesWithItem(QGraphicsItem* self, QGraphicsItem* other);
bool QGraphicsItem_CollidesWithPath(QGraphicsItem* self, QPainterPath* path);
void QGraphicsItem_CollidingItems(QGraphicsItem* self, QGraphicsItem*** _out, size_t* _out_len);
bool QGraphicsItem_IsObscured(QGraphicsItem* self);
bool QGraphicsItem_IsObscured2(QGraphicsItem* self, double x, double y, double w, double h);
bool QGraphicsItem_IsObscuredBy(QGraphicsItem* self, QGraphicsItem* item);
QPainterPath* QGraphicsItem_OpaqueArea(QGraphicsItem* self);
QRegion* QGraphicsItem_BoundingRegion(QGraphicsItem* self, QTransform* itemToDeviceTransform);
double QGraphicsItem_BoundingRegionGranularity(QGraphicsItem* self);
void QGraphicsItem_SetBoundingRegionGranularity(QGraphicsItem* self, double granularity);
void QGraphicsItem_Paint(QGraphicsItem* self, QPainter* painter, QStyleOptionGraphicsItem* option);
void QGraphicsItem_Update(QGraphicsItem* self);
void QGraphicsItem_Update2(QGraphicsItem* self, double x, double y, double width, double height);
void QGraphicsItem_Scroll(QGraphicsItem* self, double dx, double dy);
QPointF* QGraphicsItem_MapToItem(QGraphicsItem* self, QGraphicsItem* item, QPointF* point);
QPointF* QGraphicsItem_MapToParent(QGraphicsItem* self, QPointF* point);
QPointF* QGraphicsItem_MapToScene(QGraphicsItem* self, QPointF* point);
QRectF* QGraphicsItem_MapRectToItem(QGraphicsItem* self, QGraphicsItem* item, QRectF* rect);
QRectF* QGraphicsItem_MapRectToParent(QGraphicsItem* self, QRectF* rect);
QRectF* QGraphicsItem_MapRectToScene(QGraphicsItem* self, QRectF* rect);
QPainterPath* QGraphicsItem_MapToItem4(QGraphicsItem* self, QGraphicsItem* item, QPainterPath* path);
QPainterPath* QGraphicsItem_MapToParentWithPath(QGraphicsItem* self, QPainterPath* path);
QPainterPath* QGraphicsItem_MapToSceneWithPath(QGraphicsItem* self, QPainterPath* path);
QPointF* QGraphicsItem_MapFromItem(QGraphicsItem* self, QGraphicsItem* item, QPointF* point);
QPointF* QGraphicsItem_MapFromParent(QGraphicsItem* self, QPointF* point);
QPointF* QGraphicsItem_MapFromScene(QGraphicsItem* self, QPointF* point);
QRectF* QGraphicsItem_MapRectFromItem(QGraphicsItem* self, QGraphicsItem* item, QRectF* rect);
QRectF* QGraphicsItem_MapRectFromParent(QGraphicsItem* self, QRectF* rect);
QRectF* QGraphicsItem_MapRectFromScene(QGraphicsItem* self, QRectF* rect);
QPainterPath* QGraphicsItem_MapFromItem4(QGraphicsItem* self, QGraphicsItem* item, QPainterPath* path);
QPainterPath* QGraphicsItem_MapFromParentWithPath(QGraphicsItem* self, QPainterPath* path);
QPainterPath* QGraphicsItem_MapFromSceneWithPath(QGraphicsItem* self, QPainterPath* path);
QPointF* QGraphicsItem_MapToItem5(QGraphicsItem* self, QGraphicsItem* item, double x, double y);
QPointF* QGraphicsItem_MapToParent2(QGraphicsItem* self, double x, double y);
QPointF* QGraphicsItem_MapToScene2(QGraphicsItem* self, double x, double y);
QRectF* QGraphicsItem_MapRectToItem2(QGraphicsItem* self, QGraphicsItem* item, double x, double y, double w, double h);
QRectF* QGraphicsItem_MapRectToParent2(QGraphicsItem* self, double x, double y, double w, double h);
QRectF* QGraphicsItem_MapRectToScene2(QGraphicsItem* self, double x, double y, double w, double h);
QPointF* QGraphicsItem_MapFromItem5(QGraphicsItem* self, QGraphicsItem* item, double x, double y);
QPointF* QGraphicsItem_MapFromParent2(QGraphicsItem* self, double x, double y);
QPointF* QGraphicsItem_MapFromScene2(QGraphicsItem* self, double x, double y);
QRectF* QGraphicsItem_MapRectFromItem2(QGraphicsItem* self, QGraphicsItem* item, double x, double y, double w, double h);
QRectF* QGraphicsItem_MapRectFromParent2(QGraphicsItem* self, double x, double y, double w, double h);
QRectF* QGraphicsItem_MapRectFromScene2(QGraphicsItem* self, double x, double y, double w, double h);
bool QGraphicsItem_IsAncestorOf(QGraphicsItem* self, QGraphicsItem* child);
QGraphicsItem* QGraphicsItem_CommonAncestorItem(QGraphicsItem* self, QGraphicsItem* other);
bool QGraphicsItem_IsUnderMouse(QGraphicsItem* self);
QVariant* QGraphicsItem_Data(QGraphicsItem* self, int key);
void QGraphicsItem_SetData(QGraphicsItem* self, int key, QVariant* value);
int QGraphicsItem_InputMethodHints(QGraphicsItem* self);
void QGraphicsItem_SetInputMethodHints(QGraphicsItem* self, int hints);
int QGraphicsItem_Type(QGraphicsItem* self);
void QGraphicsItem_InstallSceneEventFilter(QGraphicsItem* self, QGraphicsItem* filterItem);
void QGraphicsItem_RemoveSceneEventFilter(QGraphicsItem* self, QGraphicsItem* filterItem);
void QGraphicsItem_SetFlag2(QGraphicsItem* self, uintptr_t flag, bool enabled);
void QGraphicsItem_SetCacheMode2(QGraphicsItem* self, uintptr_t mode, QSize* cacheSize);
void QGraphicsItem_SetFocus1(QGraphicsItem* self, uintptr_t focusReason);
void QGraphicsItem_EnsureVisible1(QGraphicsItem* self, QRectF* rect);
void QGraphicsItem_EnsureVisible22(QGraphicsItem* self, QRectF* rect, int xmargin);
void QGraphicsItem_EnsureVisible3(QGraphicsItem* self, QRectF* rect, int xmargin, int ymargin);
void QGraphicsItem_EnsureVisible5(QGraphicsItem* self, double x, double y, double w, double h, int xmargin);
void QGraphicsItem_EnsureVisible6(QGraphicsItem* self, double x, double y, double w, double h, int xmargin, int ymargin);
void QGraphicsItem_SetMatrix2(QGraphicsItem* self, QMatrix* matrix, bool combine);
QTransform* QGraphicsItem_ItemTransform2(QGraphicsItem* self, QGraphicsItem* other, bool* ok);
void QGraphicsItem_SetTransform2(QGraphicsItem* self, QTransform* matrix, bool combine);
bool QGraphicsItem_CollidesWithItem2(QGraphicsItem* self, QGraphicsItem* other, uintptr_t mode);
bool QGraphicsItem_CollidesWithPath2(QGraphicsItem* self, QPainterPath* path, uintptr_t mode);
void QGraphicsItem_CollidingItems1(QGraphicsItem* self, uintptr_t mode, QGraphicsItem*** _out, size_t* _out_len);
bool QGraphicsItem_IsObscured1(QGraphicsItem* self, QRectF* rect);
void QGraphicsItem_Paint3(QGraphicsItem* self, QPainter* painter, QStyleOptionGraphicsItem* option, QWidget* widget);
void QGraphicsItem_Update1(QGraphicsItem* self, QRectF* rect);
void QGraphicsItem_Scroll3(QGraphicsItem* self, double dx, double dy, QRectF* rect);
void QGraphicsItem_Delete(QGraphicsItem* self);
QMetaObject* QGraphicsObject_MetaObject(QGraphicsObject* self);
void QGraphicsObject_Tr(const char* s, char** _out, int* _out_Strlen);
void QGraphicsObject_TrUtf8(const char* s, char** _out, int* _out_Strlen);
void QGraphicsObject_GrabGesture(QGraphicsObject* self, uintptr_t typeVal);
void QGraphicsObject_UngrabGesture(QGraphicsObject* self, uintptr_t typeVal);
void QGraphicsObject_ParentChanged(QGraphicsObject* self);
void QGraphicsObject_connect_ParentChanged(QGraphicsObject* self, void* slot);
void QGraphicsObject_OpacityChanged(QGraphicsObject* self);
void QGraphicsObject_connect_OpacityChanged(QGraphicsObject* self, void* slot);
void QGraphicsObject_VisibleChanged(QGraphicsObject* self);
void QGraphicsObject_connect_VisibleChanged(QGraphicsObject* self, void* slot);
void QGraphicsObject_EnabledChanged(QGraphicsObject* self);
void QGraphicsObject_connect_EnabledChanged(QGraphicsObject* self, void* slot);
void QGraphicsObject_XChanged(QGraphicsObject* self);
void QGraphicsObject_connect_XChanged(QGraphicsObject* self, void* slot);
void QGraphicsObject_YChanged(QGraphicsObject* self);
void QGraphicsObject_connect_YChanged(QGraphicsObject* self, void* slot);
void QGraphicsObject_ZChanged(QGraphicsObject* self);
void QGraphicsObject_connect_ZChanged(QGraphicsObject* self, void* slot);
void QGraphicsObject_RotationChanged(QGraphicsObject* self);
void QGraphicsObject_connect_RotationChanged(QGraphicsObject* self, void* slot);
void QGraphicsObject_ScaleChanged(QGraphicsObject* self);
void QGraphicsObject_connect_ScaleChanged(QGraphicsObject* self, void* slot);
void QGraphicsObject_ChildrenChanged(QGraphicsObject* self);
void QGraphicsObject_connect_ChildrenChanged(QGraphicsObject* self, void* slot);
void QGraphicsObject_WidthChanged(QGraphicsObject* self);
void QGraphicsObject_connect_WidthChanged(QGraphicsObject* self, void* slot);
void QGraphicsObject_HeightChanged(QGraphicsObject* self);
void QGraphicsObject_connect_HeightChanged(QGraphicsObject* self, void* slot);
void QGraphicsObject_Tr2(const char* s, const char* c, char** _out, int* _out_Strlen);
void QGraphicsObject_Tr3(const char* s, const char* c, int n, char** _out, int* _out_Strlen);
void QGraphicsObject_TrUtf82(const char* s, const char* c, char** _out, int* _out_Strlen);
void QGraphicsObject_TrUtf83(const char* s, const char* c, int n, char** _out, int* _out_Strlen);
void QGraphicsObject_GrabGesture2(QGraphicsObject* self, uintptr_t typeVal, int flags);
void QGraphicsObject_Delete(QGraphicsObject* self);
QPen* QAbstractGraphicsShapeItem_Pen(QAbstractGraphicsShapeItem* self);
void QAbstractGraphicsShapeItem_SetPen(QAbstractGraphicsShapeItem* self, QPen* pen);
QBrush* QAbstractGraphicsShapeItem_Brush(QAbstractGraphicsShapeItem* self);
void QAbstractGraphicsShapeItem_SetBrush(QAbstractGraphicsShapeItem* self, QBrush* brush);
bool QAbstractGraphicsShapeItem_IsObscuredBy(QAbstractGraphicsShapeItem* self, QGraphicsItem* item);
QPainterPath* QAbstractGraphicsShapeItem_OpaqueArea(QAbstractGraphicsShapeItem* self);
void QAbstractGraphicsShapeItem_Delete(QAbstractGraphicsShapeItem* self);
QGraphicsPathItem* QGraphicsPathItem_new();
QGraphicsPathItem* QGraphicsPathItem_new2(QPainterPath* path);
QGraphicsPathItem* QGraphicsPathItem_new3(QGraphicsItem* parent);
QGraphicsPathItem* QGraphicsPathItem_new4(QPainterPath* path, QGraphicsItem* parent);
QPainterPath* QGraphicsPathItem_Path(QGraphicsPathItem* self);
void QGraphicsPathItem_SetPath(QGraphicsPathItem* self, QPainterPath* path);
QRectF* QGraphicsPathItem_BoundingRect(QGraphicsPathItem* self);
QPainterPath* QGraphicsPathItem_Shape(QGraphicsPathItem* self);
bool QGraphicsPathItem_Contains(QGraphicsPathItem* self, QPointF* point);
void QGraphicsPathItem_Paint(QGraphicsPathItem* self, QPainter* painter, QStyleOptionGraphicsItem* option);
bool QGraphicsPathItem_IsObscuredBy(QGraphicsPathItem* self, QGraphicsItem* item);
QPainterPath* QGraphicsPathItem_OpaqueArea(QGraphicsPathItem* self);
int QGraphicsPathItem_Type(QGraphicsPathItem* self);
void QGraphicsPathItem_Paint3(QGraphicsPathItem* self, QPainter* painter, QStyleOptionGraphicsItem* option, QWidget* widget);
void QGraphicsPathItem_Delete(QGraphicsPathItem* self);
QGraphicsRectItem* QGraphicsRectItem_new();
QGraphicsRectItem* QGraphicsRectItem_new2(QRectF* rect);
QGraphicsRectItem* QGraphicsRectItem_new3(double x, double y, double w, double h);
QGraphicsRectItem* QGraphicsRectItem_new4(QGraphicsItem* parent);
QGraphicsRectItem* QGraphicsRectItem_new5(QRectF* rect, QGraphicsItem* parent);
QGraphicsRectItem* QGraphicsRectItem_new6(double x, double y, double w, double h, QGraphicsItem* parent);
QRectF* QGraphicsRectItem_Rect(QGraphicsRectItem* self);
void QGraphicsRectItem_SetRect(QGraphicsRectItem* self, QRectF* rect);
void QGraphicsRectItem_SetRect2(QGraphicsRectItem* self, double x, double y, double w, double h);
QRectF* QGraphicsRectItem_BoundingRect(QGraphicsRectItem* self);
QPainterPath* QGraphicsRectItem_Shape(QGraphicsRectItem* self);
bool QGraphicsRectItem_Contains(QGraphicsRectItem* self, QPointF* point);
void QGraphicsRectItem_Paint(QGraphicsRectItem* self, QPainter* painter, QStyleOptionGraphicsItem* option);
bool QGraphicsRectItem_IsObscuredBy(QGraphicsRectItem* self, QGraphicsItem* item);
QPainterPath* QGraphicsRectItem_OpaqueArea(QGraphicsRectItem* self);
int QGraphicsRectItem_Type(QGraphicsRectItem* self);
void QGraphicsRectItem_Paint3(QGraphicsRectItem* self, QPainter* painter, QStyleOptionGraphicsItem* option, QWidget* widget);
void QGraphicsRectItem_Delete(QGraphicsRectItem* self);
QGraphicsEllipseItem* QGraphicsEllipseItem_new();
QGraphicsEllipseItem* QGraphicsEllipseItem_new2(QRectF* rect);
QGraphicsEllipseItem* QGraphicsEllipseItem_new3(double x, double y, double w, double h);
QGraphicsEllipseItem* QGraphicsEllipseItem_new4(QGraphicsItem* parent);
QGraphicsEllipseItem* QGraphicsEllipseItem_new5(QRectF* rect, QGraphicsItem* parent);
QGraphicsEllipseItem* QGraphicsEllipseItem_new6(double x, double y, double w, double h, QGraphicsItem* parent);
QRectF* QGraphicsEllipseItem_Rect(QGraphicsEllipseItem* self);
void QGraphicsEllipseItem_SetRect(QGraphicsEllipseItem* self, QRectF* rect);
void QGraphicsEllipseItem_SetRect2(QGraphicsEllipseItem* self, double x, double y, double w, double h);
int QGraphicsEllipseItem_StartAngle(QGraphicsEllipseItem* self);
void QGraphicsEllipseItem_SetStartAngle(QGraphicsEllipseItem* self, int angle);
int QGraphicsEllipseItem_SpanAngle(QGraphicsEllipseItem* self);
void QGraphicsEllipseItem_SetSpanAngle(QGraphicsEllipseItem* self, int angle);
QRectF* QGraphicsEllipseItem_BoundingRect(QGraphicsEllipseItem* self);
QPainterPath* QGraphicsEllipseItem_Shape(QGraphicsEllipseItem* self);
bool QGraphicsEllipseItem_Contains(QGraphicsEllipseItem* self, QPointF* point);
void QGraphicsEllipseItem_Paint(QGraphicsEllipseItem* self, QPainter* painter, QStyleOptionGraphicsItem* option);
bool QGraphicsEllipseItem_IsObscuredBy(QGraphicsEllipseItem* self, QGraphicsItem* item);
QPainterPath* QGraphicsEllipseItem_OpaqueArea(QGraphicsEllipseItem* self);
int QGraphicsEllipseItem_Type(QGraphicsEllipseItem* self);
void QGraphicsEllipseItem_Paint3(QGraphicsEllipseItem* self, QPainter* painter, QStyleOptionGraphicsItem* option, QWidget* widget);
void QGraphicsEllipseItem_Delete(QGraphicsEllipseItem* self);
QGraphicsPolygonItem* QGraphicsPolygonItem_new();
QGraphicsPolygonItem* QGraphicsPolygonItem_new2(QGraphicsItem* parent);
uintptr_t QGraphicsPolygonItem_FillRule(QGraphicsPolygonItem* self);
void QGraphicsPolygonItem_SetFillRule(QGraphicsPolygonItem* self, uintptr_t rule);
QRectF* QGraphicsPolygonItem_BoundingRect(QGraphicsPolygonItem* self);
QPainterPath* QGraphicsPolygonItem_Shape(QGraphicsPolygonItem* self);
bool QGraphicsPolygonItem_Contains(QGraphicsPolygonItem* self, QPointF* point);
void QGraphicsPolygonItem_Paint(QGraphicsPolygonItem* self, QPainter* painter, QStyleOptionGraphicsItem* option);
bool QGraphicsPolygonItem_IsObscuredBy(QGraphicsPolygonItem* self, QGraphicsItem* item);
QPainterPath* QGraphicsPolygonItem_OpaqueArea(QGraphicsPolygonItem* self);
int QGraphicsPolygonItem_Type(QGraphicsPolygonItem* self);
void QGraphicsPolygonItem_Paint3(QGraphicsPolygonItem* self, QPainter* painter, QStyleOptionGraphicsItem* option, QWidget* widget);
void QGraphicsPolygonItem_Delete(QGraphicsPolygonItem* self);
QGraphicsLineItem* QGraphicsLineItem_new();
QGraphicsLineItem* QGraphicsLineItem_new2(QLineF* line);
QGraphicsLineItem* QGraphicsLineItem_new3(double x1, double y1, double x2, double y2);
QGraphicsLineItem* QGraphicsLineItem_new4(QGraphicsItem* parent);
QGraphicsLineItem* QGraphicsLineItem_new5(QLineF* line, QGraphicsItem* parent);
QGraphicsLineItem* QGraphicsLineItem_new6(double x1, double y1, double x2, double y2, QGraphicsItem* parent);
QPen* QGraphicsLineItem_Pen(QGraphicsLineItem* self);
void QGraphicsLineItem_SetPen(QGraphicsLineItem* self, QPen* pen);
QLineF* QGraphicsLineItem_Line(QGraphicsLineItem* self);
void QGraphicsLineItem_SetLine(QGraphicsLineItem* self, QLineF* line);
void QGraphicsLineItem_SetLine2(QGraphicsLineItem* self, double x1, double y1, double x2, double y2);
QRectF* QGraphicsLineItem_BoundingRect(QGraphicsLineItem* self);
QPainterPath* QGraphicsLineItem_Shape(QGraphicsLineItem* self);
bool QGraphicsLineItem_Contains(QGraphicsLineItem* self, QPointF* point);
void QGraphicsLineItem_Paint(QGraphicsLineItem* self, QPainter* painter, QStyleOptionGraphicsItem* option);
bool QGraphicsLineItem_IsObscuredBy(QGraphicsLineItem* self, QGraphicsItem* item);
QPainterPath* QGraphicsLineItem_OpaqueArea(QGraphicsLineItem* self);
int QGraphicsLineItem_Type(QGraphicsLineItem* self);
void QGraphicsLineItem_Paint3(QGraphicsLineItem* self, QPainter* painter, QStyleOptionGraphicsItem* option, QWidget* widget);
void QGraphicsLineItem_Delete(QGraphicsLineItem* self);
QGraphicsPixmapItem* QGraphicsPixmapItem_new();
QGraphicsPixmapItem* QGraphicsPixmapItem_new2(QPixmap* pixmap);
QGraphicsPixmapItem* QGraphicsPixmapItem_new3(QGraphicsItem* parent);
QGraphicsPixmapItem* QGraphicsPixmapItem_new4(QPixmap* pixmap, QGraphicsItem* parent);
QPixmap* QGraphicsPixmapItem_Pixmap(QGraphicsPixmapItem* self);
void QGraphicsPixmapItem_SetPixmap(QGraphicsPixmapItem* self, QPixmap* pixmap);
uintptr_t QGraphicsPixmapItem_TransformationMode(QGraphicsPixmapItem* self);
void QGraphicsPixmapItem_SetTransformationMode(QGraphicsPixmapItem* self, uintptr_t mode);
QPointF* QGraphicsPixmapItem_Offset(QGraphicsPixmapItem* self);
void QGraphicsPixmapItem_SetOffset(QGraphicsPixmapItem* self, QPointF* offset);
void QGraphicsPixmapItem_SetOffset2(QGraphicsPixmapItem* self, double x, double y);
QRectF* QGraphicsPixmapItem_BoundingRect(QGraphicsPixmapItem* self);
QPainterPath* QGraphicsPixmapItem_Shape(QGraphicsPixmapItem* self);
bool QGraphicsPixmapItem_Contains(QGraphicsPixmapItem* self, QPointF* point);
void QGraphicsPixmapItem_Paint(QGraphicsPixmapItem* self, QPainter* painter, QStyleOptionGraphicsItem* option, QWidget* widget);
bool QGraphicsPixmapItem_IsObscuredBy(QGraphicsPixmapItem* self, QGraphicsItem* item);
QPainterPath* QGraphicsPixmapItem_OpaqueArea(QGraphicsPixmapItem* self);
int QGraphicsPixmapItem_Type(QGraphicsPixmapItem* self);
uintptr_t QGraphicsPixmapItem_ShapeMode(QGraphicsPixmapItem* self);
void QGraphicsPixmapItem_SetShapeMode(QGraphicsPixmapItem* self, uintptr_t mode);
void QGraphicsPixmapItem_Delete(QGraphicsPixmapItem* self);
QGraphicsTextItem* QGraphicsTextItem_new();
QGraphicsTextItem* QGraphicsTextItem_new2(const char* text, size_t text_Strlen);
QGraphicsTextItem* QGraphicsTextItem_new3(QGraphicsItem* parent);
QGraphicsTextItem* QGraphicsTextItem_new4(const char* text, size_t text_Strlen, QGraphicsItem* parent);
QMetaObject* QGraphicsTextItem_MetaObject(QGraphicsTextItem* self);
void QGraphicsTextItem_Tr(const char* s, char** _out, int* _out_Strlen);
void QGraphicsTextItem_TrUtf8(const char* s, char** _out, int* _out_Strlen);
void QGraphicsTextItem_ToHtml(QGraphicsTextItem* self, char** _out, int* _out_Strlen);
void QGraphicsTextItem_SetHtml(QGraphicsTextItem* self, const char* html, size_t html_Strlen);
void QGraphicsTextItem_ToPlainText(QGraphicsTextItem* self, char** _out, int* _out_Strlen);
void QGraphicsTextItem_SetPlainText(QGraphicsTextItem* self, const char* text, size_t text_Strlen);
QFont* QGraphicsTextItem_Font(QGraphicsTextItem* self);
void QGraphicsTextItem_SetFont(QGraphicsTextItem* self, QFont* font);
void QGraphicsTextItem_SetDefaultTextColor(QGraphicsTextItem* self, QColor* c);
QColor* QGraphicsTextItem_DefaultTextColor(QGraphicsTextItem* self);
QRectF* QGraphicsTextItem_BoundingRect(QGraphicsTextItem* self);
QPainterPath* QGraphicsTextItem_Shape(QGraphicsTextItem* self);
bool QGraphicsTextItem_Contains(QGraphicsTextItem* self, QPointF* point);
void QGraphicsTextItem_Paint(QGraphicsTextItem* self, QPainter* painter, QStyleOptionGraphicsItem* option, QWidget* widget);
bool QGraphicsTextItem_IsObscuredBy(QGraphicsTextItem* self, QGraphicsItem* item);
QPainterPath* QGraphicsTextItem_OpaqueArea(QGraphicsTextItem* self);
int QGraphicsTextItem_Type(QGraphicsTextItem* self);
void QGraphicsTextItem_SetTextWidth(QGraphicsTextItem* self, double width);
double QGraphicsTextItem_TextWidth(QGraphicsTextItem* self);
void QGraphicsTextItem_AdjustSize(QGraphicsTextItem* self);
void QGraphicsTextItem_SetDocument(QGraphicsTextItem* self, QTextDocument* document);
QTextDocument* QGraphicsTextItem_Document(QGraphicsTextItem* self);
void QGraphicsTextItem_SetTextInteractionFlags(QGraphicsTextItem* self, int flags);
int QGraphicsTextItem_TextInteractionFlags(QGraphicsTextItem* self);
void QGraphicsTextItem_SetTabChangesFocus(QGraphicsTextItem* self, bool b);
bool QGraphicsTextItem_TabChangesFocus(QGraphicsTextItem* self);
void QGraphicsTextItem_SetOpenExternalLinks(QGraphicsTextItem* self, bool open);
bool QGraphicsTextItem_OpenExternalLinks(QGraphicsTextItem* self);
void QGraphicsTextItem_SetTextCursor(QGraphicsTextItem* self, QTextCursor* cursor);
QTextCursor* QGraphicsTextItem_TextCursor(QGraphicsTextItem* self);
void QGraphicsTextItem_LinkActivated(QGraphicsTextItem* self, const char* param1, size_t param1_Strlen);
void QGraphicsTextItem_connect_LinkActivated(QGraphicsTextItem* self, void* slot);
void QGraphicsTextItem_LinkHovered(QGraphicsTextItem* self, const char* param1, size_t param1_Strlen);
void QGraphicsTextItem_connect_LinkHovered(QGraphicsTextItem* self, void* slot);
void QGraphicsTextItem_Tr2(const char* s, const char* c, char** _out, int* _out_Strlen);
void QGraphicsTextItem_Tr3(const char* s, const char* c, int n, char** _out, int* _out_Strlen);
void QGraphicsTextItem_TrUtf82(const char* s, const char* c, char** _out, int* _out_Strlen);
void QGraphicsTextItem_TrUtf83(const char* s, const char* c, int n, char** _out, int* _out_Strlen);
void QGraphicsTextItem_Delete(QGraphicsTextItem* self);
QGraphicsSimpleTextItem* QGraphicsSimpleTextItem_new();
QGraphicsSimpleTextItem* QGraphicsSimpleTextItem_new2(const char* text, size_t text_Strlen);
QGraphicsSimpleTextItem* QGraphicsSimpleTextItem_new3(QGraphicsItem* parent);
QGraphicsSimpleTextItem* QGraphicsSimpleTextItem_new4(const char* text, size_t text_Strlen, QGraphicsItem* parent);
void QGraphicsSimpleTextItem_SetText(QGraphicsSimpleTextItem* self, const char* text, size_t text_Strlen);
void QGraphicsSimpleTextItem_Text(QGraphicsSimpleTextItem* self, char** _out, int* _out_Strlen);
void QGraphicsSimpleTextItem_SetFont(QGraphicsSimpleTextItem* self, QFont* font);
QFont* QGraphicsSimpleTextItem_Font(QGraphicsSimpleTextItem* self);
QRectF* QGraphicsSimpleTextItem_BoundingRect(QGraphicsSimpleTextItem* self);
QPainterPath* QGraphicsSimpleTextItem_Shape(QGraphicsSimpleTextItem* self);
bool QGraphicsSimpleTextItem_Contains(QGraphicsSimpleTextItem* self, QPointF* point);
void QGraphicsSimpleTextItem_Paint(QGraphicsSimpleTextItem* self, QPainter* painter, QStyleOptionGraphicsItem* option, QWidget* widget);
bool QGraphicsSimpleTextItem_IsObscuredBy(QGraphicsSimpleTextItem* self, QGraphicsItem* item);
QPainterPath* QGraphicsSimpleTextItem_OpaqueArea(QGraphicsSimpleTextItem* self);
int QGraphicsSimpleTextItem_Type(QGraphicsSimpleTextItem* self);
void QGraphicsSimpleTextItem_Delete(QGraphicsSimpleTextItem* self);
QGraphicsItemGroup* QGraphicsItemGroup_new();
QGraphicsItemGroup* QGraphicsItemGroup_new2(QGraphicsItem* parent);
void QGraphicsItemGroup_AddToGroup(QGraphicsItemGroup* self, QGraphicsItem* item);
void QGraphicsItemGroup_RemoveFromGroup(QGraphicsItemGroup* self, QGraphicsItem* item);
QRectF* QGraphicsItemGroup_BoundingRect(QGraphicsItemGroup* self);
void QGraphicsItemGroup_Paint(QGraphicsItemGroup* self, QPainter* painter, QStyleOptionGraphicsItem* option);
bool QGraphicsItemGroup_IsObscuredBy(QGraphicsItemGroup* self, QGraphicsItem* item);
QPainterPath* QGraphicsItemGroup_OpaqueArea(QGraphicsItemGroup* self);
int QGraphicsItemGroup_Type(QGraphicsItemGroup* self);
void QGraphicsItemGroup_Paint3(QGraphicsItemGroup* self, QPainter* painter, QStyleOptionGraphicsItem* option, QWidget* widget);
void QGraphicsItemGroup_Delete(QGraphicsItemGroup* self);
#ifdef __cplusplus
} /* extern C */
#endif
#endif