Module: Sevgi::Sundries

Defined in:
lib/sevgi/sundries.rb,
lib/sevgi/sundries/grid.rb,
lib/sevgi/sundries/tile.rb,
lib/sevgi/sundries/ruler.rb,
lib/sevgi/sundries/export.rb,
lib/sevgi/sundries/version.rb,
lib/sevgi/sundries/export/native.rb,
lib/sevgi/sundries/export/system.rb

Overview

Layout, tiling, grid, and export helpers shared by Sevgi 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 "sevgi/sundries"

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

See Also:

Defined Under Namespace

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

Constant Summary collapse

VERSION =

Component version.

"0.98.2"