class PDF::Reader::PageLayout

def page_width

def page_width
  # TODO once @mediabox is a Rectangle, this can be just `@mediabox.width`
  (@mediabox[2].to_f - @mediabox[0].to_f).abs
end