MHEG  17.9.0
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Pages
mg_dla.h
Go to the documentation of this file.
1 /*******************************************************************************
2  * Copyright © 2014 The DTVKit Open Software Foundation Ltd (www.dtvkit.org)
3  * Copyright © 2010 Ocean Blue Software Ltd
4  *
5  * This file is part of a DTVKit Software Component
6  * You are permitted to copy, modify or distribute this file subject to the terms
7  * of the DTVKit 1.0 Licence which can be found in licence.txt or at www.dtvkit.org
8  *
9  * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
10  * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
11  * OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
12  *
13  * If you or your organisation is not a member of DTVKit then you have access
14  * to this source code outside of the terms of the licence agreement
15  * and you are expected to delete this and any associated files immediately.
16  * Further information on DTVKit, membership and terms can be found at www.dtvkit.org
17  *******************************************************************************/
25 #ifndef _MG_DLA_H
26 #define _MG_DLA_H
27 
28 #include "techtype.h"
29 
43 void OSDdrawArc( void *data,
44  int x,
45  int y,
46  int w,
47  int h,
48  int startAngle,
49  int arcAngle,
50  int lineWidth,
51  OSDColor lineColour);
52 
65 void OSDdrawEllipse(void *data,
66  int x,
67  int y,
68  int w,
69  int h,
70  int lineWidth,
71  OSDColor lineColour,
72  OSDColor fillColour);
73 
88 void OSDdrawSector(void *data,
89  int x,
90  int y,
91  int w,
92  int h,
93  int startAngle,
94  int arcAngle,
95  int lineWidth,
96  OSDColor lineColour,
97  OSDColor fillColour);
98 
110 void OSDdrawDrawLine(void *data,
111  int x1,
112  int y1,
113  int x2,
114  int y2,
115  int lineWidth,
116  OSDColor lineColour);
117 
123 void OSDdrawPolygonStart(void *data);
124 
132 void OSDdrawPolygonAdd(void *data,
133  int x,
134  int y);
135 
144 void OSDdrawPolygon(void *data,
145  int lineWidth,
146  OSDColor lineColour,
147  OSDColor fillColour,
148  int filled);
149 
162 void OSDdrawRectangle(void *data,
163  int x1,
164  int y1,
165  int x2,
166  int y2,
167  int lineWidth,
168  OSDColor lineColour,
169  OSDColor fillColour);
170 
171 
184 void* OSDinitDynamicLineart(int x,
185  int y,
186  int w,
187  int h,
188  int lineWidth,
189  int bordered,
190  OSDColor lineColour,
191  OSDColor fillColour);
192 
198 void OSDclearDynamicLineart(void *data);
199 
205 void OSDfreeDynamicLineart(void *data);
206 
207 #endif /*_MG_DLA_H*/
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.
Definition: mg_dla.c:311
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.
Definition: mg_dla.c:662
void OSDclearDynamicLineart(void *data)
On screen display - clear dynamic line art.
Definition: mg_dla.c:183
void OSDfreeDynamicLineart(void *data)
On screen display - free resources dla.
Definition: mg_dla.c:452
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.
Definition: mg_dla.c:499
void OSDdrawPolygon(void *data, int lineWidth, OSDColor lineColour, OSDColor fillColour, int filled)
Add a draw polygon instruction to the action list.
Definition: mg_dla.c:871
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.
Definition: mg_dla.c:974
void OSDdrawPolygonAdd(void *data, int x, int y)
Add co-ordinates that describe a polygon to draw to the action list.
Definition: mg_dla.c:832
System Wide Global Technical Data Type Definitions.
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.
Definition: mg_dla.c:741
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.
Definition: mg_dla.c:579
void OSDdrawPolygonStart(void *data)
Initialise a new draw polygon to add to the action list.
Definition: mg_dla.c:808