Function traverse_with_callbacks

Source
pub(crate) fn traverse_with_callbacks(
    paint: &ResolvedPaint<'_>,
    instance: &ColrInstance<'_>,
    painter: &mut impl ColorPainter,
    decycler: &mut Decycler<usize, MAX_TRAVERSAL_DEPTH>,
    resolved_stops: &mut SmallVec<ColorStop, MAX_INLINE_COLOR_STOPS>,
    recurse_depth: usize,
) -> Result<(), PaintError>