Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

src/ tests/: address #2911, type returned by Page.derotation_matrix() #2913

Merged
merged 1 commit into from
Dec 19, 2023

Conversation

julian-smith-artifex-com
Copy link
Collaborator

src/init.py:
Matrix.init(): also accept single mupdf.FzMatrix arg.
Path.derotation_matrix(): return a Matrix, not a tuple.
src/extra.i
Page_derotate_matrix(): return a mupdf::FzMatrix, not tuple.
tests/test_annots.py
Added an assert that page.derotation_matrix is a fitz.Matrix.

…atrix()

src/__init__.py:
    Matrix.__init__(): also accept single mupdf.FzMatrix arg.
    Path.derotation_matrix(): return a Matrix, not a tuple.
src/extra.i
    Page_derotate_matrix(): return a mupdf::FzMatrix, not tuple.
tests/test_annots.py
    Added an assert that page.derotation_matrix is a fitz.Matrix.
@julian-smith-artifex-com julian-smith-artifex-com merged commit 94bc01b into pymupdf:main Dec 19, 2023
2 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Dec 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants