|
MythTV
0.26-pre
|
#include <mythpainter_qimage.h>
Public Member Functions | |
| MythQImagePainter () | |
| ~MythQImagePainter () | |
| virtual QString | GetName (void) |
| virtual bool | SupportsAnimation (void) |
| virtual bool | SupportsAlpha (void) |
| virtual bool | SupportsClipping (void) |
| virtual void | Begin (QPaintDevice *parent) |
| virtual void | End () |
| virtual void | SetClipRect (const QRect &clipRect) |
| virtual void | SetClipRegion (const QRegion ®ion) |
| virtual void | Clear (QPaintDevice *device, const QRegion ®ion) |
| virtual void | DrawImage (const QRect &dest, MythImage *im, const QRect &src, int alpha) |
| virtual void | DrawText (const QRect &dest, const QString &msg, int flags, const MythFontProperties &font, int alpha, const QRect &boundRect) |
| virtual void | DrawRect (const QRect &area, const QBrush &fillBrush, const QPen &linePen, int alpha) |
| virtual void | DrawRoundRect (const QRect &area, int cornerRadius, const QBrush &fillBrush, const QPen &linePen, int alpha) |
| virtual void | DrawEllipse (const QRect &area, const QBrush &fillBrush, const QPen &linePen, int alpha) |
Protected Member Functions | |
| virtual MythImage * | GetFormatImagePriv (void) |
| virtual void | DeleteFormatImagePriv (MythImage *im) |
| void | CheckPaintMode (const QRect &area) |
Protected Attributes | |
| QPainter * | painter |
| QRegion | clipRegion |
| QRegion | paintedRegion |
| bool | copy |
Definition at line 17 of file mythpainter_qimage.h.
Definition at line 13 of file mythpainter_qimage.cpp.
Definition at line 18 of file mythpainter_qimage.cpp.
| virtual QString MythQImagePainter::GetName | ( | void | ) | [inline, virtual] |
Implements MythPainter.
Reimplemented in MythYUVAPainter.
Definition at line 23 of file mythpainter_qimage.h.
| virtual bool MythQImagePainter::SupportsAnimation | ( | void | ) | [inline, virtual] |
Implements MythPainter.
Definition at line 24 of file mythpainter_qimage.h.
| virtual bool MythQImagePainter::SupportsAlpha | ( | void | ) | [inline, virtual] |
Implements MythPainter.
Definition at line 25 of file mythpainter_qimage.h.
| virtual bool MythQImagePainter::SupportsClipping | ( | void | ) | [inline, virtual] |
Implements MythPainter.
Definition at line 26 of file mythpainter_qimage.h.
| void MythQImagePainter::Begin | ( | QPaintDevice * | parent | ) | [virtual] |
Reimplemented from MythPainter.
Definition at line 23 of file mythpainter_qimage.cpp.
| void MythQImagePainter::End | ( | void | ) | [virtual] |
Reimplemented from MythPainter.
Definition at line 71 of file mythpainter_qimage.cpp.
| void MythQImagePainter::SetClipRect | ( | const QRect & | clipRect | ) | [virtual] |
Reimplemented from MythPainter.
Definition at line 82 of file mythpainter_qimage.cpp.
Referenced by Begin().
| void MythQImagePainter::SetClipRegion | ( | const QRegion & | region | ) | [virtual] |
Reimplemented from MythPainter.
Definition at line 100 of file mythpainter_qimage.cpp.
| void MythQImagePainter::Clear | ( | QPaintDevice * | device, |
| const QRegion & | region | ||
| ) | [virtual] |
Reimplemented from MythPainter.
Definition at line 115 of file mythpainter_qimage.cpp.
Referenced by VideoOutput::DisplayOSD().
| void MythQImagePainter::DrawImage | ( | const QRect & | dest, |
| MythImage * | im, | ||
| const QRect & | src, | ||
| int | alpha | ||
| ) | [virtual] |
Implements MythPainter.
Reimplemented in MythYUVAPainter.
Definition at line 142 of file mythpainter_qimage.cpp.
| void MythQImagePainter::DrawText | ( | const QRect & | dest, |
| const QString & | msg, | ||
| int | flags, | ||
| const MythFontProperties & | font, | ||
| int | alpha, | ||
| const QRect & | boundRect | ||
| ) | [virtual] |
Reimplemented from MythPainter.
Reimplemented in MythYUVAPainter.
Definition at line 160 of file mythpainter_qimage.cpp.
| void MythQImagePainter::DrawRect | ( | const QRect & | area, |
| const QBrush & | fillBrush, | ||
| const QPen & | linePen, | ||
| int | alpha | ||
| ) | [virtual] |
Reimplemented from MythPainter.
Reimplemented in MythYUVAPainter.
Definition at line 167 of file mythpainter_qimage.cpp.
| void MythQImagePainter::DrawRoundRect | ( | const QRect & | area, |
| int | cornerRadius, | ||
| const QBrush & | fillBrush, | ||
| const QPen & | linePen, | ||
| int | alpha | ||
| ) | [virtual] |
Reimplemented from MythPainter.
Reimplemented in MythYUVAPainter.
Definition at line 173 of file mythpainter_qimage.cpp.
| void MythQImagePainter::DrawEllipse | ( | const QRect & | area, |
| const QBrush & | fillBrush, | ||
| const QPen & | linePen, | ||
| int | alpha | ||
| ) | [virtual] |
Reimplemented from MythPainter.
Reimplemented in MythYUVAPainter.
Definition at line 180 of file mythpainter_qimage.cpp.
| virtual MythImage* MythQImagePainter::GetFormatImagePriv | ( | void | ) | [inline, protected, virtual] |
Implements MythPainter.
Definition at line 49 of file mythpainter_qimage.h.
| virtual void MythQImagePainter::DeleteFormatImagePriv | ( | MythImage * | im | ) | [inline, protected, virtual] |
Implements MythPainter.
Definition at line 50 of file mythpainter_qimage.h.
| void MythQImagePainter::CheckPaintMode | ( | const QRect & | area | ) | [protected] |
Definition at line 41 of file mythpainter_qimage.cpp.
Referenced by DrawImage().
QPainter* MythQImagePainter::painter [protected] |
Definition at line 54 of file mythpainter_qimage.h.
Referenced by Begin(), CheckPaintMode(), DrawImage(), End(), SetClipRect(), and SetClipRegion().
QRegion MythQImagePainter::clipRegion [protected] |
Definition at line 55 of file mythpainter_qimage.h.
Referenced by Begin(), SetClipRect(), and SetClipRegion().
QRegion MythQImagePainter::paintedRegion [protected] |
Definition at line 56 of file mythpainter_qimage.h.
Referenced by Begin(), and CheckPaintMode().
bool MythQImagePainter::copy [protected] |
Definition at line 57 of file mythpainter_qimage.h.
Referenced by Begin(), and CheckPaintMode().
1.7.6.1