1 /* 2 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab 3 * Copyright (C) 2001 - 2002 - INRIA - Matthhieu Philippe 4 * Copyright (C) 2002 - 2004 - INRIA - Djalel Abdemouche 5 * Copyright (C) 2004 - 2006 - INRIA - Fabrice Leray 6 * Copyright (C) 2005 - INRIA - Jean-Baptiste Silvy 7 * Copyright (C) 2010 - Paul Griffiths 8 * Copyright (C) 2011 - DIGITEO - Bruno JOFRET 9 * 10 * Copyright (C) 2012 - 2016 - Scilab Enterprises 11 * 12 * This file is hereby licensed under the terms of the GNU GPL v2.0, 13 * pursuant to article 5.3.4 of the CeCILL v.2.1. 14 * This file was originally licensed under the terms of the CeCILL v2.1, 15 * and continues to be available under such terms. 16 * For more information, see the COPYING file which you should have received 17 * along with this program. 18 * 19 */ 20 21 /*------------------------------------------------------------------------ 22 * Graphic library 23 * -This file contains all functions used to SET the properties of graphics 24 * objects. 25 * - there are two kinds of functions : the sciInit*** which only set an object 26 * property and sciSet*** which do the same work but check before if it is 27 * necessary to do so. 28 * - The returning status of each functions is as follow : 29 * 0 for correct execution, 1 if no change was made 30 * and -1 if an error occurred. 31 --------------------------------------------------------------------------*/ 32 33 34 #ifndef __SCI_SET_PROPERTY__ 35 #define __SCI_SET_PROPERTY__ 36 37 #include "dynlib_graphics.h" 38 #include "BOOL.h" 39 40 GRAPHICS_IMPEXP int sciSetLineWidth (int iObj, double linewidth) ; /* SET */ 41 42 GRAPHICS_IMPEXP int sciSetLineStyle (int iObj, int linestyle) ; /* SET */ 43 44 GRAPHICS_IMPEXP int sciSetMarkSize (int iObj, int *markSizes, int numMarkSizes); /* SET */ 45 46 /* Text Functions */ 47 GRAPHICS_IMPEXP int sciSetText (int iObj, char ** text, int nbRow, int nbCol) ; /* SET */ 48 49 /* GMODE */ 50 GRAPHICS_IMPEXP int sciSetDefaultValues (void); /* SET */ 51 52 53 /* Window Functions */ 54 GRAPHICS_IMPEXP int sciSetSelectedSubWin (int iSubwinobj); /* SET */ 55 56 GRAPHICS_IMPEXP int sciSetPoint(int iObj, double *tab, int *numrow, int *numcol); /* SET */ 57 58 GRAPHICS_IMPEXP BOOL sciCheckColorIndex(int iObj, int colorIndex); 59 60 GRAPHICS_IMPEXP int sciSetMarkOffset(int iObjUID, int offset); 61 62 GRAPHICS_IMPEXP int sciSetMarkStride(int iObjUID, int stride); 63 64 /*---------------------------------------------------------------------------*/ 65 66 #endif /* __SCI_SET_PROPERTY__ */ 67