blob: 9854ecfb3a366df32a5d15aab725662a9ce38b31 (
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
|
/*
* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
* Copyright (C) 2006 - INRIA - Jean-Baptiste Silvy
*
* 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
*
*/
/*------------------------------------------------------------------------*/
/* file: axesScale.h */
/* desc : Contains functions to compute scale changes in a specific */
/* subwindow. */
/*------------------------------------------------------------------------*/
#ifndef _AXES_SCALE_H_
#define _AXES_SCALE_H_
#include "dynlib_graphics.h"
#include "BOOL.h"
/*------------------------------------------------------------------------------*/
GRAPHICS_IMPEXP int sciZoom2D(int iSubwinUID, const double zoomRect[4]);
GRAPHICS_IMPEXP int sciZoom3D(int iSubwinUID, const double zoomBox[6]);
GRAPHICS_IMPEXP int sciZoomRect(int iObjUID, const double zoomRect[4]);
GRAPHICS_IMPEXP int sciFigureZoom2D(int iFigureUID, const double zoomRect[4]);
GRAPHICS_IMPEXP void sciUnzoomSubwin(int iSubwinUID);
GRAPHICS_IMPEXP void sciUnzoomFigure(int iFigureUID);
GRAPHICS_IMPEXP void sciUnzoomArray(int iObjUID[], int nbSubwin);
/**
* Update subwin size and scale if needed
*/
GRAPHICS_IMPEXP void updateSubwinScale(int iSubwinUID);
/**
* Update text bounds if needed
*/
GRAPHICS_IMPEXP void updateTextBounds(int iSubwinUID);
/*------------------------------------------------------------------------------*/
GRAPHICS_IMPEXP BOOL checkDataBounds(int iSubwinUID, double xMin, double xMax,
double yMin, double yMax, double zMin, double zMax);
/*------------------------------------------------------------------------------*/
#endif /* _AXES_SCALE_H_ */
|