![]() |
MHEG5
22.3.0
|
Go to the source code of this file.
Macros | |
#define | MG_OSDUpdate STB_OSDMhegUpdate |
Functions | |
void | MG_DrawPng (void *data, int len, MHEG5Visible *visible) |
void | MG_DrawJpg (void *data, int len, MHEG5Visible *visible) |
void | MG_FreeData (void *data) |
free surface buffer More... | |
void | MG_OSDdisplayBitmap (MHEG5Visible *visible, S_REGION *overlap) |
void | MG_OSDdisplayImage (void *data, S_REGION *overlap, int x, int y) |
void | MG_OSDdisplayDynamicLineart (void *data, S_REGION *overlap, int x, int y) |
Display dynamic lineart. More... | |
void | MG_OSDdisplayRectangle (S_REGION *overlap, int x, int y, int width, int height, int lineWidth, OSDColor lineColour, OSDColor fillColour) |
Draw rectangle. More... | |
void | MG_OSDdisplayVideo (S_REGION rgn) |
Display video window. More... | |
void | MG_OSDerase (S_REGION rgn, OSDColor colour) |
Erase an area of the OSD to the desktop colour. More... | |
void | MG_OSDclear (void) |
Clear the screen, making it the specified colour. More... | |
void | MG_OSDstartTextOutput (S_REGION *overlap, int boxX1, int boxY1, int boxWidth, int boxHeight, OSDColor backColour, int psize) |
Start text output. More... | |
void | OSDsetTextColour (OSDColor foreColour) |
Set the foreground colour of text. More... | |
void | OSDdisplayChar (unsigned short c, int x, int y) |
Display the character. More... | |
void | OSDendTextOutput (void) |
End text output externals platform dependent. More... | |
int | OSDgetCharWidth (unsigned short c) |
Return the width of a character in font metrics units See UK MHEG5 profile 1.05 Section 5.5.3 for details of theory. More... | |
void MG_FreeData | ( | void * | data | ) |
void MG_OSDclear | ( | void | ) |
Clear the screen, making it the specified colour.
Clear the screen, making it the specified colour.
void MG_OSDdisplayDynamicLineart | ( | void * | data, |
S_REGION * | overlap, | ||
int | x, | ||
int | y | ||
) |
void MG_OSDdisplayRectangle | ( | S_REGION * | overlap, |
int | x, | ||
int | y, | ||
int | width, | ||
int | height, | ||
int | line_width, | ||
OSDColor | lineColour, | ||
OSDColor | fillColour | ||
) |
Draw rectangle.
int | x Box X position on screen (unused by dvp) int y Box Y position on screen (unused by dvp) int width Box width on screen (unused by dvp) int height Box width on screen (unused by dvp) int lineWidth Line width int lineStyle Line style OSDColor lineColour Line colour OSDColor fillColour Rectangle fill colour |
void MG_OSDdisplayVideo | ( | S_REGION | rgn | ) |
Display video window.
int | boxX1 X position on screen int boxY1 Y position on screen int boxWidth Window width int boxHeight Window height |
void MG_OSDerase | ( | S_REGION | rgn, |
OSDColor | colour | ||
) |
Erase an area of the OSD to the desktop colour.
rgn | area to be erased |
colour | colour to be set |
Erase an area of the OSD to the desktop colour.
rgn | Region to erase |
colour | Desktop colour |
void MG_OSDstartTextOutput | ( | S_REGION * | overlap, |
int | boxX1, | ||
int | boxY1, | ||
int | boxWidth, | ||
int | boxHeight, | ||
OSDColor | backColour, | ||
int | psize | ||
) |
Start text output.
boxX1 | Top left x-co-ord of text box |
boxY1 | Top left y-co-ord of text box |
boxWidth | Width of the text box |
boxHeight | Height of the text box |
backColour | Colour of the background of the text box |
psize | Point size of the font |
void OSDdisplayChar | ( | unsigned short | c, |
int | x, | ||
int | y | ||
) |
Display the character.
c | 2nd unicode character |
x | x origin |
y | y origin |
void OSDendTextOutput | ( | void | ) |
End text output externals platform dependent.
int OSDgetCharWidth | ( | unsigned short | c | ) |
Return the width of a character in font metrics units See UK MHEG5 profile 1.05 Section 5.5.3 for details of theory.
c | unicode character for which metrics are to be found |
void OSDsetTextColour | ( | OSDColor | foreColour | ) |
Set the foreground colour of text.
foreColour | Colour of the text |