Object for drawing bitmaps.
More...
#include <libmythtv/mheg/mhi.h>
Object for drawing bitmaps.
Definition at line 267 of file mhi.h.
◆ MHIBitmap() [1/2]
◆ ~MHIBitmap()
MHIBitmap::~MHIBitmap |
( |
| ) |
|
|
override |
◆ MHIBitmap() [2/2]
◆ operator=()
◆ CreateFromPNG()
void MHIBitmap::CreateFromPNG |
( |
const unsigned char * |
data, |
|
|
int |
length |
|
) |
| |
|
overridevirtual |
◆ CreateFromMPEG()
void MHIBitmap::CreateFromMPEG |
( |
const unsigned char * |
data, |
|
|
int |
length |
|
) |
| |
|
overridevirtual |
◆ CreateFromJPEG()
void MHIBitmap::CreateFromJPEG |
( |
const unsigned char * |
data, |
|
|
int |
length |
|
) |
| |
|
overridevirtual |
◆ Draw()
void MHIBitmap::Draw |
( |
int |
x, |
|
|
int |
y, |
|
|
QRect |
rect, |
|
|
bool |
tiled, |
|
|
bool |
bUnder |
|
) |
| |
|
overridevirtual |
Draw the completed drawing onto the display.
- Parameters
-
x | Horizontal position of the image relative to the screen. |
y | Vertical position of the image relative to the screen. |
rect | Bounding box for the image relative to the screen. |
tiled | Tile the drawing to fit the parent window. |
bUnder | Put the drawing at the behind any other widgets. |
Implements MHBitmapDisplay.
Definition at line 1802 of file mhi.cpp.
◆ ScaleImage()
void MHIBitmap::ScaleImage |
( |
int |
newWidth, |
|
|
int |
newHeight |
|
) |
| |
|
overridevirtual |
Scale the bitmap. Only used for image derived from MPEG I-frames.
Implements MHBitmapDisplay.
Definition at line 1967 of file mhi.cpp.
◆ GetSize()
QSize MHIBitmap::GetSize |
( |
void |
| ) |
|
|
inlineoverridevirtual |
◆ IsOpaque()
bool MHIBitmap::IsOpaque |
( |
void |
| ) |
|
|
inlineoverridevirtual |
◆ m_parent
◆ m_tiled
◆ m_image
QImage MHIBitmap::m_image |
◆ m_opaque
◆ m_copyCtx
The documentation for this class was generated from the following files:
- mythtv/libs/libmythtv/mheg/mhi.h
- mythtv/libs/libmythtv/mheg/mhi.cpp