Expand description
The vello_cpu backend — an adapter of crate::display::Target: any
area of a display list painted into a pixmap, and a tile’s straight-alpha
pixels, for the server’s tiles, the PNG and a browser without WebGPU.
Structs§
- Cpu
- The
vello_cpubackend ofcrate::display::paint.
Functions§
- paint_
area - Paints
areaoflist— in the design’s coordinates, whole pixels atscale— withvello_cpu: one tile, band or whole drawing. - strip
- A strip of the drawing at 1×, straight RGBA:
TILEpixels wide at tile columncol,rowstall from pixel rowy— a piece of a PNG band too wide for whole tiles. - tile
- A tile’s pixels, straight RGBA,
TILEa side. - unpremultiply
- Straight alpha from premultiplied, rounding as the PNG encoder does.