next up previous contents
Next: logical_x_position Up: assign_position.pl Previous: assign_position.pl

assign_position

# Arguments:     $data_size$ : number of items in a stack element
#                @stack = the stack:
#                      #ppd : preprocessor directive
#                      expr : expression for #ppd
#                      lin# : line number
#            
# Return Values: $max_x$     : the maximum x for any part of the graph
#                $max_y$     : the maximum y for the graph (location of the 
#                             last #endif
#                @x_y_stack = the stack:
#                      #ppd : preprocessor directive
#                      expr : expression for #ppd
#                      lin# : line number
#                      blk_x: distance over from p_x to draw line from #ppd
#                      p_y    : physical y position for #ppd
#                      l_x   : logical x for #ppd
#                      p_x   : physical x for #ppd
# Description: determines the x and y positions on the graph
#              for each #directive and the maximum x and y for the graph