/* * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab * Copyright (C) 2001 - 2002 - INRIA - Matthhieu Philippe * Copyright (C) 2002 - 2004 - INRIA - Djalel Abdemouche * Copyright (C) 2004 - 2006 - INRIA - Fabrice Leray * Copyright (C) 2005 - INRIA - Jean-Baptiste Silvy * Copyright (C) 2010 - Paul Griffiths * Copyright (C) 2011 - DIGITEO - Bruno JOFRET * * This file must be used under the terms of the CeCILL. * This source file is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms * are also available at * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt * */ /*------------------------------------------------------------------------ * Graphic library * -This file contains all functions used to SET the properties of graphics * objects. * - there are two kinds of functions : the sciInit*** which only set an object * property and sciSet*** which do the same work but check before if it is * necessary to do so. * - The returning status of each functions is as follow : * 0 for correct execution, 1 if no change was made * and -1 if an error occurred. --------------------------------------------------------------------------*/ #ifndef __SCI_SET_PROPERTY__ #define __SCI_SET_PROPERTY__ #include "dynlib_graphics.h" #include "BOOL.h" GRAPHICS_IMPEXP int sciSetLineWidth (int iObj, double linewidth) ; /* SET */ GRAPHICS_IMPEXP int sciSetLineStyle (int iObj, int linestyle) ; /* SET */ GRAPHICS_IMPEXP int sciSetMarkSize (int iObj, int marksize); /* SET */ /* Text Functions */ GRAPHICS_IMPEXP int sciSetText (int iObj, char ** text, int nbRow, int nbCol) ; /* SET */ /* GMODE */ GRAPHICS_IMPEXP int sciSetDefaultValues (void); /* SET */ /* Window Functions */ GRAPHICS_IMPEXP int sciSetSelectedSubWin (int iSubwinobj); /* SET */ GRAPHICS_IMPEXP int sciSetPoint(int iObj, double *tab, int *numrow, int *numcol); /* SET */ GRAPHICS_IMPEXP BOOL sciCheckColorIndex(int iObj, int colorIndex); GRAPHICS_IMPEXP int sciSetMarkOffset(int iObjUID, int offset); GRAPHICS_IMPEXP int sciSetMarkStride(int iObjUID, int stride); /*---------------------------------------------------------------------------*/ #endif /* __SCI_SET_PROPERTY__ */