UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
axis.h
1 #if !defined(__N_AXIS_H_)
2 #define __N_AXIS_H_
3 
4 #include "sdstool.h"
5 #include <math.h>
6 #include "Ymath.h"
7 #include "ygraph.h"
8 
9 #define Axis_X 0x100
10 #define Axis_Y 0x200
11 #define Axis_Left 0x004
12 #define Axis_Down 0x008
13 #define Axis_Up 0x001
14 #define Axis_Right 0x002
15 typedef char* (*AxisAnno)();
16 typedef struct {
17  char typeX,typeY,
18  a_lenX,p_lenX,
19  a_lenY,p_lenY,
20  AnnoArrayX,AnnoArrayY,
21  DrawAnno,DrawLabel,
22  NoDrawXLine,NoDrawYLine;
23  short ax, ay;
24  short ax1, ax2, ay1, ay2;
25  short gx1, gx2, gy1, gy2;
26  float fx1, fx2, fy1, fy2;
27  char *annoX,*annoY;
28  short nx,ny;
29  int *annoIX,*annoIY;
30  AxisAnno Fx,Fy;
31  } Axis_DATA;
32 
33 /************************************************************************/
34 /* Stas Axis */
35 /* AXIS */
36 #define T_POSE 1
37 #define B_POSE -1
38 #define L_POSE 1
39 #define R_POSE -1
40 
41 typedef struct
42 {
43  short pose ;
44  int pBegZ, pEndZ, pBegX, pEndX ;
45  float mBeg, mEnd ;
46 }
47 AXIS ;
48 
49 #ifdef _NO_PROTO_
50 
51 void StAxis( );
52 void StGrid( );
53 float roundedValues( );
54 
55 #else
56 
57 void StAxis( YDraw* yd, AXIS* X, AXIS* Z );
58 void StGrid( YDraw* yd, AXIS* X, AXIS* Z );
59 float roundedValues( float* step, float* from );
60 #endif
61 
62 #endif
Definition: axis.h:41
Definition: axis.h:16
Definition: ymprog.h:649