Module | Ruport::Formatter::PDF::DrawingHelpers |
In: |
lib/ruport/formatter/pdf.rb
|
This module provides tools to simplify some common drawing operations. It is included by default in the PDF formatter.
Draws text at an absolute location, defined by :y, :x1|:left, :x2|:right
All options to add_text are also supported.
Draws text at an absolute location, defined by :y, :x1|:left
The x position defaults to the left margin and the y position defaults to the current cursor location.
Uses PDF::Writer#add_text, so it will ignore any options not supported by that method.