Interface margins and axes bounds properties.
[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    * Create a render for this object
19    */
20   void createDrawer( sciPointObj * pObj ) ;
21
22   /**
23    * Delete the drawer of a graphic handle
24    */
25   void destroyHandleDrawer( sciPointObj * pObj ) ;
26
27   /**
28    * Draw a graphic handle.
29    * Should normally not be called directly. Observers should call it automatically.
30    */
31   void sciDrawObj( sciPointObj * pObj ) ;
32
33   /**
34    * Redraw an object and all its children.
35    * To be called on a figure to redraw a whole window
36    */
37   void redrawHierarchy( sciPointObj * pObj ) ;
38
39   /**
40    * Call display function on the children of an object
41    */
42   void displayChildren( sciPointObj * pObj ) ;
43
44 #ifdef __cplusplus
45 }
46 #endif
47
48 #endif /* _DRAWING_BRIDGE_H_  */