home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 344b.lha / plplot_v2.6 / include / declare.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-01-27  |  3.6 KB  |  82 lines

  1. /*
  2. * Global variables for C plotting package
  3. *
  4. * device  :  Graphics device number
  5. * termin  :  Zero for noninteractive device, non-zero for terminal
  6. * graphx  :  Zero if currently in text mode, non-zero for graphics mode
  7. * currx   :  Physical x-coordinate of current point
  8. * curry   :  Physical y-coordinate of current point
  9. * vpp...  :  Viewport boundaries in physical coordinates
  10. * spp...  :  Subpage  boundaries in physical coordinates
  11. * clp...  :  Clip     boundaries in physical coordinates
  12. * phy...  :  Physical device limits in physical coordinates
  13. * nsub.   :  Number of subpages on physical device
  14. * cursub  :  Current subpage
  15. * um.     :  Number of micrometres in a pixel
  16. * font    :  Current default font
  17. * colour  :  Current default colour
  18. * width   :  Current pen width
  19. * mark    :  Array of mark lengths in micrometres for broken lines
  20. * space   :  Array of space lengths in micrometres for broken lines
  21. * nms     :  Number of elements for current broken line style
  22. * timecnt :  Timer for broken lines
  23. * alarm   :  Alarm indicating change of broken line status
  24. * pendn   :  Flag indicating if pen is up or down
  25. * curel   :  Current element within broken line
  26. * inclin  :  Array of inclinations in tenths of degree for fill lines
  27. * delta   :  Array of spacings in micrometers between fill lines
  28. * nps     :  Number of distinct line styles for fills
  29. * level   :  Initialization level
  30. *
  31. * spd...  :  Subpage  boundaries in normalized device coordinates
  32. * vpd...  :  Viewport boundaries in normalized device coordinates
  33. * vpw...  :  Viewport boundaries in world coordinates
  34. * .pmm    :  Number of pixels to a millimetre
  35. * wp....  :  Transformation variables for world  to physical conversion
  36. * dp....  :  Transformation variables for device to physical conversion
  37. * mp....  :  Transformation variables for millimetres from bottom left
  38. *             hand corner to physical coordinates
  39. * wm....  :  Transformation variables for world coordinates to mm
  40. * chr...  :  Character default height and current (scaled) height
  41. * sym...  :  Symbol    default height and current (scaled) height
  42. * maj...  :  Major tick default height and current (scaled) height
  43. * min...  :  Minor tick default height and current (scaled) height
  44. * base3.  :  World coordinate size of base for 3-d plot
  45. * basec.  :  Position of centre of base for 3-d plot
  46. * dom...  :  Minimum and maximum values for domain
  47. * zzscl   :  Vertical (z) scale for 3-d plot
  48. * ran..   :  Minimum and maximum z values for 3-d plot
  49. * c..     :  Coordinate transformation from 3-d to 2-d
  50. */
  51.  
  52. extern PLINT device, termin, graphx;
  53. extern PLINT currx,  curry;
  54. extern PLINT vppxmi, vppxma, vppymi, vppyma;
  55. extern PLINT sppxmi, sppxma, sppymi, sppyma;
  56. extern PLINT clpxmi, clpxma, clpymi, clpyma;
  57. extern PLINT phyxmi, phyxma, phyymi, phyyma;
  58. extern PLINT nsubx,  nsuby, cursub;
  59. extern PLINT umx,    umy;
  60. extern PLINT font,   colour, width, style;
  61. extern PLINT mark[], space[], nms, timecnt;
  62. extern PLINT alarm,  pendn,  curel;
  63. extern PLINT inclin[], delta[], nps;
  64. extern PLINT level;
  65.  
  66. extern PLFLT spdxmi, spdxma, spdymi, spdyma;
  67. extern PLFLT vpdxmi, vpdxma, vpdymi, vpdyma;
  68. extern PLFLT vpwxmi, vpwxma, vpwymi, vpwyma;
  69. extern PLFLT xpmm,   ypmm;
  70. extern PLFLT wpxscl, wpxoff, wpyscl, wpyoff;
  71. extern PLFLT dpxscl, dpxoff, dpyscl, dpyoff;
  72. extern PLFLT mpxscl, mpxoff, mpyscl, mpyoff;
  73. extern PLFLT wmxscl, wmxoff, wmyscl, wmyoff;
  74. extern PLFLT chrdef, chrht;
  75. extern PLFLT symdef, symht;
  76. extern PLFLT majdef, majht;
  77. extern PLFLT mindef, minht;
  78. extern PLFLT base3x, base3y, basecx, basecy;
  79. extern PLFLT domxmi, domxma, domymi, domyma;
  80. extern PLFLT zzscl,  ranmi,  ranma;
  81. extern PLFLT cxx,    cxy,    cyx,    cyy,   cyz;
  82.