For what reason IRect exists? #3583
Unanswered
dantetemplar
asked this question in
Q&A
Replies: 1 comment
-
Okay, I guess "I" stands for "Integer" |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is your feature request related to a problem? Please describe.
While attempting to refactor the pymupdf4llm module (and incidentally discovering several bugs in it), I came across the IRect class. What is the purpose of this class if it is entirely identical to pymupdf.Rect? The instances where the code differs have only raised further questions.
Describe the solution you'd like
Code stability and consistency, reuse of existing code directly.
Describe alternatives you've considered
At least, use Rect as baseclass for IRect. Or use Rect only and dynamically decide how to increase speed for integer rect operations (may be just argument).
Additional context
class IRect
class Rect
Beta Was this translation helpful? Give feedback.
All reactions