35 void setScale(qreal scale);
37 QPointF hotspot()
const;
38 void setHotspot(
const QPointF &hotspot);
41 void setSize(
const QSizeF &size);
46 virtual std::optional<QSize> fixedSize()
const;
48 QRegion repaints()
const;
50 void addRepaint(
const QRegion ®ion);
51 bool needsRepaint()
const;
56 void setPosition(
const QPointF &position);
57 QPointF position()
const;
62 void setEnabled(
bool enable);
63 bool isEnabled()
const;
65 virtual std::optional<OutputLayerBeginFrameInfo>
beginFrame() = 0;
66 virtual bool endFrame(
const QRegion &renderedRegion,
const QRegion &damagedRegion) = 0;
85 bool m_enabled =
false;