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.
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).
Copy link to clipboard
Copied
Maybe this will give insight https://stackoverflow.com/questions/19908472/pdf-1-7-how-exactly-does-the-ctm-current-transformation...
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.
Copy link to clipboard
Copied
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).