NAME

Renard::Incunabula::Document::Role::Renderable - Role for documents that can render their pages

VERSION

version 0.004

METHODS

get_rendered_page

  get_rendered_page( %opts )

Returns a Renard::Incunabula::Page::Role::CairoRenderable.

The options for this function are:

  • <page_number = PageNumber $page_number>>:

    The page number to retrieve.

    Required. Value must be a PageNumber which must be between the first_page_number and last_page_number.

  • <zoom_level = ZoomLevel $zoom_level>>:

    The amount of zoom to use in order to control the dimensions of the rendered page. This is 1.0 by default.

    Optional. Value must be a ZoomLevel.

AUTHOR

Project Renard

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Project Renard.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.