h61376
s 00000/00000/00041
d D 1.2 83/03/31 12:46:08 mmm 2 1
c 
e
s 00041/00000/00000
d D 1.1 83/03/15 21:45:27 tes 1 0
c date and time created 83/03/15 21:45:27 by tes
e
u
4
U
t
T
I 1
subroutine gzdcwd (xdc, ydc, xwd, ywd)
########################################################################
#                                                                      #
#          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.                                        #
#                                                                      #
#          COPYRIGHT (C) 1981 GRAPHIC SOFTWARE SYSTEMS INC.            #
#          ALL RIGHTS RESERVED.                                        #
#                                                                      #
#     Function: reverse transform a point from device coord. to world  #
#                                                                      #
#     Input Parameters:                                                #
#            xdc - x device coordinate to be transformed               #
#            ydc - y device coordinate to be transformed               #
#                                                                      #
#     Output Parameters:                                               #
#            xwd - x coordinate in world space                         #
#            ywd - y coordinate in world space                         #
#                                                                      #
#     Routines Called:                                                 #
#            gzdndc - transform a point from device space to ndc space #
#            gzndcw - transform a point from ndc space to world space  #
#                                                                      #
########################################################################
integer xdc, ydc
real xwd, ywd

real x, y, xndc, yndc

   x = xdc
   y = ydc
   call gzdndc (x, y, xndc, yndc)
   call gzndcw (xndc, yndc, xwd, ywd)

   return
end
E 1
