Next / Previous / Contents / Shipman's homepage

15. regionBody()

fosox.py
# - - -   r e g i o n B o d y

def regionBody(s, dims):
    '''Generate a region-body element.

      [ (s is a sox.Sox instance) and
        (dims a PageDims instance) ->
          s  +:=  a complete region-body element using dims for body
                  margins ]
    '''
    s.leaf("region-body", dims.bodyMargins.dict())