KDEGames
kgamerendereditem.cpp
14 KGameRenderedItem::KGameRenderedItem(KGameRenderer *renderer, const QString &spriteKey, QGraphicsItem *parent)
DeviceCoordinateCache
void setPixmap(const QPixmap &pixmap)
void receivePixmap(const QPixmap &pixmap) override
This method is called when the KGameRenderer has provided a new pixmap for this client (esp.
Definition: kgamerendereditem.cpp:24
QPixmap pixmap() const const
An object that receives pixmaps from a KGameRenderer.
Definition: kgamerendererclient.h:41
void setCacheMode(QGraphicsItem::CacheMode mode, const QSize &logicalCacheSize)
KGameRenderedItem(KGameRenderer *renderer, const QString &spriteKey, QGraphicsItem *parent=nullptr)
Creates a new KGameRenderedItem which renders the sprite with the given spriteKey as provided by the ...
Definition: kgamerendereditem.cpp:14
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Dec 10 2023 04:06:52 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Dec 10 2023 04:06:52 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.