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.

Methods

Public Instance methods

Alias for PDF::Writer#absolute_bottom_margin

Alias for PDF::Writer#y

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.

Draws a horizontal line from x1 to x2

Draws a horizontal line from left_boundary to right_boundary

hr()

Alias for horizontal_rule

Alias for PDF::Writer#absolute_left_margin

Alias for PDF::Writer#absolute_right_margin

Alias for PDF::Writer#absolute_top_margin

Draws a vertical line at x from y1 to y2

[Validate]