diff options
Diffstat (limited to 'source/blender/blenkernel/BKE_gpencil_curve.h')
-rw-r--r-- | source/blender/blenkernel/BKE_gpencil_curve.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_gpencil_curve.h b/source/blender/blenkernel/BKE_gpencil_curve.h index c61427c6c4a..1821972469c 100644 --- a/source/blender/blenkernel/BKE_gpencil_curve.h +++ b/source/blender/blenkernel/BKE_gpencil_curve.h @@ -30,6 +30,10 @@ extern "C" { struct Main; struct Object; struct Scene; +struct bGPdata; +struct bGPDlayer; +struct bGPDstroke; +struct bGPDcurve; void BKE_gpencil_convert_curve(struct Main *bmain, struct Scene *scene, @@ -39,6 +43,23 @@ void BKE_gpencil_convert_curve(struct Main *bmain, const float scale_thickness, const float sample); +struct bGPDcurve *BKE_gpencil_stroke_editcurve_generate(struct bGPDstroke *gps, + const float error_threshold, + const float corner_angle, + const float stroke_radius); +void BKE_gpencil_stroke_editcurve_update(struct bGPdata *gpd, + struct bGPDlayer *gpl, + struct bGPDstroke *gps); +void BKE_gpencil_editcurve_stroke_sync_selection(struct bGPDstroke *gps, struct bGPDcurve *gpc); +void BKE_gpencil_stroke_editcurve_sync_selection(struct bGPDstroke *gps, struct bGPDcurve *gpc); +void BKE_gpencil_strokes_selected_update_editcurve(struct bGPdata *gpd); +void BKE_gpencil_strokes_selected_sync_selection_editcurve(struct bGPdata *gpd); +void BKE_gpencil_stroke_update_geometry_from_editcurve(struct bGPDstroke *gps, + const uint resolution, + const bool is_adaptive); +void BKE_gpencil_editcurve_recalculate_handles(struct bGPDstroke *gps); +void BKE_gpencil_editcurve_subdivide(struct bGPDstroke *gps, const int cuts); + #ifdef __cplusplus } #endif |