ONO::Lib::PDF::Elements::Ruler

This module generates specific PDF content.

Functions

ruler();

This generates a ruler image.

Switches:

-B b/w (overrules both colors and -C switch)
-c comma as label delimited (non-US)
-C color: random
-E EU comma delimiter
-F only first label is displayed
-H HTML mode (no PDF)
-L no labels at all
-m millimeters
-p pre-roll (lines before zero)
-z zero, add zero to all displayed labels (can be combined with -Z to have 3 zeroes)
-Z double zero, adds 2 zeroes to all displayed labels (can be combined with -Z to have 3 zeroes)

ONO::Lib::PDF::Elements::Ruler->ruler( $canvas, $pdf_x, $pdf_y, $width, $height, $start, $step, $color, $switches, $setup_ref );
returns: $HTML

ruler_random_color();

ONO::Lib::PDF::Elements::Ruler->ruler_random_color( );

Sub-Modules

none

Dependencies

Code