Skip to content

Need help with pdf coords to viewport point conversion #19170

Answered by calixteman
jorgebenaventee asked this question in Q&A
Discussion options

You must be logged in to vote

You can do something similar to what we do when rendering an annotation:

_createContainer(ignoreBorder) {

data.rect contains the rect dimensions of the annotation bbox as defined in the pdf.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jorgebenaventee
Comment options

Answer selected by jorgebenaventee
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