h31189
s 00034/00000/00000
d D 1.1 83/03/08 20:25:49 tes 1 0
c date and time created 83/03/08 20:25:49 by tes
e
u
tes
mrk
U
t
T
I 1
subroutine gpdc2n (dc, x, y)
########################################################################
#                                                                      #
#          THIS MATERIAL IS CONFIDENTIAL AND IS FURNISHED UNDER        #
#          A WRITTEN LICENSE AGREEMENT.  IT MAY NOT BE USED,           #
#          COPIED OR DISCLOSED TO OTHERS EXCEPT IN ACCORDANCE          #
#          WITH THE TERMS OF THAT AGREEMENT.                           #
#                                                                      #
#          COPYRIGHT (C) 1982 GRAPHIC SOFTWARE SYSTEMS INC.            #
#          ALL RIGHTS RESERVED.                                        #
#                                                                      #
#     Function: transform a point from device space (32K) to 0-1 space #
#                                                                      #
#     Input Parameters:                                                #
#            dc - two element integer array of points to transformed   #
#                                                                      #
#     Output Parameters:                                               #
#            x - real x coordinate in 0-1 space                        #
#            y - real y coordinate in 0-1 space                        #
#                                                                      #
#     Routines Called:                                                 #
#            none                                                      #
#                                                                      #
########################################################################
integer dc(2)
real x, y

include(`pltcom')
 
   x = (dc(1) - xvwmin)/xvwlng
   y = (dc(2) - yvwmin)/yvwlng

   return
end
E 1
