home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
progm
/
grafx.zip
/
GRAFCOM.ICL
< prev
next >
Wrap
Text File
|
1989-02-05
|
759b
|
20 lines
c -----------------------------------------------------------------------
c ...graphic display common - used by GRAFX graphic primitives
c to convert from problem space coordinates to display space
c coordinates
c
common /grafcom/ xpmx,xpmn,ypmx,ypmn,xdmx,xdmn,ydmx,ydmn,dx,dy
c
integer xdmx,xdmn,ydmx,ydmn
c
c problem space max & mins (xpmx,xpmn,ypmx,ypmn)
c display space max & mins (xdmx,xdmn,ydmx,ydmn)
c scale factors (dx,dy)
c
c integer dleft,dright,dtop,dbottom
c parameter (dleft=0,dright=639,dbottom=199,dtop=0)
c
c display space in screen coordinates (e.g. x - 0...639; y - 199...0)
c problem space in problem units (e.g. degrees, seconds, miles, etc.)
c -----------------------------------------------------------------------