libkdegames/libkdegamesprivate
KGameCanvasRenderedPixmap Class Reference
#include <KGameCanvas>
Inheritance diagram for KGameCanvasRenderedPixmap:
Public Member Functions | |
KGameCanvasRenderedPixmap (KGameRenderer *renderer, const QString &spriteKey, KGameCanvasAbstract *canvas=0) | |
Public Member Functions inherited from KGameCanvasPixmap | |
KGameCanvasPixmap (const QPixmap &pixmap, KGameCanvasAbstract *canvas=NULL) | |
KGameCanvasPixmap (KGameCanvasAbstract *canvas=NULL) | |
virtual | ~KGameCanvasPixmap () |
virtual bool | layered () const |
virtual void | paint (QPainter *p) |
QPixmap | pixmap () const |
virtual QRect | rect () const |
void | setPixmap (const QPixmap &pixmap) |
Public Member Functions inherited from KGameCanvasItem | |
KGameCanvasItem (KGameCanvasAbstract *canvas=NULL) | |
virtual | ~KGameCanvasItem () |
QPoint | absolutePosition () const |
virtual void | advance (int msecs) |
bool | animated () const |
KGameCanvasAbstract * | canvas () const |
virtual void | changed () |
void | hide () |
void | lower () |
void | moveTo (const QPoint &newpos) |
void | moveTo (int x, int y) |
int | opacity () const |
QPoint | pos () const |
void | putInCanvas (KGameCanvasAbstract *canvas) |
void | raise () |
void | setAnimated (bool a) |
void | setOpacity (int o) |
void | setVisible (bool v) |
void | show () |
void | stackOver (KGameCanvasItem *ref) |
void | stackUnder (KGameCanvasItem *ref) |
KGameCanvasWidget * | topLevelCanvas () const |
bool | visible () const |
Protected Member Functions | |
virtual void | receivePixmap (const QPixmap &pixmap) |
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 381 of file kgamecanvas.h.
Constructor & Destructor Documentation
KGameCanvasRenderedPixmap::KGameCanvasRenderedPixmap | ( | KGameRenderer * | renderer, |
const QString & | spriteKey, | ||
KGameCanvasAbstract * | canvas = 0 |
||
) |
Definition at line 698 of file kgamecanvas.cpp.
Member Function Documentation
|
protectedvirtual |
Definition at line 704 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-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:50 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:50 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.