Article View: adobe.acrobat.sdk
Article #119Re: Plugin with similar functionality to snapshot tool
From: Steve_J_Willis
Date: Mon, 23 Mar 2009 22:35
Date: Mon, 23 Mar 2009 22:35
11 lines
1435 bytes
1435 bytes
Hi Leonard, Thanks for the quick reply! Let me break down the areas I'm still unclear on into a couple of questions: (1) What is the best way to allow the user to draw a rectangular selection? Are there some callback functions I should implement to allow the user to click and drag a marquee, or do I have to handle the code to draw the rectangle myself? I'm wondering, for example, if I need to implement the drawing code as part of a custom AVTool DoClickProcType callback, or if there is a better, built in way to get a rectangular area that a user has drawn (given that this operation is common to many tools). (2) Once I have the rectangular selection coordinates from #1 above, how do I render it to an offscreen bitmap as you suggested? Is there a function in the API that allows me to do this? Thanks again! Steve
Technical Details
Message-ID:
<59b8621e.1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newshub.sdsu.edu!webcrossingReferences:
<59b8621e.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: 10177e,cbacbd6cf41f1f61 X-Google-Attributes: gid10177e,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Steve_J_Willis@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.acrobat.sdk Subject: Re: Plugin with similar functionality to snapshot tool Message-ID: <59b8621e.1@webcrossing.la2eafNXanI> Date: Mon, 23 Mar 2009 15:35:35 -0700 References: <59b8621e.-1@webcrossing.la2eafNXanI> Lines: 20 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit