~ubuntu-branches/debian/jessie/eso-midas/jessie

« back to all changes in this revision

Viewing changes to incl/aglnlin.h

  • Committer: Package Import Robot
  • Author(s): Ole Streicher
  • Date: 2014-04-22 14:44:58 UTC
  • Revision ID: package-import@ubuntu.com-20140422144458-okiwi1assxkkiz39
Tags: upstream-13.09pl1.2+dfsg
ImportĀ upstreamĀ versionĀ 13.09pl1.2+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* @(#)aglnlin.h        19.1  (OAA-ASTRONET) 02/25/03 13:49:24   */
 
2
/*
 
3
 * HEADER : aglnlin.h      - Vers 3.6.000  - Oct 1991 -  L. Fini, OAA
 
4
 *
 
5
 * Definitions for the AGL support of non linear projections
 
6
 */
 
7
 
 
8
 
 
9
#include <aglenvr.h>
 
10
#include <aglaxes.h>
 
11
 
 
12
 
 
13
 
 
14
struct NLN_STATUS {
 
15
 
 
16
int             Metamode;       /* Save current metafile mode               */
 
17
int             Fixit;          /* Fix clipping area dimensions flag        */
 
18
int             Bold;           /* =0 for normal, =10 for thick axes        */
 
19
int             Windfix;        /* Window specified by user                 */
 
20
 
 
21
int             Proj;           /* Projection type                          */
 
22
 
 
23
struct AXIS     c1;             /* First coordinate axis data               */
 
24
struct AXIS     c2;             /* Second coordinate axis data              */
 
25
 
 
26
float           Txtdim;         /* Global dimension multipl. for charact.   */
 
27
 
 
28
float           Clpa[4];        /* Current viewport dimensions              */
 
29
float           Boxa[4];        /* Box enclosing the full plot              */
 
30
float           Wind[4];        /* User coordinate extreems (as specified)  */
 
31
 
 
32
char            Title[MAXTITLE+5];      /* Plot title                       */
 
33
char            Rlabel[MAXTITLE+5];     /* Plot right label                 */
 
34
};
 
35
 
 
36
#define MIN3(x,y,z) ((x)<(y))?(((x)<(z))?(x):(z)):(((y)<(z))?(y):(z))
 
37
#define MAX3(x,y,z) ((x)>(y))?(((x)>(z))?(x):(z)):(((y)>(z))?(y):(z))
 
38
 
 
39
#define SUCCESS 0
 
40
#define FAILURE (-1)