3 #include <QPainterPath>
5 #include <score_lib_base_export.h>
10 class QGraphicsObject;
16 struct DocumentContext;
25 SCORE_LIB_BASE_EXPORT
void deleteGraphicsObject(QGraphicsObject* item);
26 SCORE_LIB_BASE_EXPORT
void deleteGraphicsItem(QGraphicsItem* item);
29 QGraphicsView* getView(
const QGraphicsItem&
self);
31 QGraphicsView* getView(
const QPainter& painter);
34 QImage newImage(
double logical_w,
double logical_h);
37 std::optional<QPointF> mapPointToItem(QPoint global, QGraphicsItem& item);
56 auto operator=(T* other) { impl = other; }
58 operator bool()
const {
return impl; }
60 operator T*()
const {
return impl; }
62 T& operator*()
const {
return *impl; }
64 T* operator->()
const {
return impl; }
Base toolkit upon which the software is built.
Definition: Application.cpp:90
Definition: GraphicsItem.hpp:41