Module: Sumi::Sundries

Defined in:
sundries/lib/sumi/sundries.rb,
sundries/lib/sumi/sundries/grid.rb,
sundries/lib/sumi/sundries/tile.rb,
sundries/lib/sumi/sundries/ruler.rb,
sundries/lib/sumi/sundries/export.rb,
sundries/lib/sumi/sundries/imprint.rb,
sundries/lib/sumi/sundries/version.rb,
sundries/lib/sumi/sundries/export/input.rb,
sundries/lib/sumi/sundries/export/system.rb,
sundries/lib/sumi/sundries/export/staging.rb,
sundries/lib/sumi/sundries/export/metadata.rb,
sundries/lib/sumi/sundries/export/native/stamp.rb,
sundries/lib/sumi/sundries/export/native/render.rb,
sundries/lib/sumi/sundries/export/metadata/fields.rb,
sundries/lib/sumi/sundries/export/metadata/packet.rb,
sundries/lib/sumi/sundries/export/native/stamp/scanner.rb

Overview

Layout, tiling, grid, and export helpers shared by Sumi consumers.

Ruler fits repeatable distances into a span. Grid combines two rulers and exposes drawable lines. Tile repeats geometry by rows and columns. These layout values can be computed without an SVG document and then passed to Graphics. Native PDF/PNG dependencies remain lazy and are loaded only by Export.

Examples:

Load the component and build a tiled geometry layout

require "sumi/sundries"

cell = Sumi::Geometry::Rect[8, 4]
Sumi::Sundries::Tile.new(cell, nx: 3, ny: 2).box.deconstruct

See Also:

Defined Under Namespace

Modules: Export, Imprint Classes: Grid, Interval, Ruler, RulerEven, Tile

Constant Summary collapse

VERSION =

Component version.

"1.0.0"