next up previous contents
Next: gen_image.pl Up: assign_position.pl Previous: y_position

physical_x_position

# Arguments:   $current_p_x$ : the current physical x position
#              $current_l_x$ : the current logical x position
#              $data_size$   : # of items in a stack element
#              @stack       : stack of directives containing logical x values
#            
# Return Values: $max_x$     : the maximum physical x value seen at the current
#                             logical level
#                @stack     : stack of directives containing physical x values
#                             for all the elements in the current block
# Description: Look at each element in the stack. Find a logical block.
#              Recurse on each branch in that block. Assign x values to
#              each element in the stack and return.