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

« back to all changes in this revision

Viewing changes to display/d.legend/local_proto.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
 
/* main.c */
2
 
char *G_chop(char *s);
3
 
 
4
 
/* box.c */
5
 
int get_legend_box(int *, int *, int *, int *);
 
1
#define MAP_TYPE_RASTER2D 1
 
2
#define MAP_TYPE_RASTER3D 2
 
3
/* possibles for the future:
 
4
#define MAP_TYPE_VECTOR 3
 
5
#define MAP_TYPE_RULES 4
 
6
*/
 
7
 
 
8
struct stat_node
 
9
{
 
10
    long int cat;               /* cell-file category value */
 
11
    long int stat;              /* statistic: number of cells with that cat */
 
12
    struct stat_node *next;     /* pointer to next stat_node in list */
 
13
};
 
14
 
 
15
struct stat_list
 
16
{
 
17
    struct stat_node *ptr;      /* pointer to first stat_node in list */
 
18
    long int count,             /* number of stat_nodes in list 
 
19
                                   (not counting null cells) */
 
20
      null_stat,                /* stats for null cell */
 
21
      maxstat,                  /* max. statistic in list */
 
22
      minstat,                  /* min. statistic in list */
 
23
      sumstat,                  /* sum of all statistics in list */
 
24
      maxcat,                   /* max. cell-file category value in list */
 
25
      mincat;                   /* min. cell-file category value in list */
 
26
};
 
27
 
 
28
 
 
29
/* histogram.c */
 
30
void draw_histogram(const char *, int, int, int, int, int, int, int, int, int);
 
31
 
 
32
/* get_stats.c */
 
33
void get_stats(const char *, struct stat_list *, int, int);
 
34
void run_stats(const char *, int, const char *, int);