Render rectangle

Help
nipps
2010-08-08
2013-04-17
  • nipps

    nipps - 2010-08-08

    Hello. Is there any way to render a rectangle and not the whole page ?  I would like to implement zoom where you can zoom-in in a selected area.

     
  • mtraut

    mtraut - 2010-08-09

    you simply have to adjust the user space to your needs. There are examples in de.intarsys.pdf.example.rendering.awt.RenderDoc and de.intarsys.pdf.example.viewer.awt.PDFCanvas. You define a new offset using AffineTransform.translate().

     
  • nipps

    nipps - 2010-08-09

    Yes, I forgot the examples, my fault. Thank you very much.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks