Can Pymupdf implement the clipPith function of ReportLab library? #1939
-
|
draw_* Can it be used to achieve the shearing function? For example polygons shearing picture irregularly。 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
You can use the |
Beta Was this translation helpful? Give feedback.
You can use the
morphparameter to achieve these effects.Specify as
(point, matrix), wherepointis somefitz.Pointto be used as fixed point, and matrix is afitz.Matrixwith the desired effect (rotation, shearing, flipping, ...)."Fixed point" means, that a rotation will happen around this point, a flipping will happen with respect to the (horizontal, resp. vertical) line containing this point, similar for shearing.