KDEGames
kgamerendereditem.cpp
14KGameRenderedItem::KGameRenderedItem(KGameRenderer *renderer, const QString &spriteKey, QGraphicsItem *parent)
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
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
KGameRendererClient(KGameRenderer *renderer, const QString &spriteKey)
Creates a new client which receives pixmaps for the sprite with the given spriteKey as provided by th...
Definition kgamerendererclient.cpp:22
DeviceCoordinateCache
QGraphicsItem(QGraphicsItem *parent)
void setCacheMode(CacheMode mode, const QSize &logicalCacheSize)
QGraphicsPixmapItem(QGraphicsItem *parent)
QPixmap pixmap() const const
void setPixmap(const QPixmap &pixmap)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:50:36 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:50:36 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.