h06549
s 00002/00002/00043
d D 1.2 83/01/28 14:06:54 tes 2 1
c initial_internal_update
e
s 00045/00000/00000
d D 1.1 83/01/28 13:05:54 tes 1 0
c date and time created 83/01/28 13:05:54 by tes
e
u
tes
mjb
mrk
mmm
U
t
T
I 1
subroutine pieatt (lbltyp, font, chrsiz, color)
########################################################################
#                                                                      #
#          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 up pie attributes                                  #
#                                                                      #
#     Input Parameters:                                                #
#            lbltyp - label pie slice with percentage or actual value  #
#                        0 - percentage value                          #
#                        1 - actual data value                         #
#            font   - text font                                        #
#            chrsiz - text size                                        #
#            color  - text color                                       #
#                                                                      #
#     Output Parameters:                                               #
#            none                                                      #
#                                                                      #
#     Routines Called:                                                 #
#            none                                                      #
#                                                                      #
########################################################################
integer lbltyp, font, color
real chrsiz
 
D 2
PLOTxREALS PLOTxGETREAL
E 2
I 2
real gtreal 
E 2

include(`pltcom')
 
DxB write (DEBUGxUNIT, 100) lbltyp, font, chrsiz, color
DxB 100 format (' pieatt:', 2i5, f10.5, i5)
 
   npltyp = lbltyp
   nfont(PIExTEXTxATT) = font
D 2
   ztxsiz(PIExTEXTxATT) = PLOTxGETREAL(chrsiz)
E 2
I 2
   ztxsiz(PIExTEXTxATT) = gtreal (chrsiz, 0)
E 2
   ntxclr(PIExTEXTxATT) = color
 
   return
end
E 1
