home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume13 / casette-lbl / dimensions.h < prev    next >
Encoding:
C/C++ Source or Header  |  1988-01-31  |  1.7 KB  |  54 lines

  1. /*
  2.  * Copyright (C) 1987, Thomas H. Smith -- San Francisco, California
  3.  *   Program 'Cassette':
  4.  *    Permission is granted to any individual or institution
  5.  *    to use, copy, modify, or redistribute this software so long as it
  6.  *    is not sold for profit and provided this copyright notice is retained.
  7.  *
  8.  *   PostScript is a registered trademark of Adobe Systems, Inc.
  9.  */
  10.  
  11. /* dimension tweaks dimensions in points */
  12. #define VSPACE        4.0    /* vertical whitespace border */
  13. #define HSPACE        6.0    /* horizontal whitespace border */
  14. #define BORDERWIDTH    2.0    /* width of outline border */
  15. #define DASHWIDTH    0.25    /* width of interior dashed lines */
  16. #define CHARFUDGE    1.0    /* fudge for vertically centering text */
  17.  
  18. /* dimensions of dolby symbol */
  19. #define DOLBY_HEIGHT    5.0
  20. #define DOLBY_WIDTH    (DOLBY_HEIGHT+1.0)
  21. #define DOLBY_RADIUS    (DOLBY_HEIGHT / 2.0)
  22.  
  23. /* font used for album title */
  24. #define TITLEFONT    "Helvetica-Bold"
  25. #define TITLESIZE    10.0
  26.  
  27. /* font used for secondary album title */
  28. #define TITLE2FONT    "Times-Italic"
  29. #define TITLE2SIZE    9.0
  30.  
  31. /* font used for album artist */
  32. #define ARTISTFONT    "Helvetica"
  33. #define ARTISTSIZE    10.0
  34.  
  35. /* font used for noise reduction */
  36. #define NOISEFONT    "Helvetica"
  37. #define NOISESIZE    5.0
  38.  
  39. /* font used for song list */
  40. #define SONGFONT    "Times-Roman"
  41. #define SONGSIZE    8.0
  42.  
  43. /* dimensions of cassette label in inches */
  44. #define EDGEHEIGHT    0.5    /* height of label edge */
  45. #define BODYHEIGHT    2.5    /* height of label body */
  46. #define WIDTH        4.0    /* width of entire label */
  47.  
  48. #define CONTINUEDIST    0.75    /* indent for long song name continuation */
  49.  
  50. /* width of overhang tab */
  51. #define TABWIDTH    (WIDTH - (TABDELTA * 2.0))
  52. #define TABSHORTHEIGHT    0.25    /* height of short portion of overhang tab */
  53. #define TABDELTA    0.25    /* delta between short and tall tab portions */
  54.