Skip to content
  • Pino Toscano's avatar
    Change the way we rotate the pages. · c52a0e62
    Pino Toscano authored
    Instead of telling the generators to do the work themselves (that was usually destraoying the ld pages and creating the new ones), now we just rotate the page objects deleting only their "mutable" contents.
    This way, generators can just return true in their supportRotation() to make okular rotate the pages for them for free. Of course they still have to generate the page pixmaps according to the given page rotation.
    Now, there's a new rotationChanged() function in the Generator API so generator that needs it can be norified about the document rotation changing.
    
    CCMAIL: developers@okular.org
    
    svn path=/trunk/playground/graphics/okular/; revision=593632
    c52a0e62