home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / progm / grafx.zip / GRAFCOM.ICL < prev    next >
Text File  |  1989-02-05  |  759b  |  20 lines

  1. c    -----------------------------------------------------------------------
  2. c    ...graphic display common - used by GRAFX graphic primitives
  3. c    to convert from problem space coordinates to display space
  4. c    coordinates
  5. c
  6.     common /grafcom/ xpmx,xpmn,ypmx,ypmn,xdmx,xdmn,ydmx,ydmn,dx,dy
  7. c
  8.     integer xdmx,xdmn,ydmx,ydmn
  9. c
  10. c    problem space max & mins (xpmx,xpmn,ypmx,ypmn)
  11. c    display space max & mins (xdmx,xdmn,ydmx,ydmn)
  12. c    scale factors (dx,dy)
  13. c
  14. c    integer dleft,dright,dtop,dbottom
  15. c    parameter (dleft=0,dright=639,dbottom=199,dtop=0)
  16. c
  17. c    display space in screen coordinates (e.g. x - 0...639; y - 199...0)
  18. c    problem space in problem units (e.g. degrees, seconds, miles, etc.)
  19. c    -----------------------------------------------------------------------
  20.