Blender V4.3
BKE_gpencil_curve_legacy.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2008 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
11#ifdef __cplusplus
12extern "C" {
13#endif
14
15struct Main;
16struct Object;
17struct Scene;
18struct bGPDcurve;
19struct bGPDlayer;
20struct bGPDstroke;
21struct bGPdata;
22
27 float error_threshold,
28 float corner_angle,
29 float stroke_radius);
34 struct bGPDstroke *gps,
35 struct bGPDcurve *gpc);
40void BKE_gpencil_editcurve_subdivide(struct bGPDstroke *gps, int cuts);
41
42#ifdef __cplusplus
43}
44#endif
void BKE_gpencil_editcurve_subdivide(struct bGPDstroke *gps, int cuts)
struct bGPDcurve * BKE_gpencil_stroke_editcurve_generate(struct bGPDstroke *gps, float error_threshold, float corner_angle, float stroke_radius)
void BKE_gpencil_editcurve_stroke_sync_selection(struct bGPdata *gpd, struct bGPDstroke *gps, struct bGPDcurve *gpc)
void BKE_gpencil_editcurve_recalculate_handles(struct bGPDstroke *gps)