Blender V4.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
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,
22 ReportList *reports,
23 const int *sizes,
24 int sizes_num);
25
26bool rna_CurvesGeometry_remove_curves(blender::bke::CurvesGeometry &curves,
27 ReportList *reports,
28 const int *indices_ptr,
29 int indices_num);
30
31bool rna_CurvesGeometry_resize_curves(blender::bke::CurvesGeometry &curves,
32 ReportList *reports,
33 const int *sizes_ptr,
34 int sizes_num,
35 const int *indices_ptr,
36 int indices_num);
37
38#endif