http://www.w3.org/TR/html4/loose.dtd">
|
StdGUI Picture Functions |
|
PICTURE *create_picture(void); void delete_picture(PICTURE *p_pict); int start_recording(GRAPHIC *p_graph, PICTURE *p_pict); int stop_recording(GRAPHIC *p_graph); |
|
The create_picture() function creates a new, empty picture structure. The delete_picture() function frees the memory for a picture that was allocated using the create_picture() function. The start_recording() function starts writing drawing operations on the graphic p_graph to the picture p_pict. The stop_recording() function ends the recording of operations on the graphic p_graph. |
|
The create_picture() operation returns a valid pointer to a picture structure on success, NULL on failure. The start_recording() and stop_recording() functions return zero (0) on success, non-zero on failure. |
|
Jeffrey Dutky |