Constant tiny_skia::edge::MAX_COEFF_SHIFT

source ยท
const MAX_COEFF_SHIFT: i32 = 6;
Expand description

We store 1<<shift in a (signed) byte, so its maximum value is 1<<6 == 64.

Note that this limits the number of lines we use to approximate a curve. If we need to increase this, we need to store curve_count in something larger than i8.