View Source Terrestrial.Commands (terrestrial v0.2.0)

Helpers for working with SVG paths.

Summary

Functions

description(plane, cmds)

@spec description(term(), term()) :: String.t()

Generate the d attribute of a path elment

string_command(cmd)

@spec string_command(term()) :: String.t()

translate(cmd, plane)

@spec translate(term(), Terrestrial.Coordinates.plane()) :: term()