2
* FIG : Facility for Interactive Generation of figures
3
* Copyright (c) 1985 by Supoj Sutanthavibul
5
* "Permission to use, copy, modify, distribute, and sell this software and its
6
* documentation for any purpose is hereby granted without fee, provided that
7
* the above copyright notice appear in all copies and that both the copyright
8
* notice and this permission notice appear in supporting documentation.
9
* No representations are made about the suitability of this software for
10
* any purpose. It is provided "as is" without express or implied warranty."
13
#define PIX_PER_INCH 80
14
#define PIX_PER_CM 30 /* ((int)(PIX_PER_INCH / 2.54
17
/* Portrait dimensions */
18
#define DEF_CANVAS_HT_PORT 9*PIX_PER_INCH
19
#define DEF_CANVAS_WD_PORT 8*PIX_PER_INCH
21
/* Landscape dimensions */
22
#define DEF_CANVAS_HT_LAND 8*PIX_PER_INCH
23
#define DEF_CANVAS_WD_LAND 10*PIX_PER_INCH
26
#ifndef MAX_TOPRULER_WD
27
#define MAX_TOPRULER_WD 1020
29
#ifndef MAX_SIDERULER_HT
30
#define MAX_SIDERULER_HT 860
32
#define MIN_MOUSEFUN_WD 240
36
#define SW_PER_ROW_PORT 2 /* switches/row in mode panel */
37
#define SW_PER_ROW_LAND 2 /* same for landscape mode */
38
#define SW_PER_COL_PORT 17
39
#define SW_PER_COL_LAND 17
41
#define MODE_SW_HT 32 /* height of a mode switch icon */
42
#define MODE_SW_WD 36 /* width of a mode switch icon */
44
#define DEF_INTERNAL_BW 1
47
extern int CMDPANEL_WD;
48
extern int MODEPANEL_WD;
49
extern int MODEPANEL_SPACE;
50
extern int MSGFORM_WD;
51
extern int MSGPANEL_WD;
52
extern int MOUSEFUN_WD;
53
extern int INDPANEL_WD;
54
extern int CANVAS_WD, CANVAS_HT;
55
extern int INTERNAL_BW;
56
extern int TOPRULER_WD, TOPRULER_HT;
57
extern int SIDERULER_WD, SIDERULER_HT;
58
extern int SW_PER_ROW, SW_PER_COL;