KGameCanvasRenderedPixmap
KGameCanvasRenderedPixmap Class Reference
#include <KGameCanvas>
Inheritance diagram for KGameCanvasRenderedPixmap:

Protected Member Functions | |
void | receivePixmap (const QPixmap &pixmap) override |
Detailed Description
A sprite pixmap from KGameRenderer.
This canvas item behaves like KGameCanvasPixmap, but the pixmaps are served from a KGameRenderer. This class exists solely for the purpose of porting existing applications to KGameRenderer.
- Deprecated:
- For new applications, use Qt's Graphics View framework or Qt Quick.
Definition at line 403 of file kgamecanvas.h.
Member Function Documentation
◆ receivePixmap()
|
overrideprotectedvirtual |
This method is called when the KGameRenderer has provided a new pixmap for this client (esp.
after theme changes and after calls to setFrame(), setRenderSize() and setSpriteKey()).
Implements KGameRendererClient.
Definition at line 717 of file kgamecanvas.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Sep 26 2023 03:47:36 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Sep 26 2023 03:47:36 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.