Class: Risu::Renderers::PDFRenderer
- Inherits:
-
Object
- Object
- Risu::Renderers::PDFRenderer
- Defined in:
- lib/risu/renderers/pdfrenderer.rb
Instance Method Summary collapse
- #font_size(x) ⇒ Object
-
#initialize ⇒ PDFRenderer
constructor
A new instance of PDFRenderer.
- #start_new_page ⇒ Object
- #text(text, *args) ⇒ Object
Constructor Details
#initialize ⇒ PDFRenderer
Returns a new instance of PDFRenderer.
27 28 29 |
# File 'lib/risu/renderers/pdfrenderer.rb', line 27 def initialize end |
Instance Method Details
#font_size(x) ⇒ Object
39 40 41 |
# File 'lib/risu/renderers/pdfrenderer.rb', line 39 def font_size x true end |
#start_new_page ⇒ Object
45 46 47 |
# File 'lib/risu/renderers/pdfrenderer.rb', line 45 def start_new_page true end |
#text(text, *args) ⇒ Object
33 34 35 |
# File 'lib/risu/renderers/pdfrenderer.rb', line 33 def text text, *args @output.text text, args end |