module Hpdf::Grid
Overview
Grip is a helper to draw a fine grid on the page.
Use it in your custom Doc#page
pages:
class MyPage < Hpdf::Page
include Hpdf::Grid
# ...
end
Hpdf::Doc.build do |pdf|
page(MyPage) do |page|
# ...
end
end
Defined in:
hpdf/grid.crInstance Method Summary
-
#draw_grid
draw the full grid
- #draw_horizontal_lines
- #draw_horizontal_text
- #draw_virtical_lines
- #draw_virtical_text