NAME

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

VERSION

version 0.001

METHODS

get_rendered_page

get_rendered_page( %opts )

Returns a Renard::Curie::Model::Page::Role::CairoRenderable.

The options for this function are:

  • page_number:

    The page number to retrieve.

    Required. Value must be an Int which must be between the first_page_number and last_page_number.

  • zoom_level:

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

    Optional. Value must be a Float.

AUTHOR

Project Renard

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 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.