Blender V5.3
rna_curves_utils.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2024 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9#pragma once
10
11/* Common utility functions for CurvesGeometry */
12
13#ifdef RNA_RUNTIME
14
15namespace blender {
16
17namespace bke {
18class CurvesGeometry;
19}
20
21struct ReportList;
22
23bool rna_CurvesGeometry_add_curves(bke::CurvesGeometry &curves,
24 ReportList *reports,
25 const int *sizes,
26 int sizes_num);
27
28bool rna_CurvesGeometry_remove_curves(bke::CurvesGeometry &curves,
29 ReportList *reports,
30 const int *indices_ptr,
31 int indices_num);
32
33bool rna_CurvesGeometry_resize_curves(bke::CurvesGeometry &curves,
34 ReportList *reports,
35 const int *sizes_ptr,
36 int sizes_num,
37 const int *indices_ptr,
38 int indices_num);
39
40bool rna_CurvesGeometry_reorder_curves(bke::CurvesGeometry &curves,
41 ReportList *reports,
42 const int *reorder_indices_ptr,
43 int reorder_indices_num);
44
45bool rna_CurvesGeometry_set_types(bke::CurvesGeometry &curves,
46 ReportList *reports,
47 int type,
48 const int *indices_ptr,
49 int indices_num);
50
51} // namespace blender
52
53#endif
BMesh Iterators.