Versions in this module Expand all Collapse all v0 v0.1.4 Jun 1, 2024 v0.1.3 May 5, 2024 v0.1.2 May 1, 2024 v0.1.1 May 1, 2024 Changes in this version + type BaseSpanner struct + Bounds image.Rectangle + FgColor color.RGBA + Op draw.Op + type Cell struct + Area int + Cover int + Next int + Xi int + type ImgSpanner struct + ColorImage image.Image + Pix []uint8 + Stride int + func NewImgSpanner(img *image.RGBA) (x *ImgSpanner) + func (x *ImgSpanner) GetSpanFunc() SpanFunc + func (x *ImgSpanner) SetColor(c image.Image) + func (x *ImgSpanner) SetImage(img *image.RGBA) + func (x *ImgSpanner) SpanColorFunc(yi, xi0, xi1 int, ma uint32) + func (x *ImgSpanner) SpanColorFuncR(yi, xi0, xi1 int, ma uint32) + func (x *ImgSpanner) SpanFgColor(yi, xi0, xi1 int, ma uint32) + func (x *ImgSpanner) SpanFgColorR(yi, xi0, xi1 int, ma uint32) + type LinkListSpanner struct + BgColor color.RGBA + LastP int + LastY int + Spans []SpanCell + func (x *LinkListSpanner) AddLink(x0, x1, next, pp int, underColor color.RGBA, alpha uint32) (p int) + func (x *LinkListSpanner) BlendColor(under color.RGBA, ma uint32) color.RGBA + func (x *LinkListSpanner) Clear() + func (x *LinkListSpanner) DrawToImage(img image.Image) + func (x *LinkListSpanner) GetSpanFunc() SpanFunc + func (x *LinkListSpanner) SetBgColor(c image.Image) + func (x *LinkListSpanner) SetBounds(bounds image.Rectangle) + func (x *LinkListSpanner) SetColor(c image.Image) + func (x *LinkListSpanner) SpanOver(yi, xi0, xi1 int, ma uint32) + func (x *LinkListSpanner) SpansToImage(img draw.Image) + func (x *LinkListSpanner) SpansToPix(pix []uint8, stride int) + type Scanner struct + A fixed.Point26_6 + Area int + Cell []Cell + CellIndex []int + Clip image.Rectangle + Cover int + MaxX fixed.Int26_6 + MaxY fixed.Int26_6 + MinX fixed.Int26_6 + MinY fixed.Int26_6 + Spanner Spanner + UseNonZeroWinding bool + Width int + Xi int + Yi int + func NewScanner(xs Spanner, width, height int) (sc *Scanner) + func (s *Scanner) AreaToAlpha(area int) uint32 + func (s *Scanner) Clear() + func (s *Scanner) Draw() + func (s *Scanner) FindCell() int + func (s *Scanner) GetPathExtent() fixed.Rectangle26_6 + func (s *Scanner) Line(b fixed.Point26_6) + func (s *Scanner) SaveCell() + func (s *Scanner) Scan(yi int, x0, y0f, x1, y1f fixed.Int26_6) + func (s *Scanner) Set(a fixed.Point26_6) + func (s *Scanner) SetBounds(width, height int) + func (s *Scanner) SetCell(xi, yi int) + func (s *Scanner) SetClip(r image.Rectangle) + func (s *Scanner) SetColor(clr image.Image) + func (s *Scanner) SetWinding(useNonZeroWinding bool) + func (s *Scanner) Start(a fixed.Point26_6) + type SpanCell struct + Clr color.RGBA + Next int + X0 int + X1 int + type SpanFunc func(yi, xi0, xi1 int, alpha uint32) + type Spanner interface + GetSpanFunc func() SpanFunc + SetColor func(color image.Image)