local_proto.h 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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, char *,
  34. int, char *, double,
  35. 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. int get_num_color_rules_skipped();
  42. /* opt.c */
  43. int option_to_display(const struct Option *);
  44. void options_to_lattr(LATTR *, const char *,
  45. const char *, const char *, const char *,
  46. int, const char *, const char *,
  47. const char *, const char *);
  48. int option_to_color(struct color_rgb *, const char *);
  49. void option_to_where(struct Map_info *, struct cat_list *, const char *);
  50. /* topo.c */
  51. int display_topo(struct Map_info *, int, LATTR *, double);
  52. /* vertex.c */
  53. int display_vert(struct Map_info *, int, LATTR *, double);
  54. /* zcoor.c */
  55. int display_zcoor(struct Map_info *, int, LATTR *);