Blender V5.3
grease_pencil_fills.cc File Reference
#include "BLI_map.hh"
#include "BLI_vector.hh"
#include "BLI_virtual_array.hh"
#include "BKE_curves.hh"
#include "BKE_curves_utils.hh"
#include "BKE_grease_pencil_fills.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::bke
namespace  blender::bke::greasepencil

Functions

std::optional< FillCache > blender::bke::greasepencil::fill_cache_from_fill_ids (const VArray< int > &fill_ids)
ShapeData blender::bke::greasepencil::shapes_from_fill_ids (const VArray< int > &fill_ids, int curves_num)
static int blender::bke::greasepencil::get_next_available_fill_id_from_max (const int max_fill_id)
int blender::bke::greasepencil::get_next_available_fill_id (Span< int > fill_ids)
int blender::bke::greasepencil::get_next_available_fill_id (const VArray< int > &fill_ids)
void blender::bke::greasepencil::gather_next_available_fill_ids (const VArray< int > &fill_ids, MutableSpan< int > r_new_fill_ids)
void blender::bke::greasepencil::gather_next_available_fill_ids (const VArray< int > &fill_ids, const IndexMask &curve_mask, MutableSpan< int > r_new_fill_ids)
IndexMask blender::bke::greasepencil::selected_mask_to_fills (const IndexMask &selected_mask, const CurvesGeometry &curves, AttrDomain selection_domain, IndexMaskMemory &memory)
IndexMask blender::bke::greasepencil::curves_mask_to_shapes (const IndexMask &curve_mask, const GroupedSpan< int > shapes, IndexMaskMemory &memory)
void blender::bke::greasepencil::separate_fill_ids (CurvesGeometry &curves, const IndexMask &strokes_to_keep)