Module | Prawn::Document::Destinations |
In: |
lib/prawn/document/destinations.rb
|
Adds a new destination to the dests name tree (see dests). The reference parameter will be converted into a Prawn::Reference if it is not already one.
Same as dest_fit_horizontally, but works on the page’s bounding box instead of the entire page.
Same as dest_fit_vertically, but works on the page’s bounding box instead of the entire page.
Return a Dest specification that will fit the given page horizontally into the viewport, aligned vertically at the given top coordinate.
Return a Dest specification that will fit the given rectangle into the viewport, for the given page.
Return a Dest specification that will fit the given page vertically into the viewport, aligned horizontally at the given left coordinate.