Ask a Question related to Adobe Acrobat SDK, Design and Development.
-
Florin_O@adobeforums.com #1
Convert user space coordinates to device coordinates
Hi,
I need to convert the coordinates of a word (PDWord object) to device coordinates (the actual coordinates on the screen). Could someone please point me how to do it, what formula to apply ?
Thank you.
I use Adobe 9 SDK with VS2008.
Florin_O@adobeforums.com Guest
-
x and y coordinates
Is there a way to enter the x and y coordinates of an object to change its position on the page. I see the info pallette gives the x and y... -
colorpicker with uv coordinates
i thought it would be easy to figure out how a colorpicker for textures could be done. but i run into a problem! i made a cube and generated for... -
Mouse Coordinates -- off .swf
Hi - I'm trying to display mouse coordinates as a design element for my portfolio site. That part is easy enough, but I want to keep tracking the... -
Some help with coordinates please!
Hullo! Ok, so, I have this friend (clichè? no, no, I swear it's true!) that has a problem. I thought i could help her but I couldn't after all. ... -
Text Coordinates?
I am creating a custom menu for a game and it is imperative that the text that I place is placed at the right coordinates (x,y). Is there a way in PS... -
PDL@adobeforums.com #2
Re: Convert user space coordinates to device coordinates
Please see AVPageViewPointToDevice in the SDK 9 Documentation.
Please also note that SDK 9 was only certified with VS2005 - it was not tested against VS2008 so correct results using this platform cannot be guaranteed.
PDL@adobeforums.com Guest
-
Florin_O@adobeforums.com #3
Re: Convert user space coordinates to device coordinates
Hi,
Thank you for the answer. I still have one issue though.
I use AVPageViewGetFirstVisiblePageNum/AVPageViewGetLastVisiblePageNum functions to find the visible pages. If two pages are displayed in the same time, I can only convert the coordinates for words that belong to "active" page, that is, the page obtained using AVPageViewGetPageNum function.
Is there a possibility to get the correct coordinates for the other visible page(s) ?
I tested with VS2005 as well and got the same results.
Thank you.
Florin_O@adobeforums.com Guest



Reply With Quote

