local_proto.h 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. #include <grass/gis.h>
  2. #include <grass/colors.h>
  3. #include <grass/vector.h>
  4. #include <grass/dbmi.h>
  5. #include "plot.h"
  6. int test_bg_color(const char *);
  7. /* attr.c */
  8. int display_attr(struct Map_info *, int, char *, struct cat_list *, LATTR *, int);
  9. /* area.c */
  10. int display_area(struct Map_info *, struct cat_list *, const struct Cell_head *,
  11. const struct color_rgb *, const struct color_rgb *, int, int,
  12. int, int, double,
  13. struct Colors *,
  14. dbCatValArray *, struct Colors *, dbCatValArray *, int);
  15. /* dir.c */
  16. int display_dir(struct Map_info *, int, struct cat_list *, int, int);
  17. /* labels.c */
  18. int display_label(struct Map_info *, int, struct cat_list *, LATTR *, int);
  19. void show_label(double *, double *, LATTR *, const char *);
  20. void show_label_line(const struct line_pnts *, int, LATTR *, const char *);
  21. /* lines.c */
  22. int display_lines(struct Map_info *, int, struct cat_list *,
  23. const struct color_rgb *, const struct color_rgb *, int,
  24. const char *, double, int,
  25. int, int, int, double,
  26. struct Colors *,
  27. dbCatValArray *, struct Colors *, dbCatValArray *, int,
  28. dbCatValArray *, int, dbCatValArray *, int);
  29. /* shape.c */
  30. int display_shape(struct Map_info *, int, struct cat_list *, const struct Cell_head *,
  31. const struct color_rgb *, const struct color_rgb *, int,
  32. const char *, double, const char *, int, const char *, /* lines only */
  33. int, int, int, char *,
  34. int, char *, double,
  35. int, char *);
  36. int get_table_color(int, int, struct Colors *, dbCatValArray *,
  37. int *, int *, int *);
  38. int get_cat_color(int, const struct line_cats *, const struct cat_list *,
  39. int *, int *, int *);
  40. double get_property(int, int, dbCatValArray *, double, double);
  41. /* opt.c */
  42. int option_to_display(const struct Option *);
  43. void options_to_lattr(LATTR *, const char *,
  44. const char *, const char *, const char *,
  45. int, const char *, const char *,
  46. const char *, const char *);
  47. int option_to_color(struct color_rgb *, const char *);
  48. void option_to_where(struct Map_info *, struct cat_list *, const char *);
  49. /* topo.c */
  50. int display_topo(struct Map_info *, int, LATTR *, double);
  51. /* vertex.c */
  52. int display_vert(struct Map_info *, int, LATTR *, double);
  53. /* zcoor.c */
  54. int display_zcoor(struct Map_info *, int, LATTR *);