Blender V4.5
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::bke {
16class CurvesGeometry;
17}
18
19struct ReportList;
20
21bool rna_CurvesGeometry_add_curves(blender::bke::CurvesGeometry &curves,
23 const int *sizes,
24 int sizes_num);
25
26bool rna_CurvesGeometry_remove_curves(blender::bke::CurvesGeometry &curves,
28 const int *indices_ptr,
29 int indices_num);
30
31bool rna_CurvesGeometry_resize_curves(blender::bke::CurvesGeometry &curves,
33 const int *sizes_ptr,
34 int sizes_num,
35 const int *indices_ptr,
36 int indices_num);
37
38bool rna_CurvesGeometry_reorder_curves(blender::bke::CurvesGeometry &curves,
40 const int *reorder_indices_ptr,
41 int reorder_indices_num);
42
43bool rna_CurvesGeometry_set_types(blender::bke::CurvesGeometry &curves,
45 int type,
46 const int *indices_ptr,
47 int indices_num);
48
49#endif
ReportList * reports
Definition WM_types.hh:1025