summaryrefslogtreecommitdiff
path: root/modules/graphics/src/nographics/nographics.h
blob: 0ce7b73a8fbc440d0ec14b429cb899b4ac57374e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
/*
 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
 * Copyright (C) 2007 - INRIA - Sylvestre Ledru
 * Copyright (C) 2008 - INRIA - Vincent COUVERT
 *
 * 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
 *
 */
#ifndef __NOGRAPHICS_H__
#define __NOGRAPHICS_H__

#include "machine.h"

int gw_graphics(void);

void loadGraphicModule(void);

BOOL TerminateGraphics(void);

int scig_2dzoom(int win_num);

int GetDriverId(void);

void scig_unzoom(int win_num);

int get_window_scale( int i, double * subwin );

double Maxi(double *vect, int n);

double Mini(double *vect, int n);

int scig_3drot(int win_num);

void scig_replay(int win_num);

void scig_erase(int win_num);

void scig_loadsg(int win_num, char *filename);

void del_window_scale(int i);

void scig_savesg(int win_num, char * filename);

void Cscale2default(void);

int scig_toPs(int win_num, int colored, char * bufname, char * driver);

void delete_sgwin_entities(int win_num);

int C2F(entier2d)( int * n, double * dx, int * s );

int C2F(dr)(char x0[], char x1[], int *x2, int *x3, int *x4, int *x5, int *x6, int *x7, double *dx1, double *dx2, double *dx3, double *dx4, int lx0, int lx1);

void scig_sel(int win_num);

void DeleteObjs(int win_num);

int C2F(dr1)( char x0[], char x1[], int *x2, int *x3, int *x4, int *x5, int *x6, int *x7, double *dx1, double *dx2, double *dx3, double *dx4, int lx0, int lx1);

void sciRedrawF(int *num);

int C2F(SetDriver)(void);

void GetDriver1(char *str, int *v2, int * v3, int * v4, int *v5, int * v6, int * v7, double * dv1, double * dv2, double * dv3, double * dv4);

void sciGetIdFigure (int *vect, int *id, int *flag);

#endif /* __NOGRAPHICS_H__ */