Low-level operations for grease pencil.
Span< T > as_span() const
IndexMask selected_mask_to_fills(const IndexMask &selected_mask, const CurvesGeometry &curves, AttrDomain selection_domain, IndexMaskMemory &memory)
std::optional< FillCache > fill_cache_from_fill_ids(const VArray< int > &fill_ids)
int get_next_available_fill_id(Span< int > fill_ids)
IndexMask curves_mask_to_shapes(const IndexMask &curve_mask, const GroupedSpan< int > shapes, IndexMaskMemory &memory)
void gather_next_available_fill_ids(const VArray< int > &fill_ids, MutableSpan< int > r_new_fill_ids)
void separate_fill_ids(CurvesGeometry &curves, const IndexMask &strokes_to_keep)
ShapeData shapes_from_fill_ids(const VArray< int > &fill_ids, int curves_num)
const GroupedSpan< int > shapes() const
Vector< int > shape_offsets