iphone - Combination of UIScrollView - CATiledLayer - PDF and Quartz drawing -


i want draw lines, rectangles, ... on full zoomable pdf (so without quality loss) in iphone/ipad project.

first: have based me on sample: http://www.olivetoast.com/blog/2009/08/simple-uiscrollview-catiledlayer-pdf-example/ this sample makes possible zoom on pdf full quality

second: , have based on sample: http://www.iphonedevbook.com/forum/viewforum.php?f=1&sid=6d52a0d08a8c6a807cdedfde6a041088 the sample named quartzfun of book. it's drawing line, rectangle, ...

these 2 samples working separate, when want combine them can't draw line... making thins more simple have combined code here: http://www.megafileupload.com/en/file/297790/simpletiledscrollexample-1-zip.html

can tell me change let work?

thanks in advance

first of all, not use quartz draw onto existing pdf files. works mostly, doesn't work when fonts used in original file not available on iphone/ipad , kinds of results.

secondly, think of drawing lines on screen , writing them pdf file 2 separate actions. is, draw objects on layer on screen using quartz2d , pdf-rendering use function translates objects on screen pdf commands pdf-library of choice.

the podofo library choice , there information online compiling ios. paperpad had written own simple pdf-render library switch podofo in next update.

cheers, engin.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -