Versions in this module Expand all Collapse all v0 v0.5.0 Feb 22, 2022 Changes in this version + func BuildAndWriteSVG(src io.Reader, dst io.Writer) + type Bridge struct + func (b Bridge) Draw(out io.Writer) + type Canvas struct + Height int + Width int + func NewCanvas(in io.Reader) Canvas + func (c *Canvas) Bridges() []Drawable + func (c *Canvas) Circles() []Circle + func (c *Canvas) HalfSteps() []Line + func (c *Canvas) Lines() []Line + func (c *Canvas) RoundedCorners() []RoundedCorner + func (c *Canvas) String() string + func (c *Canvas) Text() []Drawable + func (c *Canvas) Triangles() []Drawable + func (c *Canvas) WriteSVGBody(dst io.Writer) + type Circle struct + func (c *Circle) Draw(out io.Writer) + type Drawable interface + Draw func(out io.Writer) + type Index struct + type Line struct + func (l Line) Draw(out io.Writer) + type Orientation int + const E + const N + const NE + const NONE + const NW + const S + const SE + const SW + const W + type Pixel Index + type RoundedCorner struct + func (c *RoundedCorner) Draw(out io.Writer) + type SVG struct + Body string + Height int + Width int + func BuildSVG(src io.Reader) SVG + func (s SVG) String() string + type Text struct + func (t Text) Draw(out io.Writer) + type Triangle struct + func (t Triangle) Draw(out io.Writer)