libkdegames
kgamerenderedobjectitem.h
Go to the documentation of this file.
60 class KDEGAMES_EXPORT KGameRenderedObjectItem : public QGraphicsObject, public KGameRendererClient
67 KGameRenderedObjectItem(KGameRenderer* renderer, const QString& spriteKey, QGraphicsItem* parent = 0);
103 virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0);
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)=0
A QGraphicsObject which displays pixmaps from a KGameRenderer.
Definition: kgamerenderedobjectitem.h:60
virtual QPainterPath opaqueArea() const
virtual void receivePixmap(const QPixmap &pixmap)=0
This method is called when the KGameRenderer has provided a new pixmap for this client (esp...
An object that receives pixmaps from a KGameRenderer.
Definition: kgamerendererclient.h:50
virtual bool isObscuredBy(const QGraphicsItem *item) const
virtual QRectF boundingRect() const =0
virtual QPainterPath shape() const
virtual bool contains(const QPointF &point) const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:42 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:42 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.