display.h 505 B

123456789101112131415161718192021222324252627282930
  1. #ifndef GRASS_DISPLAY_H
  2. #define GRASS_DISPLAY_H
  3. #include <grass/gis.h>
  4. #include <grass/raster.h>
  5. #include <grass/symbol.h>
  6. struct color_rgba
  7. {
  8. unsigned char r, g, b, a; /* red, green, blue, and alpha */
  9. };
  10. typedef struct color_rgba RGBA_Color;
  11. /* RGBA color alpha presets */
  12. #define RGBA_COLOR_OPAQUE 255
  13. #define RGBA_COLOR_TRANSPARENT 0
  14. #define RGBA_COLOR_NONE 0
  15. enum clip_mode
  16. {
  17. M_NONE,
  18. M_CULL,
  19. M_CLIP,
  20. };
  21. #include <grass/defs/display.h>
  22. #endif /* GRASS_DISPLAY_H */