~ubuntu-branches/ubuntu/vivid/grass/vivid-proposed

« back to all changes in this revision

Viewing changes to include/graphics.h

  • Committer: Package Import Robot
  • Author(s): Bas Couwenberg
  • Date: 2015-02-20 23:12:08 UTC
  • mfrom: (8.2.6 experimental)
  • Revision ID: package-import@ubuntu.com-20150220231208-1u6qvqm84v430b10
Tags: 7.0.0-1~exp1
* New upstream release.
* Update python-ctypes-ternary.patch to use if/else instead of and/or.
* Drop check4dev patch, rely on upstream check.
* Add build dependency on libpq-dev to grass-dev for libpq-fe.h.
* Drop patches applied upstream, refresh remaining patches.
* Update symlinks for images switched from jpg to png.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * command esc character
3
 
 * set to have most bits (but not all) set to 1
4
 
 */
5
 
 
6
 
#define COMMAND_ESC 127
7
 
 
8
 
/*
9
 
 * BEGIN sync count
10
 
 * This is number of zero bytes to be returned by
11
 
 * driver in response to a BEGIN request
12
 
 */
13
 
 
14
 
#define BEGIN_SYNC_COUNT 32
15
 
 
16
 
/*
17
 
 * command tokens
18
 
 * note: none should be zero, or equal to COMMAND_ESC
19
 
 */
20
 
 
21
 
#define GET_NUM_COLORS              1
22
 
#define CONT_ABS                    4
23
 
#define CONT_REL                    5
24
 
#define RGB_COLOR                   6
25
 
#define ERASE                       7
26
 
#define GET_LOCATION_WITH_BOX       8
27
 
#define GET_LOCATION_WITH_LINE      9
28
 
#define GET_LOCATION_WITH_POINTER   10
29
 
#define GRAPH_CLOSE                 11
30
 
#define MOVE_ABS                    13
31
 
#define MOVE_REL                    14
32
 
#define POLYGON_ABS                 15
33
 
#define POLYGON_REL                 16
34
 
#define POLYLINE_ABS                17
35
 
#define POLYLINE_REL                18
36
 
#define POLYDOTS_ABS                19
37
 
#define POLYDOTS_REL                20
38
 
#define SCREEN_LEFT                 25
39
 
#define SCREEN_RITE                 26
40
 
#define SCREEN_BOT                  27
41
 
#define SCREEN_TOP                  28
42
 
#define TEXT                        29
43
 
#define TEXT_SIZE                   30
44
 
#define TEXT_ROTATION               39
45
 
#define SET_WINDOW                  40
46
 
#define GET_TEXT_BOX                42
47
 
#define FONT                        44
48
 
#define RESPOND                     45
49
 
#define BEGIN                       46
50
 
#define STANDARD_COLOR              47
51
 
#define BOX_ABS                     48
52
 
#define BOX_REL                     49
53
 
#define PANEL_SAVE                  53
54
 
#define PANEL_RESTORE               54
55
 
#define PANEL_DELETE                55
56
 
 
57
 
#define PAD_CREATE                  61
58
 
#define PAD_CURRENT                 62
59
 
#define PAD_DELETE                  63
60
 
#define PAD_INVENT                  64
61
 
#define PAD_LIST                    65
62
 
#define PAD_SELECT                  66
63
 
 
64
 
#define PAD_APPEND_ITEM             71
65
 
#define PAD_DELETE_ITEM             72
66
 
#define PAD_GET_ITEM                73
67
 
#define PAD_LIST_ITEMS              74
68
 
#define PAD_SET_ITEM                75
69
 
 
70
 
/* fonts */
71
 
#define FONT_INFO                   76
72
 
#define FONT_LIST                   77
73
 
#define CHARSET                     78
74
 
 
75
 
/* line attributes */
76
 
#define LINE_WIDTH                  79
77
 
 
78
 
/* bitmap */
79
 
#define BITMAP                      80
80
 
 
81
 
/* scaled raster */
82
 
#define BEGIN_SCALED_RASTER         84
83
 
#define SCALED_RASTER               85
84
 
#define END_SCALED_RASTER           86
85
 
 
86
 
/* return codes for pad routines */
87
 
 
88
 
#define OK 0
89
 
#define NO_MEMORY 1
90
 
#define NO_PAD 2
91
 
#define NO_CUR_PAD 3
92
 
#define NO_ITEM 4
93
 
#define DUPLICATE 5
94
 
#define ILLEGAL 6