Skip to main content

Module brush_sampling

Module brush_sampling 

Source

Functions§

gradient_dither_offset
The ordered-dither offset a gradient gets at device pixel (x, y), in output levels — the same value Skia adds, so a Cranpose gradient lands on the same bytes as the Jetpack Compose gradient it is standing in for.