C
WORD RdiaDraw( void * pObj );
Overview
This function renders the object on the screen using the current parameter settings. Location of the object is determined by the center (x,y) postion and the radius parameters. The colors used are dependent on the state of the object.
When rendering objects of the same type, each object must be rendered completely before the rendering of the next object is started. This is to avoid incomplete object rendering.
Input Parameters
Input Parameters |
Description |
pDia |
Pointer to the object |
Returns
Returns the status of the drawing
- 1 - If the rendering was completed and
- 0 - If the rendering is not yet finished.
Preconditions
Object must be created before this function is called.
Side Effects
none