Versions in this module Expand all Collapse all v0 v0.1.3 Sep 24, 2026 Changes in this version + func AppendCircleGeom(p *geom.Path, cx, cy, r float64) *geom.Path + func CirclePathGeom(cx, cy, r float64) *geom.Path + func LoadTestFace(t testing.TB, fontPath string) *canvas.FontFace + func MaskedChecker() image.Image + func OffscreenGradient() image.Image + func PickTestFont() string + func RoundedRectPath(x0, y0, x1, y1, r float64) *geom.Path + func SceneBackend(t testing.TB, b Renderer, fontPath string) + func SceneDirect(t testing.TB, ctx *canvas.Context, fontPath string) + func WavePath() *geom.Path + type DiffStat struct + AvgDelta float64 + Changed int + Hot int + MaxDelta int + func CalcDiff(t testing.TB, a, b *image.RGBA) DiffStat + type Renderer interface + ClearFill func() + ClearStroke func() + CopyStrokeToFill func() + CurrentMatrix func() geom.Matrix + DrawImage func(img image.Image, x, y float64, dpmm float64) + DrawPath func(x, y float64, p *geom.Path) + RenderImage func(img image.Image, m geom.Matrix) + SetDashes func(offset float64, dashes ...float64) + SetFillColor func(c color.Color) + SetFillGradient func(g geom.Gradient) + SetFillRule func(rule geom.FillRule) + SetStrokeCapper func(cap geom.Capper) + SetStrokeColor func(c color.Color) + SetStrokeJoiner func(join geom.Joiner) + SetStrokeWidth func(w float64) + TextPath func(p *geom.Path, x, y float64)