h36884
s 00000/00000/00034
d D 1.2 83/01/28 13:55:50 tes 2 1
c initial_internal_update
e
s 00034/00000/00000
d D 1.1 83/01/28 13:03:13 tes 1 0
c date and time created 83/01/28 13:03:13 by tes
e
u
tes
mjb
mrk
mmm
U
t
T
I 1
subroutine gpn2dc (x, y, dc)
########################################################################
#                                                                      #
#          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 0-1 space to device space (32K) #
#                                                                      #
#     Input Parameters:                                                #
#            x - real x coordinate in 0-1 space                        #
#            y - real y coordinate in 0-1 space                        #
#                                                                      #
#     Output Parameters:                                               #
#            dc - two element integer array of transformed point       #
#                                                                      #
#     Routines Called:                                                 #
#            none                                                      #
#                                                                      #
########################################################################
integer dc(2)
real x, y

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

   return
end
E 1
