Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_gpencil.h
| Show First 20 Lines • Show All 103 Lines • ▼ Show 20 Lines | |||||
| void BKE_gpencil_stroke_sync_selection(struct bGPDstroke *gps); | void BKE_gpencil_stroke_sync_selection(struct bGPDstroke *gps); | ||||
| void BKE_gpencil_curve_sync_selection(struct bGPDstroke *gps); | void BKE_gpencil_curve_sync_selection(struct bGPDstroke *gps); | ||||
| struct bGPDframe *BKE_gpencil_frame_addnew(struct bGPDlayer *gpl, int cframe); | struct bGPDframe *BKE_gpencil_frame_addnew(struct bGPDlayer *gpl, int cframe); | ||||
| struct bGPDframe *BKE_gpencil_frame_addcopy(struct bGPDlayer *gpl, int cframe); | struct bGPDframe *BKE_gpencil_frame_addcopy(struct bGPDlayer *gpl, int cframe); | ||||
| struct bGPDlayer *BKE_gpencil_layer_addnew(struct bGPdata *gpd, const char *name, bool setactive); | struct bGPDlayer *BKE_gpencil_layer_addnew(struct bGPdata *gpd, const char *name, bool setactive); | ||||
| struct bGPdata *BKE_gpencil_data_addnew(struct Main *bmain, const char name[]); | struct bGPdata *BKE_gpencil_data_addnew(struct Main *bmain, const char name[]); | ||||
| struct bGPDframe *BKE_gpencil_frame_duplicate(const struct bGPDframe *gpf_src); | struct bGPDframe *BKE_gpencil_frame_duplicate(const struct bGPDframe *gpf_src, | ||||
| struct bGPDlayer *BKE_gpencil_layer_duplicate(const struct bGPDlayer *gpl_src); | const bool dup_strokes); | ||||
| struct bGPDlayer *BKE_gpencil_layer_duplicate(const struct bGPDlayer *gpl_src, | |||||
| const bool dup_frames, | |||||
| const bool dup_strokes); | |||||
| void BKE_gpencil_frame_copy_strokes(struct bGPDframe *gpf_src, struct bGPDframe *gpf_dst); | void BKE_gpencil_frame_copy_strokes(struct bGPDframe *gpf_src, struct bGPDframe *gpf_dst); | ||||
| struct bGPDcurve *BKE_gpencil_stroke_curve_duplicate(struct bGPDcurve *gpc_src); | struct bGPDcurve *BKE_gpencil_stroke_curve_duplicate(struct bGPDcurve *gpc_src); | ||||
| struct bGPDstroke *BKE_gpencil_stroke_duplicate(struct bGPDstroke *gps_src, | struct bGPDstroke *BKE_gpencil_stroke_duplicate(struct bGPDstroke *gps_src, | ||||
| const bool dup_points, | const bool dup_points, | ||||
| const bool dup_curve); | const bool dup_curve); | ||||
| struct bGPdata *BKE_gpencil_data_duplicate(struct Main *bmain, | struct bGPdata *BKE_gpencil_data_duplicate(struct Main *bmain, | ||||
| const struct bGPdata *gpd, | const struct bGPdata *gpd, | ||||
| ▲ Show 20 Lines • Show All 153 Lines • ▼ Show 20 Lines | |||||
| extern void (*BKE_gpencil_batch_cache_dirty_tag_cb)(struct bGPdata *gpd); | extern void (*BKE_gpencil_batch_cache_dirty_tag_cb)(struct bGPdata *gpd); | ||||
| extern void (*BKE_gpencil_batch_cache_free_cb)(struct bGPdata *gpd); | extern void (*BKE_gpencil_batch_cache_free_cb)(struct bGPdata *gpd); | ||||
| void BKE_gpencil_frame_original_pointers_update(const struct bGPDframe *gpf_orig, | void BKE_gpencil_frame_original_pointers_update(const struct bGPDframe *gpf_orig, | ||||
| const struct bGPDframe *gpf_eval); | const struct bGPDframe *gpf_eval); | ||||
| void BKE_gpencil_update_orig_pointers(const struct Object *ob_orig, const struct Object *ob_eval); | void BKE_gpencil_update_orig_pointers(const struct Object *ob_orig, const struct Object *ob_eval); | ||||
| void BKE_gpencil_parent_matrix_get(const struct Depsgraph *depsgraph, | void BKE_gpencil_layer_transform_matrix_get(const struct Depsgraph *depsgraph, | ||||
| struct Object *obact, | struct Object *obact, | ||||
| struct bGPDlayer *gpl, | struct bGPDlayer *gpl, | ||||
| float diff_mat[4][4]); | float diff_mat[4][4]); | ||||
| void BKE_gpencil_update_layer_parent(const struct Depsgraph *depsgraph, struct Object *ob); | void BKE_gpencil_update_layer_transforms(const struct Depsgraph *depsgraph, struct Object *ob); | ||||
| int BKE_gpencil_material_find_index_by_name_prefix(struct Object *ob, const char *name_prefix); | int BKE_gpencil_material_find_index_by_name_prefix(struct Object *ob, const char *name_prefix); | ||||
| void BKE_gpencil_blend_read_data(struct BlendDataReader *reader, struct bGPdata *gpd); | void BKE_gpencil_blend_read_data(struct BlendDataReader *reader, struct bGPdata *gpd); | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif | #endif | ||||