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 Init or Re-Init the window 00010 * (Figure and/or Subwin) to the default graphics properties. 00011 --------------------------------------------------------------------------*/ 00012 00013 #include "ObjectStructure.h" 00014 #include "HandleManagement.h" 00015 00016 00017 #ifndef __SCI_INIT_GRAPHICS__ 00018 #define __SCI_INIT_GRAPHICS__ 00019 00020 extern int C2F(graphicsmodels) (void); 00021 extern int sciInitGraphicContext (sciPointObj * pobj); /* INITOBJECT */ 00022 extern int sciInitFontContext (sciPointObj * pobj); /* INITOBJECT */ 00023 extern int sciInitGraphicMode (sciPointObj * pobj); 00024 00025 extern sciPointObj * initLabel( sciPointObj * pParentObj ) ; /* INITOBJECT */ 00026 00027 extern void initsubwin(void); /* INITOBJECT */ 00028 extern void reinitSubwin( void ) ; 00029 00030 extern int InitFigureModel(void); /* INITOBJECT */ 00031 extern int InitAxesModel(void); /* INITOBJECT */ 00032 00033 int initFCfromCopy( sciPointObj * pObjSource, sciPointObj * pObjDest ); 00034 00035 int ResetFigureToDefaultValues(sciPointObj * pobj); /* INITOBJECT */ 00036 00037 sciPointObj * getFigureModel( void ) ; 00038 sciPointObj * getAxesModel( void ) ; 00039 00040 void destroyDefaultObjects( void ) ; 00041 00042 #endif /* __SCI_INIT_GRAPHICS__ */
1.5.1