Skip to content
Discussion options

You must be logged in to vote

Simply use the morph parameter: you must provide morph=(point, matrix), where pointis a fitz.Point to be used as a fixpoint and matrix a fitz.Matrix. This can be any any matrix with matrix.e = matrix.f = 0.
So to show inserted text rotated by 45° around the insertion point do page.insert_text(point, text, morph=(point, fitz.Matrix(45)).

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@JorjMcKie
Comment options

Answer selected by JorjMcKie
@khetaniarpan
Comment options

@JorjMcKie
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2721 on October 06, 2023 06:37.