CloneObjects.h

Go to the documentation of this file.
00001 /*------------------------------------------------------------------------
00002  *    Graphic library 
00003  *    Copyright INRIA
00004  *    newGraph Library header
00005  *    Matthieu PHILIPPE, INRIA 2001-2002
00006  *    Djalel ABDEMOUCHE, INRIA 2002-2004
00007  *    Fabrice Leray,     INRIA 2004-xxxx
00008  *    Comment:
00009  *    This file contains all functions used to CLONE an object, it means make
00010  *    a copy of an object under the same subwin.
00011  --------------------------------------------------------------------------*/
00012 
00013 #include "ObjectStructure.h"
00014 #include "HandleManagement.h"
00015 
00016 #ifndef __SCI_CLONE__
00017 #define __SCI_CLONE__
00018 
00019 extern double *sciCloneColormap (sciPointObj * pobj); /* CLONE */
00020 extern sciPointObj *CloneText (sciPointObj * pthis); /* CLONE */
00021 extern sciPointObj *sciCloneObj (sciPointObj * pobj); /* CLONE */
00022 
00023 extern sciPointObj *CloneRectangle (sciPointObj * pthis);
00024 extern sciPointObj *ClonePolyline (sciPointObj * pthis);
00025 extern sciPointObj *CloneArc (sciPointObj * pthis);
00026 sciPointObj * sciCloneConsole(     sciPointObj * pthis ) ;
00027 sciPointObj * sciCloneFrame(       sciPointObj * pthis ) ;
00028 sciPointObj * sciCloneWindow(      sciPointObj * pthis ) ;
00029 sciPointObj * sciCloneWindowFrame( sciPointObj * pthis ) ;
00030 sciPointObj * sciCloneScreen(      sciPointObj * pthis ) ;
00031 
00032 extern sciPointObj * sciCopyObj (sciPointObj * pobj, sciPointObj * psubwinparenttarget ); /* CLONE */
00033 
00034 /*--------------------------------------------------------------------------*/
00041 extern int cloneGraphicContext( sciPointObj * pObjSource, sciPointObj * pObjDest ) ;
00042 /*--------------------------------------------------------------------------*/
00049 extern int cloneFontContext( sciPointObj * pObjSource, sciPointObj * pObjDest ) ;
00050 /*--------------------------------------------------------------------------*/
00055 int cloneUserData( sciPointObj * pObjSource, sciPointObj * pObjDest ) ;
00056 /*--------------------------------------------------------------------------*/
00057 
00058 #endif /* __SCI_CLONE__ */

Generated on Sun Mar 4 15:03:49 2007 for Scilab [trunk] by  doxygen 1.5.1