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

Annotation: Supply API to get RD value from an annotation #32

Closed
jamie-lemon opened this issue Mar 15, 2024 · 1 comment
Closed

Annotation: Supply API to get RD value from an annotation #32

jamie-lemon opened this issue Mar 15, 2024 · 1 comment
Assignees
Labels
annotations core-api Requires an update in the MuPDF source code to enable the API

Comments

@jamie-lemon
Copy link
Collaborator

Required for rendering FreeTextCallout properly. Determining the textbox's location is only possible through calculating the bbox and RD. (please refer to the attached picture for clarification)

image

@jamie-lemon jamie-lemon added the core-api Requires an update in the MuPDF source code to enable the API label Mar 15, 2024
@jamie-lemon jamie-lemon changed the title Supply API to get RD value from an annotation Annotation: Supply API to get RD value from an annotation Mar 18, 2024
@ccxvii
Copy link
Collaborator

ccxvii commented Aug 13, 2024

The RD property is handled internally by the core library for the annotations that use it. There should be no need for accessing this explicitly from JS.

The details of editing the text box and the callout line can be handled in issue #39

@ccxvii ccxvii closed this as completed Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
annotations core-api Requires an update in the MuPDF source code to enable the API
Projects
None yet
Development

No branches or pull requests

2 participants