65 while ((count != 6) && params)
75 else if ((values[2] < 0) || (values[3] < 0))
81 TRACE(TGRAPHICS,(
"gd=%p lcol=%x",graphic,lcol))
97 while ((count != 6) && params)
107 else if ((values[2] < 0) || (values[3] < 0))
113 TRACE(TGRAPHICS,(
"gd=%p lcol=%x fcol=%x",graphic,lcol,fcol))
115 values[0], values[1],
116 values[2], values[3],
117 values[4], values[5],
129 while ((count != 4) && params)
140 TRACE(TGRAPHICS,(
"gd=%p lcol=%x",graphic,lcol))
142 values[0], values[1],
143 values[2], values[3],
155 while ((count != 4) && params)
165 else if ((values[2] < 0) || (values[3] < 0))
171 TRACE(TGRAPHICS,(
"gd=%p lcol=%x fcol=%x",graphic,lcol,fcol))
173 values[0], values[1],
174 values[2], values[3],
185 params = params->
next;
188 params = params->
next;
199 params = params->
next;
202 TRACE(TGRAPHICS,(
"gd=%p lcol=%x fcol=%x",graphic,lcol,fcol))
211 params = params->
next;
214 params = params->
next;
225 params = params->
next;
228 TRACE(TGRAPHICS,(
"gd=%p lcol=%x",graphic,lcol))
238 while ((count != 4) && params)
249 TRACE(TGRAPHICS,(
"gd=%p lcol=%x fcol=%x",graphic,lcol,fcol))
251 values[0], values[1],
252 values[2], values[3],
253 lwidth, lcol, fcol );
309 while (*ppda != NULL)
311 ppda = &((*ppda)->next);
318 TRACE(TERROR,(
"err=%d",err))
331 DBGTRACE(TGRAPHICS,
"XXXXXXXXXX dl=%p",dynamicLineart)
341 dynamicLineart->
drawing = NULL;
357 DBGTRACE(TGRAPHICS,
"*********** dl=%p",dl)
383 MHEG5lineartPrint(&dynamicLineart->
lineart, out);
396 assert(dynamicLineart);
410 assert(dynamicLineart);
424 assert(dynamicLineart);
432 TRACE(TERROR,(
"Mem fail"))
507 DrawAgain( dynamicLineart );
537 ClearActionDraws(dynamicLineart);
538 if (dynamicLineart->
drawing != NULL)
541 dynamicLineart->
drawing = NULL;
979 ClearActionDraws(dl);
MHEG5Bool availabilityStatus
void MHEG5visibleActivate(MHEG5Visible *visible)
Apply the activation behaviour of the visible class. Apply the activation behaviour off the visible c...
void MHEG5dynamicLineartPrepare(MHEG5DynamicLineart *dynamicLineart)
Apply the preparation behaviour of the dynamiclineart class Apply the preparation behaviour of the dy...
Implement the MHEG5 Dynamiclineart Class Defines means to dynamically draw vectorial graphical object...
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.
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.
MHEG5Int originalLineWidth
Dynamic lineart for graphics layer.
MHEG5GList * MHEG5resolveGenericInteger(MHEG5GList *params, MHEG5Int *value)
void OSDclearDynamicLineart(void *data)
On screen display - clear dynamic line art.
MHEG5ErrorCode MHEG5clear(MHEG5Root *target, MHEG5GList *params)
Fills up the bounding box with the OriginalRefFillColour. Implementation of the Clear action of the d...
void OSDfreeDynamicLineart(void *data)
On screen display - free resources dla.
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.
MHEG5ErrorCode MHEG5drawOval(MHEG5Root *target, MHEG5GList *params)
Draws an ellipse bounded by the rectangle defined by the parameters. Implementation of the DrawOval a...
union MHEG5Generic::@6 value
void MHEG5dynamicLineartDestruct(MHEG5DynamicLineart *dynamicLineart)
Destruct a dynamiclineart object.
OSDColor MHEG5displayColour(MHEG5Colour *colour)
Convert Generic Colour value to OSD specific value. If the generic colour is encoded as a string it i...
void MHEG5dynamicLineartActivate(MHEG5DynamicLineart *dynamicLineart)
Apply the activation behaviour of the dynamiclineart class.
MHEG5String MHEG5stringCopy(MHEG5String source)
<Function description>="">
Implement the MHEG5 Variable Class 21 Variable Class Defines a variable within the context of a Group...
void MHEG5stringDestruct(MHEG5String *item)
Destruct a MHEG5String.
void MHEG5freeDynamicLineart(MHEG5DynamicLineart *dynamicLineart)
Create the canvas for a dynamic lineart object.
MHEG5ErrorCode MHEG5drawSector(MHEG5Root *target, MHEG5GList *params)
Draws a sector between "StartAngle" and "StartAngle" + "ArcAngle". Implementation of the DrawSector a...
void OSDdrawPolygon(void *data, int lineWidth, OSDColor lineColour, OSDColor fillColour, int filled)
Add a draw polygon instruction to the action list.
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.
void OSDdrawPolygonAdd(void *data, int x, int y)
Add co-ordinates that describe a polygon to draw to the action list.
Manage elementary actions Manage a table of all actions and call a specific action which is defined b...
void MHEG5lineartFree(MHEG5Lineart *lineart)
Free off all memory associated with the specified object, including any exchanged attributes and inte...
#define MHEG5displayRedraw(v)
MHEG5ErrorCode MHEG5drawPolyline(MHEG5Root *target, MHEG5GList *params)
Draws series of joint lines. Implementation of the DrawPolyline action of the dynamiclineart class...
void MHEG5dynamicLineartFree(MHEG5DynamicLineart *dynamicLineart)
Free off all memory associated with the specified object, including any exchanged attributes and inte...
MHEG5ErrorCode MHEG5drawArc(MHEG5Root *target, MHEG5GList *params)
Draws an arc between "StartAngle" and "StartAngle" + "ArcAngle". Implementation of the DrawArc action...
struct sMHEG5DrawAction MHEG5DrawAction
MHEG5Bool borderedBoundingBox
MHEG5ErrorCode MHEG5getLineColour(MHEG5Root *target, MHEG5GList *params)
Retrieve the current LineColour of the DynamicLineart Object Implementation of the GetLineColour acti...
void MHEG5dynamicLineartDeactivate(MHEG5DynamicLineart *dynamicLineart)
Apply the deactivation behaviour of the dynamiclineart class.
MHEG5ErrorCode MHEG5drawPolygon(MHEG5Root *target, MHEG5GList *params)
Draw a closed polygon. Implementation of the DrawPolygon action of the dynamiclineart class...
MHEG5String OSDsetColour(OSDColor colour)
Converts an OSDColor type into an MHEG5 colour value For UK1 profile only RGBTCOLOR is defined...
void MHEG5dynamicLineartInit(MHEG5DynamicLineart *dynamicLineart)
Initialise a dynamicLineart object with default values.
MHEG5ErrorCode MHEG5getLineStyle(MHEG5Root *target, MHEG5GList *params)
Retrieve the current Line Style of the DynamicLineArt object Implementation of the GetLineStyle actio...
Implement functions to retrieve MHEG5objects by GroupID and ID.
Mheg5 logging and debug printing.
MHEG5Colour refFillColour
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.
MHEG5Colour refLineColour
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.
void MHEG5lineartDeactivate(MHEG5Lineart *lineart)
MHEG5Ingredient ingredient
void MHEG5lineartDestruct(MHEG5Lineart *lineart)
Definition of colour type for MHEG5 - settings and conversions.
MHEG5ErrorCode MHEG5getLineWidth(MHEG5Root *target, MHEG5GList *params)
Retrieve the current Line Width of the DynamicLineart object Implementation of the GetLineWidth actio...
void OSDdrawPolygonStart(void *data)
Initialise a new draw polygon to add to the action list.
MHEG5GList * MHEG5resolveORef(MHEG5GList *params, MHEG5Root **object)
void MHEG5lineartPrepare(MHEG5Lineart *lineart)
Implement generic MHEG5-display functions - independent from the OSD These are generic functions used...
void MHEG5lineartInit(MHEG5Lineart *lineart)
Initialise a lineart object with default values.
void MHEG5initDynamicLineart(MHEG5DynamicLineart *dynamicLineart)
Create the canvas for a dynamic lineart object.
struct sMHEG5GList * next
MHEG5ErrorCode MHEG5drawLine(MHEG5Root *target, MHEG5GList *params)
Draws a line between ("X1", "Y1") and ("X2", "Y2"). Implementation of the DrawLine action of the dyna...
MHEG5ErrorCode MHEG5getFillColour(MHEG5Root *target, MHEG5GList *params)
Retrieve the current FillColour of the Dynamic Lineart object. Implementation of the GetFillColour ac...
MHEG5ErrorCode MHEG5drawRectangle(MHEG5Root *target, MHEG5GList *params)
Draws a rectangle. Implementation of the DrawRectangle action of the dynamiclineart class...