67839613b5cfc9e9dc582aa35e9507ac691c764e
[scilab.git] / scilab / modules / renderer / includes / DrawingBridge.h
1 /*------------------------------------------------------------------------*/
2 /* file: DrawingBridge.h                                                  */
3 /* Copyright INRIA 2007                                                   */
4 /* Authors : Jean-Baptiste Silvy                                          */
5 /* desc : Functions to create and access a drawer of graphic handles      */
6 /*------------------------------------------------------------------------*/
7
8 #ifndef _DRAWING_BRIDGE_H_
9 #define _DRAWING_BRIDGE_H_
10
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14
15 #include "../../../graphics/includes/ObjectStructure.h"
16
17   /**
18    * Delete the drawer of a graphic handle
19    */
20   void destroyHandleDrawer( sciPointObj * pObj ) ;
21
22   /**
23    * Draw a graphic handle.
24    * Should normally not be called directly. Observers should call it automatically.
25    */
26   void sciDrawObj( sciPointObj * pObj ) ;
27
28   /**
29    * Redraw an object and all its children.
30    * To be called on a figure to redraw a whole window
31    */
32   void redrawHierarchy( sciPointObj * pObj ) ;
33
34   /**
35    * Call display function on the children of an object
36    */
37   void displayChildren( sciPointObj * pObj ) ;
38
39 #ifdef __cplusplus
40 }
41 #endif
42
43 #endif /* _DRAWING_BRIDGE_H_  */