home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / pstoedit.zip / source.zip / pstoedit.2.50 / cd1.2x / defines.h < prev    next >
C/C++ Source or Header  |  1996-07-01  |  1KB  |  56 lines

  1.  
  2. /* defines.h: declarations file for the cgmdraw module.
  3.  
  4.         Written by G. Edward Johnson <mailto:lorax@nist.gov>
  5.         Date: April 1996
  6.         Copyright: cd software produced by NIST, an agency of the 
  7.     U.S. government, is by statute not subject to copyright
  8.     in the United States. Recipients of this software assume all 
  9.     responsibilities associated with its operation, modification
  10.     and maintenance.
  11.  
  12. */
  13.  
  14. #ifndef CDDEF_H
  15. #define CDDEF_H 1
  16.  
  17. #define b0 01
  18. #define b1 02
  19. #define b2 04
  20. #define b3 010
  21. #define b4 020
  22. #define b5 040
  23. #define b6 0100
  24. #define b7 0200
  25. #define b8 0400
  26. #define b9 01000
  27. #define b10 02000
  28. #define b11 04000
  29. #define b12 010000
  30. #define b13 020000
  31. #define b14 040000
  32. #define b15 0100000
  33.  
  34. /* Defines the default values for different attributes.  In general,
  35.  * these track the CGM specificaition, so changing them is not a good idea.
  36.  * however, it is generally ok to set them to -1 (undefined) if you want.
  37.  */
  38.  
  39. #define CDLTYPE 1
  40. #define CDLWIDTH 0
  41. #define CDLCOLOR 1
  42. #define CDSHAPESTYLE -1
  43. #define CDSHAPECOLOR 1
  44. #define CDSHAPEHATCH 1
  45. #define CDEDGETYPE 1
  46. #define CDEDGECOLOR -1
  47. #define CDEDGEWIDTH -1
  48. #define CDEDGEVIS -1
  49. #define CDTEXTCOLOR 1
  50. #define CDTEXTHEIGHT -1
  51. #define CDTEXTFONT 1
  52. #define CDTEXTPATH 0
  53.  
  54.  
  55. #endif
  56.