Quantcast
Channel: Adobe Community: Message List - Acrobat SDK
Viewing all articles
Browse latest Browse all 10848

Re: Drawing on Reader page using AVPageViewAcquireMachinePort() in Mac OS X 10.7

$
0
0

Looks like Mozila plug-ins developers solve it for us:

https://wiki.mozilla.org/NPAPI:CoreGraphicsDrawing

All I need is:

 

CGContextRef cgContext;

CGrafPtr port = (CGrafPtr) AVPageViewAcquireMachinePort(pageView);

QDBeginCGContext(port, &cgContext);

// use cgContext to draw ...

QDEndCGContext(port, &cgContext);

 

Thanks.


Viewing all articles
Browse latest Browse all 10848

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>