class

Piebox::Renderer

Inherits Reference < Object

Constants

MM_TO_PT = 72.0 / 25.4

Constructors

new(manifest : Manifest)

Convenience constructor from a Manifest.

Source
new(page_width : Float64 = 210.0, page_height : Float64 = 297.0, margin : Float64 = 10.0, gutter : Float64 = 5.0)

Direct constructor with dimensions in mm.

Source

Instance methods

gutter
Source
margin
Source
page_height
Source
page_width
Source
render(pages : Array(Page), output_path : String)
Source