#include <mythpainter.h>

Definition at line 15 of file mythpainter.h.
Public Member Functions | |
| MythPainter () | |
| virtual | ~MythPainter () |
| virtual QString | GetName (void)=0 |
| virtual bool | SupportsAnimation (void)=0 |
| virtual bool | SupportsAlpha (void)=0 |
| virtual bool | SupportsClipping (void)=0 |
| virtual void | Begin (QWidget *parent) |
| virtual void | End () |
| virtual void | SetClipRect (const QRect &clipRect) |
| QWidget * | GetParent (void) |
| virtual void | DrawImage (const QRect &dest, MythImage *im, const QRect &src, int alpha)=0 |
| void | DrawImage (int x, int y, MythImage *im, int alpha) |
| void | DrawImage (const QPoint &topLeft, MythImage *im, int alph) |
| virtual void | DrawText (const QRect &dest, const QString &msg, int flags, const MythFontProperties &font, int alpha)=0 |
| virtual MythImage * | GetFormatImage ()=0 |
| virtual void | DeleteFormatImage (MythImage *im)=0 |
Protected Attributes | |
| QWidget * | m_Parent |
| MythPainter::MythPainter | ( | ) | [inline] |
Definition at line 18 of file mythpainter.h.
| virtual MythPainter::~MythPainter | ( | ) | [inline, virtual] |
Definition at line 19 of file mythpainter.h.
| virtual QString MythPainter::GetName | ( | void | ) | [pure virtual] |
Implemented in MythOpenGLPainter, and MythQtPainter.
| virtual bool MythPainter::SupportsAnimation | ( | void | ) | [pure virtual] |
Implemented in MythOpenGLPainter, and MythQtPainter.
Referenced by MythScreenStack::MythScreenStack(), and MythUIText::ParseElement().
| virtual bool MythPainter::SupportsAlpha | ( | void | ) | [pure virtual] |
Implemented in MythOpenGLPainter, and MythQtPainter.
Referenced by MythScreenStack::MythScreenStack().
| virtual bool MythPainter::SupportsClipping | ( | void | ) | [pure virtual] |
| virtual void MythPainter::Begin | ( | QWidget * | parent | ) | [inline, virtual] |
Reimplemented in MythOpenGLPainter, and MythQtPainter.
Definition at line 26 of file mythpainter.h.
Referenced by MythQtPainter::Begin(), MythOpenGLPainter::Begin(), and MythMainWindow::drawTimeout().
| virtual void MythPainter::End | ( | void | ) | [inline, virtual] |
Reimplemented in MythOpenGLPainter, and MythQtPainter.
Definition at line 27 of file mythpainter.h.
Referenced by MythMainWindow::drawTimeout(), MythQtPainter::End(), and MythOpenGLPainter::End().
| void MythPainter::SetClipRect | ( | const QRect & | clipRect | ) | [virtual] |
Reimplemented in MythQtPainter.
Definition at line 6 of file mythpainter.cpp.
Referenced by MythMainWindow::drawTimeout().
| QWidget* MythPainter::GetParent | ( | void | ) | [inline] |
Definition at line 31 of file mythpainter.h.
| virtual void MythPainter::DrawImage | ( | const QRect & | dest, | |
| MythImage * | im, | |||
| const QRect & | src, | |||
| int | alpha | |||
| ) | [pure virtual] |
Implemented in MythOpenGLPainter, and MythQtPainter.
Referenced by DrawImage(), and MythUIImage::DrawSelf().
| void MythPainter::DrawImage | ( | int | x, | |
| int | y, | |||
| MythImage * | im, | |||
| int | alpha | |||
| ) |
Definition at line 10 of file mythpainter.cpp.
| void MythPainter::DrawImage | ( | const QPoint & | topLeft, | |
| MythImage * | im, | |||
| int | alph | |||
| ) |
Definition at line 18 of file mythpainter.cpp.
| virtual void MythPainter::DrawText | ( | const QRect & | dest, | |
| const QString & | msg, | |||
| int | flags, | |||
| const MythFontProperties & | font, | |||
| int | alpha | |||
| ) | [pure virtual] |
| virtual MythImage* MythPainter::GetFormatImage | ( | ) | [pure virtual] |
Implemented in MythOpenGLPainter, and MythQtPainter.
Referenced by MythImage::FromQImage(), MythImage::Gradient(), MythUIImage::Load(), and MythUIButton::LoadImage().
| virtual void MythPainter::DeleteFormatImage | ( | MythImage * | im | ) | [pure virtual] |
QWidget* MythPainter::m_Parent [protected] |
Definition at line 48 of file mythpainter.h.
Referenced by Begin(), MythOpenGLPainter::End(), End(), and GetParent().
1.5.5