-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
This is just to check if my observations are correct and I don't start implementing stuff in a fork that is already there.
Basically I have the need for a variant of Page::to_pixmap
that allows for a clipping rectangle for zooming into an area. There doesn't seem to be a utility function in mupdf-c that implements that. In py-mupdf it was added in 2016 (pymupdf/PyMuPDF#54).
I set out to implement the functionality in Rust, but could not find references to functions like fz_transform_rect
and fz_round_rect
.
My question boils down to:
- is there a variant of
to_pixmap
available that allows for a clipping rectangle - if not, are the basic mupdf functions required to implement it available through mupdf-rs
Metadata
Metadata
Assignees
Labels
No labels