Versions in this module Expand all Collapse all v0 v0.7.1 Aug 19, 2025 Changes in this version + type ASCIIartist struct + FH float64 + FW float64 + SCALE float64 + func NewASCIIartist() *ASCIIartist + func (a *ASCIIartist) CalibrateXY(x, y float64) (float64, float64) + func (a *ASCIIartist) GetBoundary(s d2target.Shape) (Point, Point) + func (a *ASCIIartist) GetBoundaryForShape(s d2target.Shape) (asciiroute.Point, asciiroute.Point) + func (a *ASCIIartist) GetCanvas() *asciicanvas.Canvas + func (a *ASCIIartist) GetChars() charset.Set + func (a *ASCIIartist) GetContext() context.Context + func (a *ASCIIartist) GetDiagram() *d2target.Diagram + func (a *ASCIIartist) GetFontHeight() float64 + func (a *ASCIIartist) GetFontWidth() float64 + func (a *ASCIIartist) GetScale() float64 + func (a *ASCIIartist) Render(ctx context.Context, diagram *d2target.Diagram, opts *RenderOpts) ([]byte, error) + type Boundary = asciiroute.Boundary + func NewBoundary(tl, br Point) *Boundary + type Point = asciiroute.Point + type RenderOpts struct + Charset charset.Type + Scale *float64