Make a DisplayList from the page for Pixmap generation. Include (default) or exclude annotations.
(self, annots=1)
| 11492 | return ret |
| 11493 | |
| 11494 | def get_displaylist(self, annots=1): |
| 11495 | ''' |
| 11496 | Make a DisplayList from the page for Pixmap generation. |
| 11497 | |
| 11498 | Include (default) or exclude annotations. |
| 11499 | ''' |
| 11500 | CheckParent(self) |
| 11501 | if annots: |
| 11502 | dl = mupdf.fz_new_display_list_from_page(self.this) |
| 11503 | else: |
| 11504 | dl = mupdf.fz_new_display_list_from_page_contents(self.this) |
| 11505 | return DisplayList(dl) |
| 11506 | |
| 11507 | def get_drawings(self, extended: bool=False) -> list: |
| 11508 | """Retrieve vector graphics. The extended version includes clips. |