|
MHEG5 1.0
DTVKit MHEG5 1.0 API Documentation
|
Dynamic lineart for graphics layer. More...
#include "techtype.h"Go to the source code of this file.
Functions | |
| void | OSDdrawArc (void *data, int x, int y, int w, int h, int startAngle, int arcAngle, int lineWidth, OSDColor lineColour) |
| Add a draw arc action to the action list. More... | |
| void | OSDdrawEllipse (void *data, int x, int y, int w, int h, int lineWidth, OSDColor lineColour, OSDColor fillColour) |
| Add a draw ellipse action to the action list. More... | |
| void | OSDdrawSector (void *data, int x, int y, int w, int h, int startAngle, int arcAngle, int lineWidth, OSDColor lineColour, OSDColor fillColour) |
| Add a draw sector action to the action list. More... | |
| void | OSDdrawDrawLine (void *data, int x1, int y1, int x2, int y2, int lineWidth, OSDColor lineColour) |
| Add a draw line action to the action list. More... | |
| void | OSDdrawPolygonStart (void *data) |
| Initialise a new draw polygon to add to the action list. More... | |
| void | OSDdrawPolygonAdd (void *data, int x, int y) |
| Add co-ordinates that describe a polygon to draw to the action list. More... | |
| void | OSDdrawPolygon (void *data, int lineWidth, OSDColor lineColour, OSDColor fillColour, int filled) |
| Add a draw polygon instruction to the action list. More... | |
| void | OSDdrawRectangle (void *data, int x1, int y1, int x2, int y2, int lineWidth, OSDColor lineColour, OSDColor fillColour) |
| Add a draw rectangle action to the action list. More... | |
| void * | OSDinitDynamicLineart (int x, int y, int w, int h, int lineWidth, int bordered, OSDColor lineColour, OSDColor fillColour) |
| On screen display - initialise dynamic line art. More... | |
| void | OSDclearDynamicLineart (void *data) |
| On screen display - clear dynamic line art. More... | |
| void | OSDfreeDynamicLineart (void *data) |
| On screen display - free resources dla. More... | |
Dynamic lineart for graphics layer.
| void OSDclearDynamicLineart | ( | void * | data | ) |
On screen display - clear dynamic line art.
| data | Action list to be cleared |
| void | * data Dynamic line-art object. |
| void OSDdrawArc | ( | void * | data, |
| int | x, | ||
| int | y, | ||
| int | w, | ||
| int | h, | ||
| int | start_angle, | ||
| int | arc_angle, | ||
| int | line_width, | ||
| OSDColor | line_colour | ||
| ) |
Add a draw arc action to the action list.
| data | Action list |
| x | Top left x-coord of object |
| y | Top left y-co-ord of object |
| w | Width of object |
| h | Height of object |
| startAngle | The initial angle of the elipse |
| arcAngle | The extent of the arc |
| lineWidth | Width of the line used to draw the arc |
| lineColour | The line drawing colour |
| void | * data Action list int x Top left x-coord of object int y Top left y-coord of object int w Width of object int h Height of object int start_angle The initial angle of the ellipse int arc_angle The extent of the arc int line_width Width of the line used to draw the arc OSDColor line_colour The line drawing colour |
| void OSDdrawDrawLine | ( | void * | data, |
| int | x1, | ||
| int | y1, | ||
| int | x2, | ||
| int | y2, | ||
| int | line_width, | ||
| OSDColor | line_colour | ||
| ) |
Add a draw line action to the action list.
| data | Action list to be added to. |
| x1 | 1st pixel x co-ord |
| y1 | 1st pixel y co-ord |
| x2 | 2nd pixel x co-ord |
| y2 | 2nd pixel y co-ord |
| lineWidth | Width of the line used to draw the arc |
| lineColour | The line drawing colour |
Add a draw line action to the action list.
| void | * data Pointer to action list x1 int Line start x position y1 int Line start y position x2 int Line end x position y2 int Line end y position line_width int Line pixel width line_colour OSDColour Line colour |
| void OSDdrawEllipse | ( | void * | data, |
| int | x, | ||
| int | y, | ||
| int | w, | ||
| int | h, | ||
| int | line_width, | ||
| OSDColor | line_colour, | ||
| OSDColor | fill_colour | ||
| ) |
Add a draw ellipse action to the action list.
| data | Action list to be added to. |
| x | Top left x-coord of object |
| y | Top left y-co-ord of object |
| w | Width of object |
| h | Height of object |
| lineWidth | Width of the line used to draw the arc |
| lineColour | The line drawing colour |
| fillColour | The fill colour of the ellipse |
| void | * data Action list to be added to int x Top left x-coord of object int y Top left y-coord of object int w Width of object int h Height of object int line_width Width of the line used to draw the arc OSDColor line_colour The line drawing colour OSDColor fill_colour The fill colour of the ellipse |
| void OSDdrawPolygon | ( | void * | data, |
| int | line_width, | ||
| OSDColor | line_colour, | ||
| OSDColor | fill_colour, | ||
| int | filled | ||
| ) |
Add a draw polygon instruction to the action list.
| data | Action list to be added to. |
| lineWidth | Width of the draw line |
| lineColour | The line drawing colour |
| fillColour | The fill colour of the polygon |
| void | * data Action list to be added to int line_width Width of the draw line OSDColor line_colour Colour of the line OSDColor fill_colour Polygon fill colour int filled Fill polygon |
| void OSDdrawPolygonAdd | ( | void * | data, |
| int | x, | ||
| int | y | ||
| ) |
Add co-ordinates that describe a polygon to draw to the action list.
| data | Action list to be added to. |
| x | Top left x-co-ord of object |
| y | Top left y-co-ord of object |
| void | * data Pointer to action list int x Top left x co-ord of object int y Top left y co-ord of object |
| void OSDdrawPolygonStart | ( | void * | data | ) |
Initialise a new draw polygon to add to the action list.
| data | Action list to be added to. |
| void | * data Pointer to action list |
| void OSDdrawRectangle | ( | void * | data, |
| int | x1, | ||
| int | y1, | ||
| int | x2, | ||
| int | y2, | ||
| int | line_width, | ||
| OSDColor | line_colour, | ||
| OSDColor | fill_colour | ||
| ) |
Add a draw rectangle action to the action list.
| data | Action list to be added to. |
| x1 | 1st pixel x co-ord |
| y1 | 1st pixel y co-ord |
| x2 | 2nd pixel x co-ord |
| y2 | 2nd pixel y co-ord |
| lineWidth | Width of the line used to draw the arc |
| lineColour | The line drawing colour |
| fillColour | The fill colour of the ellipse |
| void | * data Action list to be added to int x1 1st pixel x co-ord int y1 1st pixel y co-ord int x2 2nd pixel x co-ord int y2 2nd pixel y co-ord int line_width Width of the line used to draw the arc int line_colour The line drawing colour int fill_colour The fill colour of the ellipse |
| void OSDdrawSector | ( | void * | data, |
| int | x, | ||
| int | y, | ||
| int | w, | ||
| int | h, | ||
| int | start_angle, | ||
| int | arc_angle, | ||
| int | line_width, | ||
| OSDColor | line_colour, | ||
| OSDColor | fill_colour | ||
| ) |
Add a draw sector action to the action list.
| data | Action list to be added to. |
| x | Top left x-coord of object |
| y | Top left y-co-ord of object |
| w | Width of object |
| h | Height of object |
| startAngle | The initial angle of the elipse |
| arcAngle | The extent of the arc |
| lineWidth | Width of the line used to draw the arc |
| lineColour | The line drawing colour |
| fillColour | The fill colour of the ellipse |
| void | * data Action list to be added to. int x Top left x-coord of object. int y Top left y-coord of object. int w Width of object. int h Height of object. int start_angle The initial angle of the ellipse int arc_angle The extent of the arc int line_width Width of the line used to draw the arc OSDColor line_colour The line drawing colour OSDColor fill_colour The fill colour of the ellipse |
| void OSDfreeDynamicLineart | ( | void * | data | ) |
On screen display - free resources dla.
| data | Action list resource to be freed |
| void | * data Dynamic line-art object. |
| void* OSDinitDynamicLineart | ( | int | x, |
| int | y, | ||
| int | w, | ||
| int | h, | ||
| int | line_width, | ||
| int | bordered, | ||
| OSDColor | line_colour, | ||
| OSDColor | fill_colour | ||
| ) |
On screen display - initialise dynamic line art.
| x | Top left x-coord of object |
| y | Top left y-co-ord of object |
| w | Width of object |
| h | Height of object |
| lineWidth | Width of the line used to draw the arc |
| bordered | A boolean, cuningly disguised as an int. |
| lineColour | The line drawing colour |
| fillColour | The fill colour of the ellipse |
| int | w Width of object int h Height of object int line_width Width of the line used to draw the arc int bordered A boolean, cuningly disguised as an int. OSDColor line_colour The line drawing colour OSDColor fill_colour The fill colour of the ellipse |