| 11427 | return val |
| 11428 | |
| 11429 | def get_bboxlog(self, layers=None): |
| 11430 | CheckParent(self) |
| 11431 | old_rotation = self.rotation |
| 11432 | if old_rotation != 0: |
| 11433 | self.set_rotation(0) |
| 11434 | page = self.this |
| 11435 | rc = [] |
| 11436 | inc_layers = True if layers else False |
| 11437 | dev = JM_new_bbox_device( rc, inc_layers) |
| 11438 | mupdf.fz_run_page( page, dev, mupdf.FzMatrix(), mupdf.FzCookie()) |
| 11439 | mupdf.fz_close_device( dev) |
| 11440 | |
| 11441 | if old_rotation != 0: |
| 11442 | self.set_rotation(old_rotation) |
| 11443 | return rc |
| 11444 | |
| 11445 | def get_cdrawings(self, extended=None, callback=None, method=None): |
| 11446 | """Extract vector graphics ("line art") from the page.""" |