Repository navigation
This release makes a fill through a mask faster. The renderer draws the same bytes as v0.11.0.
go get github.com/xo/okage@v0.11.1- A fill through a mask skips the rows and the chunks of 16 pixels at its sides where the mask is 0. The chunks that stay keep their places, so the bytes match tiny-skia for each blend mode (D60).
Mask.IntersectPathtakes its temporary mask from a pool, and clears and multiplies only the rows that the path can cover (D60).
In ivy, an image drawn through a clip of one row went from 1.3 s to 0.1 s for each page, and a form of PDF from 7.3 s to 3.1 s.