gscsepnm.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /* Copyright (C) 1998 Aladdin Enterprises. All rights reserved.
  2. This file is part of AFPL Ghostscript.
  3. AFPL Ghostscript is distributed with NO WARRANTY OF ANY KIND. No author or
  4. distributor accepts any responsibility for the consequences of using it, or
  5. for whether it serves any particular purpose or works at all, unless he or
  6. she says so in writing. Refer to the Aladdin Free Public License (the
  7. "License") for full details.
  8. Every copy of AFPL Ghostscript must include a copy of the License, normally
  9. in a plain ASCII text file named PUBLIC. The License grants you the right
  10. to copy, modify and redistribute AFPL Ghostscript, but only under certain
  11. conditions described in the License. Among other things, the License
  12. requires that the copyright notice and this notice be preserved on all
  13. copies.
  14. */
  15. /*$Id: gscsepnm.h,v 1.2 2000/09/19 19:00:27 lpd Exp $ */
  16. /* Standard color space separation names */
  17. #ifndef gscsepnm_INCLUDED
  18. # define gscsepnm_INCLUDED
  19. /*
  20. * Define enumeration indices for the standard separation names, and the
  21. * corresponding name strings. These are only used internally: in all
  22. * externally accessible APIs, separations are defined either by a string
  23. * name or by an opaque identifier.
  24. *
  25. * NB: the enumeration and the list of strings must be synchronized. */
  26. typedef enum {
  27. gs_ht_separation_Default, /* must be first */
  28. gs_ht_separation_Gray,
  29. gs_ht_separation_Red,
  30. gs_ht_separation_Green,
  31. gs_ht_separation_Blue,
  32. gs_ht_separation_Cyan,
  33. gs_ht_separation_Magenta,
  34. gs_ht_separation_Yellow,
  35. gs_ht_separation_Black
  36. } gs_ht_separation_name;
  37. #define gs_ht_separation_name_strings \
  38. "Default", "Gray", "Red", "Green", "Blue", \
  39. "Cyan", "Magenta", "Yellow", "Black"
  40. #endif /* gscsepnm_INCLUDED */