h51861
s 00038/00000/00000
d D 1.1 83/01/22 20:47:21 tes 1 0
c date and time created 83/01/22 20:47:21 by tes
e
u
tes
mjb
U
t
T
I 1
subroutine qsthsz (isize, width, height)
########################################################################
#                                                                      #
#          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: Set the hardware character size and return realized    #
#               size                                                   #
#                                                                      #
#     Input Parameters:                                                #
#            isize - requested hardware size                           #
#                                                                      #
#     Output Parameters:                                               #
#            width - realized character width (device coordinates)     #
#            height - realized character height (device coordinates)   #
#                                                                      #
#     Routines Called:                                                 #
#            None                                                      #
#                                                                      #
########################################################################
integer isize, height, width

integer contrl(6), intin(1), ptsin(2), intout(1), ptsout(4)

data contrl /12, 1, 4*0/, ptsin /0, 0/

ptsin(2) = float(isize)*327.68   # 32768/100  percentage of screen
call gzddop (contrl, intin, ptsin, intout, ptsout)
width = ptsout(3)
height = ptsout(4)

return
end
E 1
