h21937
s 00002/00002/00043
d D 1.4 83/03/02 17:14:31 mrk 4 3
c modified to allow 16 pie slices
e
s 00000/00000/00045
d D 1.3 83/02/09 11:40:42 mrk 3 2
c no changes made
e
s 00000/00000/00045
d D 1.2 83/01/28 14:07:56 tes 2 1
c initial_internal_update
e
s 00045/00000/00000
d D 1.1 83/01/28 13:06:16 tes 1 0
c date and time created 83/01/28 13:06:16 by tes
e
u
tes
mjb
mrk
mmm
U
t
T
I 1
subroutine pielbl (slice, ilen, string)
########################################################################
#                                                                      #
#          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: label a pie slice                                      #
#                                                                      #
#     Input Parameters:                                                #
#            slice - slice number in order defined                     #
#            ilen - lenth of character string                          #
#            string - text string                                      #
#                                                                      #
#     Output Parameters:                                               #
#            none                                                      #
#                                                                      #
#     Routines Called:                                                 #
#            gptxat - set proper text attributes                       #
#            imove  - modify current position for later action         #
#            text   - ouput a text string                              #
#                                                                      #
########################################################################
integer slice, ilen, string(1)
integer gimnmx, j
 
include(`pltcom')
 
DxB write (DEBUGxUNIT, 100) slice, ilen, string(1)
DxB 100 format (' pielbl:', 3i5)
 
   nclip = YES   # Turn on clipping
D 4
   j = gimnmx (slice, 1, 15)
E 4
I 4
   j = gimnmx (slice, 1, 16)
E 4
   njust(PIExTEXTxATT) = npslcj(j)
   call gptxat (PIExTEXTxATT)
D 4
   call imove (ABSOLUTE, zpspos(j), zpspos(j+15))
E 4
I 4
   call imove (ABSOLUTE, zpspos(j), zpspos(j+16))
E 4
   call text (ilen, string)
   nclip = NO
 
   return
end
E 1
