• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers

Transforming co-ordinates ( PDEPathGetData )

Advisor ,
Mar 23, 2021 Mar 23, 2021

Copy link to clipboard

Copied

Hello,

 

I would like to transform the data return by PDEPathGetData to the page co-ordinates.  The documentation said ....

"Note that it returns raw path data. If you want the points in page coordinates, concatenate the path data points with the PDEElement matrix obtained from PDEElementGetMatrix()."

 

I am not sure how to do this.

 

Thanks you.

 

P.

TOPICS
Acrobat SDK and JavaScript

Views

108

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Mar 24, 2021 Mar 24, 2021

Once you have the principles, ASFixedMatrixConcat and related methods will make sense. You should also read the "Graphics" chapter in the PDF Reference; it's hard to understand the PDFEdit world without knowing what's inside the PDF (though PDFEdit is an abstraction of the PDF structure, not a direct mapping).

Likes

Translate

Translate
LEGEND ,
Mar 24, 2021 Mar 24, 2021

Copy link to clipboard

Copied

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Mar 24, 2021 Mar 24, 2021

Copy link to clipboard

Copied

Hello,

 

Thank you for your reply. 

 

It looks like I have a lot of learning to do. 🙂

 

Thanks.

 

P.

 

Edited to say. If you expand the messages you will see this link.

https://forum.patagames.com/posts/t501-What-Is-Transformation-Matrix-and-How-to-Use-It

 

This is useful.

 

Thank you.

 

P.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 24, 2021 Mar 24, 2021

Copy link to clipboard

Copied

LATEST

Once you have the principles, ASFixedMatrixConcat and related methods will make sense. You should also read the "Graphics" chapter in the PDF Reference; it's hard to understand the PDFEdit world without knowing what's inside the PDF (though PDFEdit is an abstraction of the PDF structure, not a direct mapping).

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines